libgdx / gdx-pay

A libGDX cross-platform API for InApp purchasing.
Apache License 2.0
224 stars 83 forks source link

Testing purchases #140

Closed MrCharli3 closed 7 years ago

MrCharli3 commented 7 years ago

How do you test your purchases?

I am trying to test with static responses (ie no published app, using android.test.purchased). But as soon as I have bought the product once, the next time I get the error:

"startPurchaseRequest failed at getBuyIntent() for product: android.test.purchased",

followed by another error: "java.lang.IllegalArgumentException: Service not registered: com.badlogic.gdx.pay.android.googleplay.billing.V3GoogleInAppBillingService$BillingServiceInitializingServiceConnection@12c7242"

This means I can't test my logic in my checkTransaction-method. Any advice?