Question

I'm implementing in-app purchasing in my application. When i test that im keep getting "Purchase canceled Your payment could not be processed" issue all the times. Im using test account for testing purpose and dummy credit card number for purchasing the in-app billing. I added my test account in my market profile. How to test in-app with sandbox number. please help me.

NOTE: Would like to implement Auto Renewal for my application. Came to know that its not possible in android. Do we have any other way to implement auto renewal in in-app? is it possible to use 3rd party payment gateway for inapp? will android block my account if i implement 3rd party payment gateway?

Please help me

Was it helpful?

Solution

you are not able to test in app purchase with a dummy credit card number. You have to buy the item for real. Afterward, you can refund the full amount. The only way to simulate a purchase is to use "android.test.purchased" item id.

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