I followed all the best practices from Google Developer Doc: https://developer.android.com/google/play/billing/billing_library_overview
I push my App in Beta test mode. All works perfectly, except at each time I do in-app (or subscription) purchase, I receive an email (purchase confirmation, OK), then 5-6 minutes later I receive another email (always from Google) to inform my purchase has been canceled...
I don't want an automatic cancel. Why this process?
Thank you very much guys!
Cancelled purchases are likely to occur if your billing address, and/or the name registered in your Google Wallet is different than the one on your credit card.
To test your Google Play Billing Library integration using test tracks, do the following: Publish your app to a test track . Note that after you publish an app to a testing track, it can take a few hours for the app to be available for testers.
Wait for the transactions to expire—Google Play clears completed test purchases 14 days after their purchase date. Cancel purchases manually—you can go to the Google payments merchant center, look up the transaction, and then cancel it. You can find transactions by looking up their order numbers.
They let authorized user accounts make purchases of your in-app products through Google Play without incurring any actual charges to the user accounts. Once authorized for testing access, those users can make purchases without being charged. Test purchases are real orders and Google Play processes them in the same way as other orders.
After an order is canceled, it can’t be reinstated. User returns a paid app: After purchasing a paid app, a user has up to 2 hours to return it for a full refund. They can only return an app once. If they purchase the same app again, they won’t be able to return it a second time. User requests a refund: Users can request a refund on Google Play.
According to Google doc, Subscription ends after 6 renewals.
See this table for more info.
You can see full details by clicking above link and go to Test Cases section and click on SHOW/HIDE button.
Check out this doc
You have to call billingClient.acknowledgePurchase()
method when you get purchase.purchaseState === Purchase.PurchaseState.PURCHASED
on onPurchasesUpdated
callback, otherwise your purchased will be automatically refunded/cancelled.
Further reference
Because you are in testing mode so Subscription will be automatically renewed after 5 minutes. If you have disabled Auto-renewal, it will not renew. From my point of view, the auto cancellation will help you testing the subscription flow so it doesn't make sense to disable it.
While making the purchase in test mode, you will see something like $12/5 minute
in the top right corner of bottom sheet
from Google Play IAP. for more information and detailed guide about IAP you can always visit the Official Docs for Google IAP.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With