question

frank-kindle avatar image
frank-kindle asked

Trial Period

Can I create trial period in json file to AmazonSdkTester? I'd like to test this part in my stage Enviroment. Is it possible? Thanks in advance.
iap
10 |5000 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.

Sujoy@Amazon avatar image
Sujoy@Amazon answered
Hi Frank, Thank you for your post. Free trial information is not provided to the app. From the app's perspective, a subscription is either valid, or it's not. Amazon takes care of managing the free trial period, and converting the free trial to a paid subscription on the back end. This simplifies the logic in the app. So free trail is not testable in staging environment.
10 |5000 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.

frank-kindle avatar image
frank-kindle answered
Hi Sujoy, I ask this question because in my stage enviroment with sandbox app I receive the receipt, normally. Now from the Amazon store I receive two or more receipts with different token from same device. I presume that this strange is caused by trial period. When I can have this strange issue?
10 |5000 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.

Sujoy@Amazon avatar image
Sujoy@Amazon answered
Hi Frank, Are you getting more than one receipt while purchasing the subscription in sandbox? Please confirm how you are getting it.
10 |5000 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.

frank-kindle avatar image
frank-kindle answered
No in sanbox is ok. From Amazon store I receive more receipts. Why?
10 |5000 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.

Sujoy@Amazon avatar image
Sujoy@Amazon answered
Hi Frank, Thanks for the reply. We need more information to investigate your issue. Are you getting multiple receipts for same sku in onPurchaseUpdatesResponse? Or multiple callback on onPurchaseResponse for a single purchase? I would request you to raise a ContactUs with your live app details which is facing this problem? Please mention the troublesome subscription names there. Also, please mention this thread url in the ContactUs ( https://forums.developer.amazon.com/forums/thread.jspa?threadID=1072&tstart=0).
10 |5000 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.