In-app billing app

I am developing a simple billing library in the application. It works with static answers from google, but now I would like to test this library using real products in the application.

I created a test account and I'm trying to buy a product, but Google Play asks for my credit card. Is there a way to test billing in the application without using a real credit card (sandbox environment, fake credit card, etc.)?

I read here that the only way to check this out is to use a real credit card with a test account (so you don’t have to pay Google taxes), and once you bought the product, return it again, but it doesn’t seem very "friendly to the developers "way.

Thanks.

+6
source share
3 answers

No it's absolutely succs

You need to use a real credit card, then go to Google Play, select View seller’s account and click on an individual order, and then return to return your money.

sorry!

+15
source

Today (or yesterday) Google has finally allowed testing the sandbox in app purchases, it goes through all the stages of the app purchase, except for the actual charge of a credit card. Although you may have to wait for cancellation / return, as you did before.

More here and here

Get this information from my developer console.

+3
source

... and to add to Blundell’s answer, it will take about 6 hours to refund, and you probably want to give him another 6 hours before you try to make a purchase .... or else .... Or what, what? Oh, I don’t know, something like "you already have this item" error / failure / curse of my existence

+1
source

Source: https://habr.com/ru/post/919228/


All Articles