Test Payment Flows icon

Test Payment Flows : AzureLan

Download Test Payment Flows APK for Android - Free - Latest Version

Latest Version

Name Test Payment Flows APK
Version Varies with device
Updated 2024-07-11
Developer AzureLan
ID com.azurelan.testyourpayments
Installs 160
Category Tools

Test Payment Flows


Github link: bit.ly/GitHub-testpayments

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.

To use it, best practice is to test this app for a payment flow that does not work on your own app. If it works in this app, compare your code with our Github code or check our logs to identify differences; if it also fails in this app, let us know - it may be a Play billing change that breaks the flow and we may have to update the app!

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.

Read more

Tools · Hot

icon

JumpJumpVPN – Super Unlimited

Free

icon

Turbo VPN - Secure VPN Proxy

Free

icon

Secure VPN-Safer Internet

Free

icon

VPN Proton: Fast & Secure VPN

Free

icon

Proxy Browser

Free

icon

Thunder VPN - Fast, Safe VPN

Free

icon

X-VPN - Private Browser VPN

Free

icon

VPN Lumos: Super Secure VPN

Free

icon

1.1.1.1 + WARP: Safer Internet

Free

icon

Google Translate

Free

icon

DuckDuckGo Browser, Search, AI

Free

icon

Google Authenticator

Free

icon

Google Lens

Free

icon

Move to iOS

Free

icon

TeraBox: Cloud Storage Space

Free

icon

Files by Google

Free

icon

NordVPN – fast VPN for privacy

Free

icon

Ai Browser - Smarter & Safer

Free

icon

Google Family Link

Free

icon

Microsoft Bing Search

Free

icon

Screen Recorder Video Recorder

Free

icon

SHAREit: Transfer, Share Files

Free

icon

Auto Clicker - Automatic tap

Free

icon

Phone by Google

Free

icon

ZArchiver

Free

icon

Google Play services

Free

icon

Family Link parental controls

Free

icon

Google Go

Free

icon

TP-Link Tether

Free

icon

GuitarTuna: Tune & Play Guitar

Free

icon

QR Code Scanner & Scanner App

Free

icon

RAR

Free

icon

Addons for Minecraft Mods

Free

icon

PDF Reader App : Read All PDF

Free

icon

Cast for Chromecast & TV Cast

Free

icon

Xender - Share Music Transfer

Free

icon

AppLock

Free

icon

Magic Wallpaper: Magic Fluid

Free

icon

Shizuku

Free

icon

Multiple Accounts: Dual Space

Free

icon

ShareMe: File sharing

Free

icon

Яндекс — с Алисой

Free

icon

تمام لوحة المفاتيح العربية

Free

icon

gov.br

Free

icon

Госуслуги

Free

icon

EasyShare

Free

icon

Carteira de Trabalho Digital

Free

icon

Carteira Digital de Trânsito

Free

icon

Galaxy Wearable

Free

icon

Voice Recorder

Free

icon

VPN - Super Unlimited Proxy

Free

icon

TickTock-TikTok Live Wallpaper

Free

icon

Calculator - Hide Photo, Video

Free

icon

Web Browser & Web Explorer

Free

icon

Receita Federal

Free