Introduction #
Selling courses or memberships through Google Play Billing enables a seamless, compliant checkout experience for your Android users.
This guide walks you through setting up your Google payments profile, creating in-app and subscription products, and linking them to your Learndash App.
Create a Google Payments Profile #
- Log into Google Play Console.
- Go to Settings > Developer account > Payment settings.
- Click Create Payments Profile.
- Fill in:
- Business location, Account type, Address
- Primary contact and Public business info
- Business location, Account type, Address
- Click Submit.
You can now begin adding In-App Products and Subscriptions.
Create an In-App Product (One-Time Purchase) #
- Go to All Apps > select your app.
- In sidebar: Monetize > Products > In-app products.
- Click Create product.
- Enter:
- Product ID (e.g., com.animals.cats.siamese)
- Product name and Description
- Product ID (e.g., com.animals.cats.siamese)
- Under Price, click Set price, enter default price, and click Apply prices.
- Click Save, then Activate.
Create a Subscription Product #
Note: Subscriptions now support multiple base plans and offers. At least one base plan must be marked as Backwards Compatible.
- In sidebar: Monetize > Products > Subscriptions.
- Click Create subscription.
- Enter:
- Product ID (e.g., com.animals.cats.siamese)
- Name (visible to users)
- Product ID (e.g., com.animals.cats.siamese)
- Under Subscription Details:
- Add Name, Description, and Benefits
- Add Name, Description, and Benefits
- Scroll to Base Plans and Offers > click Add base plan:
- Base plan ID
- Renewal type: Auto-renewing or Prepaid
- Tags, Availability, and Pricing
- Mark one plan as Backwards Compatible
- Base plan ID
- Click Save, then Activate.
Link Products to the Learndash App #
- In WordPress > Learndash App > In-App Purchases > Products, click Add New
- Fill in:
- Name, optional Tagline, Description, and Benefits
- Check Display on Products Screen
- Select Paid as Product Type
- Name, optional Tagline, Description, and Benefits
- Under Android Store:
- Check Enable
- Click Sync with Google and select your product
- Check Enable
- Choose Integration Type (LearnDash Course or Membership).
- Click Publish.
Repeat for all products.
Test Android In-App Purchases #
Using Test App Builds #
- Install the Test App on your device.
- Log in and visit the Products Screen.
- Tap Purchase > test builds simulate real purchases at no cost.
- Verify access to your course or membership.
- In WordPress, go to Learndash App > Transactions to view or Revoke test orders.
Troubleshooting & FAQs #
Q: Price update isn’t reflected in app, what should I do?
A: Re-sync the product in WordPress and force-close the app.
Q: What to do if my test purchases don’t reset?
A: Use the Revoke button under Transactions, then restart the Test App.