I am hoping we can get some guidance on how to test billing errors in the sandbox. Specifically, we are never seeing
As an example, we subscribe using a license tester on Android in our React Native app. The subscription goes through successfully, and afterwards, we set our payment source to “always decline” through Google Play. Because it’s a monthly subscription, we wait 5 min, and when the renewal charge is made, we get an email from Google saying the subscription was suspended because of a billing issue. However, there is no change on the customerInfo object when I call
Fast forward another 5 min, and the subscription is cancelled. This time, if I call
getPurchaserInfo(), I immediately see the purchase is no longer active. However, there is still no value for billingIssueDetectedAt, and the expirationDate has not changed either.
I guess my questions are:
- should the above have generated a billingIssueDetected at value?
- I know the docs mention a lag w/regard to web hooks and billing/expiration, but does this also apply to a real-time customerInfo object returned from getPurchaserInfo()?
- Is there a better way to test billing?
Thanks in advance ...