I am making a test purchase for a monthly subscription. It happens correctly the first time and for the correct user. I am using the always accept visa card from google testers. There is exactly one renewal happening which is fine and the second time I get CANCELLATION with BILLING_ERROR on the sandbox.
Hi
I have this issue as well
Hi
RevenueCat just reports what the store says about the user’s transactions, so if Google says the subscription was cancelled, then that’s what we’ll indicate to you. Can you check the order ID for this transaction in Google Play Console > Order Management - does it list the subscription as cancelled? You can use the transaction ID you’re seeing in the RevenueCat webhooks to search for the order in the console.
Hi
Thanks for the reply.
I have checked the orders in the Play Console and they all expire after 6 renewals. No billing errors.
So what is happening that the revenueCat Console reports a billing error. None of the test subscriptions go their full term (6 renewals)
regards
Peter
Hi
Hi
Hi
We wish to publish the application next saturday, can we be sure that this will not be a problem in production?
Also, would you be able to share some recent sandbox App User IDs with this issue so I can take a closer look?
$RCAnonymousID:bf5f68d6a7b04d5a99de2651b676c244
$RCAnonymousID:4e152e7d24e04e398b76bf2c5dbdeb42
I will look at the server-to-server notifications
I set up server-to-server notifications and now the behaviour is all over the place.
Nothing shows in the sandbox console when I make a purchase.
I get an email that the order is cancelled but other emails stating that the subscription is ongoing.
My app believes the subscription is cancelled but when I go to buy it again it says it is active. I if I tap Restore Purchases I get “Nothing to restore”
Also, would you be able to share some recent sandbox App User IDs with this issue so I can take a closer look?
Hi
I set up server-to-server notifications and now the behaviour is all over the place.
Nothing shows in the sandbox console when I make a purchase.
I get an email that the order is cancelled but other emails stating that the subscription is ongoing.
My app believes the subscription is cancelled but when I go to buy it again it says it is active. I if I tap Restore Purchases I get “Nothing to restore”
I have tried to de-activate server-to-server notifications but when I press ‘Disconnect From Google’. I get the following message.
Response not successful: Received status code 400.
Please advise ASAP how I get back to where I was before activating server-to-server notifications.
hi
“this test purchase was cancelled because it was not acknowledged”. This only started occurring when I activated server-to-server notifications per your suggestion.
Please advise how I can get back to where I was.
You can confirm this by making a purchase with debug logs enabled and inspecting the log output for “Invalid credentials”.
@ryan
Thanks that was it somehow the Service Account credentials JSON became unpopulated after I tried server to server notifications.
I am also experiencing unexpected cancellations of my test subscriptions in sandbox on Google Play. I would expect the test subscriptions to auto-renew every 5 minutes, rather than being cancelled after 5 minutes, because I have setup the subscription to auto-renew, not to auto cancel.
It would be a really serious issue both to me and to my customers to have my purchases gone cancelled in production.
Hi
Unfortunately, I cannot help debugging the specifics because I don’t have all the details, but my bet is that this is happening due to not acknowledging in time (therefore triggering a cancellation). This would not happen in production, since we do acknowledge Play Store purchases server side (but not in the first 5 minutes). SDK should also acknowledge though, unless you are in observer mode. Could that be the case?
The SDK should do it automatically unless it’s set up in observer mode. If that’s not the case, I’d recommend you to reach to RevenueCat support with more information for further investigation.
No. I am not under observer mode, because I don’t pass any value to parameter observerMode of SDK setup method, which passes false to this argument by default.
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.