简体   繁体   中英

Testing in-app purchase managed product

I'm trying to test a managed product in my application. When i want to add a managed product in developer console, it asks for price. I can't set it to 0.00. I don't want to pay for it when I want to test my application.

Is there a way to test managed products? I tried "android.test.purchased", but it is not restored with restore transaction..

The only way I found was to set the item to the minimum price and actually buy it for real.

When you have finished testing, you can refund it. If you refund within the first hour or so, it will never be charged to your card anyway.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM