question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

We’ve detected that your package ... is not always acknowledging in-app purchases or subscriptions. Starting with Billing Library 2.0, all purchases must be acknowledged within 3 days or they will be automatically refunded.

See original GitHub issue

Version of react-native-iap

"react-native-iap": "^4.5.2",

Version of react-native

react-native: 0.61.2

Platforms you faced the error (IOS or Android or both?)

Android

Tested environment (Emulator? Real Device?)

  • real device

Steps to reproduce the behavior


In componentDidMount() {

 this.purchaseUpdateSubscription = purchaseUpdatedListener(async purchase => {
      this.billingPlugin.validateSubscription(purchase, success => {
        if (Platform.OS == 'android') {
          try {
            finishTransaction(purchase).then(e => {

according to documentation finishTransaction

This method works for both platforms and is recommended since version 4.1.0 or later. Equal to finishTransactionIOS + consumePurchaseAndroid and acknowledgePurchaseAndroid.

in response of finishTransaction i get this: Screenshot 2020-08-17 at 13 01 11

After last update on google play we received this alert:

We’ve detected that your package com.craft … is not always acknowledging in-app purchases or subscriptions. Starting with Billing Library 2.0, all purchases must be acknowledged within 3 days or they will be automatically refunded.

But i call finish transaction that contains acknowledge … So is this a bug in library or i am doing somethink wrong ? Please help )

Screenshot 2020-08-17 at 12 34 26

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
cristea2017commented, Aug 17, 2020

Ok thanks for help #_# : Solution :

i called finishTransaction(purchase) above this one this.billingPlugin.validateSubscription(purchase, success => {

References : https://developer.android.com/google/play/billing/test#testing-subscriptions

0reactions
Hasham24commented, Jul 19, 2022

@mathews-p sure you can approach me here so I can help you out, https://www.linkedin.com/in/ahmad-hasham-6a70a5104/

Read more comments on GitHub >

github_iconTop Results From Across the Web

We've detected that your app is not acknowledging all in-app ...
Starting with Billing Library 2.0, all purchases must be acknowledged within three days or they will be automatically refunded.
Read more >
Google Play Billing Library 2.0 Acknowledge Purchase Time ...
Instead of three days, purchases are refunded and revoked if they are not ... the 3 day purchase acknowledgement limit will be reduced...
Read more >
Integrate the Google Play Billing Library into your app
Note: If you do not acknowledge a purchase within three days, the user automatically receives a refund, and Google Play revokes the purchase....
Read more >
How do I acknowledge an android subscription or purchase?
You can acknowledge a purchase by using one of the following ... it comes to Google Play, users are automatically refunded after 3...
Read more >
Problems with in-app purchases - Google Play Help
Contact the developer for support. Request a refund. If you're trying to make an in-app purchase but the transaction is declined or the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found