Back to Top
Test Payment Flows Screenshot 0
Test Payment Flows Screenshot 1
Test Payment Flows Screenshot 2
Test Payment Flows Screenshot 3
Free website generator for mobile apps; privacy policy, app-ads.txt support and more... AppPage.net

About Test Payment Flows

Simple app to test and log in-app purchase flow events, built following standard billing practices for apps that do not run their own billing server (that is, relying on Play Billing on-device APIs to query products and purchases).

Currently supporting Phone, Android TV, and Wear OS.

Note: all transactions in this app are for test purposes only. No actual goods or services will be provided for the transactions. The terms used in the app (e.g. "Buy a rose") are merely for demonstration purposes and are not real.

Prices have been set to minimum needed to pass Play Console requirements to minimize cost to test using this app.
Most are USD $0.49 or equivalent due to the minimum requirement (may differ in some countries due to a different minimum requirement).

Purchase flows have been verified as of release time. It will also be constantly updated to catch up with required billing changes at our best effort. More to cross-validate if you find payments in your own app is failing for unknown reasons.

Can test in-app products as well as subscriptions (remember to cancel it after your test!). Also provides logs to indicate events during the payment flow.

Key implementation details as of this moment:

1. Make sure you handle your purchases (acknowledge, and consume if applicable) when you receive a successful response in onPurchasesUpdated in PurchasesUpdatedListener

2. Make sure you also query user's purchases (queryPurchasesAsync) on your app's onResume() calls (or equivalent if onResume() is not a proper place), examine each purchase's acknowledgement status, and acknowledge them if they haven't been successfully acknowledged.

- Also consume the consumables if it is already acknowledged but still included in the response (which means it was not successfully consumed)

3. Update the UI to reflect the new changes from billing response accordingly.

4. Be aware that watch screens may go off pretty soon, potentially delaying onPurchasesUpdated() etc due to the app not actively running or receiving events when a payment was completed. And when you wake up the screen, both onPurcahsesUpdated() and the queryPurchasesAsync() in onResume() may fire at almost the same time (so make sure to check for race conditions).

5. Be aware that purchases not acknowledged within 72 hours would automatically get refunded.

Similar Apps

CASHFLOW Assist (Game Helper)

CASHFLOW Assist (Game Helper)

4.6

(Note: This is not the game itself, but a CASHFLOW game helper)Tired...

Yoga Sequence Builder

Yoga Sequence Builder

0.0

With 100+ built-in Yoga poses to choose from, plus custom actions to...

Yoga Pose: Flash Cards

Yoga Pose: Flash Cards

0.0

Learn the Sanskrit terms for yoga poses with our fun and easy-to-use...

Test Payment Flows

Test Payment Flows

0.0

Simple app to test and log in-app purchase flow events, built following...

Just Clock - Large & Stays On

Just Clock - Large & Stays On

0.0

(If you are looking for a widget, this is Not for you)A...

Local/Remote Deep Link Sender

Local/Remote Deep Link Sender

0.0

Android developers may sometimes need to test deeplinks from another app -...

author
The log helped me to realize a bug in my own app
Bey M