question

popovalexander avatar image
popovalexander asked

Sandbox and Live modes

Hi, I have a few questions about modes of SDK. 1. Can I use the same SKUs for Live and Sandbox mode? 2. Which mode should I use to submit my app? Regards Alexander Popov
iap
10 |5000

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 Alexander, Thank you for your post. Here are the answers, 1. Yes, you can. In fact you should use the same SKU for live and sandbox to reduce the chance of error. You are supposed to test your IAPs in sandbox mode with the json file and sdkTester app before submission and in the json file you should define IAPs with the same data what you are giving in distribution portal for live. 2. You do not define or declare the IAP mode in the app. You implement the IAP with the classes given in IAP sdk and test it in json data. In the development build the IAP always works in sandbox. When you submit your app in the store, we test the IAPs in live. The build we generate from your submitted build for testing and putting that to live is enabled with IAP live mode. Hope I am clear.
10 |5000

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

popovalexander avatar image
popovalexander answered
Thank you very much
10 |5000

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