Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

android in-app billing sandbox

I'm developing a simple in-app billing library. It works with static responses from google, but now I'd like to test this lib with real in-app products.

I have created a test account and I'm trying to buy a product, but google Play is asking me for a credit card. Is there any way to test in-app billing without using a real credit card (a sandbox environment, fake credit card, etc)?

I have read here that the only way to test this is using a real credit card with a test account (so you don't have to pay google taxes) and once you have bought the product, refund it again, but it seems not to be a very 'developer-friendly' way.

Thanks.

like image 523
Acampoh Avatar asked Jun 28 '12 11:06

Acampoh


People also ask

How do I test app subscriptions on Android?

Open the Google Play app. Choose Account -> Subscriptions & Payments -> Subscriptions. Click your test subscription and change the payment method to “Test card, always declines.” After five minutes, payment should be declined.

What is Android app billing?

Google Play's billing system is a service that enables you to sell digital products and content in your Android app. You can use Google Play's billing system to sell a one-time product or subscriptions on a recurring basis.


1 Answers

Nope it absolutely SUCKS

You have to use a real credit card, then go into Google Play , select View Merchant Account and hit the individual order then refund to get your money back.

sorry!

like image 197
Blundell Avatar answered Oct 06 '22 00:10

Blundell