9. Test a purchase and check results
Test the complete offering, payment, and entitlement activation path
The goal is not merely to see a success screen. You must confirm that an authoritative payment exists and that the expected entitlement belongs to the same customer.
Test path
- Run the app with a stable test customer identifier.
- Fetch the offering and inspect the returned offering and package identifiers.
- Present the published paywall or your custom purchase UI.
- Purchase one test product.
- After the store or gateway returns, verify the result through the SDK or your trusted server, not only through the success UI.
- In the dashboard, inspect the customer payment and entitlement separately.
Record the test customer, selected product and package, final payment state, entitlement and expiry, and any SDK, store, or gateway error.
After the successful path, test cancellation, network failure, retry, duplicate attempts, and purchase restoration.
Completion check
- The valid payment appears in the dashboard.
- The expected entitlement is active for the same customer.
- Relaunching the app still resolves the correct access state.