question

droopy avatar image
droopy asked ·

Testing subscriptions (Expired and Active) IAP 2.0

1. Amazon App test – Can you please provide us more details how subscription restore works? Especially do we need to additionally validate if the subscription is active or only active subscriptions are returned?

2. Live testing – Can we exact expire subscriptions faster than actual period of time (i.e. for monthly subscriptions). Now we need to wait 30 days to test how expired subscriptions are reported to our app.

iaptestingapplive app testingpurchasing
1 comment
10 |2000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Hi droopy,

I've asked the IAP development team to provide more information on these questions.

0 Likes 0 ·

1 Answer

Ross@Amazon avatar image
Ross@Amazon answered ·

1) You will receipt a receiptId relating to the subscription when you call getPurchaseUpdates(). You can use that receipt to call RVS to check for the subscription status.

2) We do not currently provide a way to expire subscriptions faster in LAT. However, you can test expired subscriptions locally by using Apptester and RVSSandbox by setting the receipt in your RVSSandbox environment as cancelled.

10 |2000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.