Question

I am working with Amazon In-app-purchases for Android on flash using native extentions. So, I have implemented purchase flow in sandbox ( I was using their file InAppSDK-SandboxData.json for debug). But now, I have an amazon account. I have created purchase items in my developers account, and I want to test flow of buying them.

String requestId = PurchasingManager.initiatePurchaseRequest(product_id);

but it throws an exception, it try to open file "InAppSDK-SandboxData.json", but I have deleted in hope that it will go to product servers, but it does not. I found that I can only make purchases when I will commit my app to Amazon app store((

So, how can I test my real payments to product servers and how can I debug this process?? Thanks.

Was it helpful?

Solution

Right now, you can't :(

I've implemented Amazon In-app-purchases for Android in my last project and the only way you have to test is using InAppSDK-SandboxData.json. Once everything works fine then you commit the app to Amazon App Store and they'll debug for you.

My advise, if it's working fine using InAppSDK-SandboxData.json and you can't wait a month or two (I'm sorry but I can't tell you anymore because I'm still under NDA. I'll edit my response soon), you don't be afraid and commit the app. I did it ;)

UPDATE:

It's official right now, you have a test app in the developer site, you only must use it ;)

OTHER TIPS

Now you can test in-app purchasing using "LiveApp testing" before publishing to customers.

Check this link https://developer.amazon.com/public/resources/development-tools/live-app-testing/docs/getting-started

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top