WebToAppMaker

Monetization

Google In-App Purchase

Sell Android digital products through Google Play Billing and verify purchases on a trusted backend.

Before you start

  • A Google Play app with a signed build uploaded to a testing track
  • Active products or subscriptions
  • Licensed test accounts
  • Backend Play purchase verification

Configure and verify

  1. Enable the module

    Turn on Google In-App Purchase and build a signed AAB with a higher version code.

  2. Upload to Play testing

    Publish the AAB to internal or closed testing. Real billing normally requires an install from Google Play.

  3. Create products

    In Play Console, create one-time products or subscriptions with stable Product IDs.

  4. Start purchases from the website

    Use webtoapp.googleIap with product_id and product_type.

  5. Verify and fulfill

    Send the returned purchase token to your backend, verify it with Google Play, acknowledge or consume it, and only then grant entitlement.

  6. Test lifecycle

    Test success, cancellation, already owned, pending, network loss, subscription renewal, refund, and restore behavior.

Product types

Consumable
Credits or items bought repeatedly
Non-consumable
One-time durable entitlement
Subscription
Recurring entitlement until cancelled

Sideloading limit

Test before release

  • AAB is in a test track
  • Products are active
  • Test account is licensed
  • Backend verifies tokens
  • Acknowledgement or consumption is implemented