Enable seamless purchases through your app with a simple redirect flow.
Off-App Purchases let you generate a URL that your users can use to purchase a specific offering from your web or mobile app.
When opening the Off-App Purchase URL, customers sign up and confirm their purchase with Supertab. After completion, Supertab redirects the customer back to your app.
Before generating a URL, make sure you have:
Include the following required query parameters to generate a valid purchase link:
client_id
– A live or test client ID associated with the Site you created.offering_id
– The ID of the Offering the user is purchasing.You can optionally include a metadata
parameter with custom key-value pairs. This metadata:
metadata
query parameter during the redirect back to your app.How to encode metadata:
user_id=123&nonce=456
).user_id%3D123%26nonce%3D456
).Example with metadata:
The customer is redirected to your app when they have completed the purchase flow.
Parameter | Description | Example |
---|---|---|
purchase_id | The ID of the purchase. | ”purchase.cf637646-71a4-430d-aaea-a66f1a48a83c” |
status | The purchase status.
| ”completed” |
offering_id | The ID of the selected offering, passed in the original purchase URL. | ”offering.4df706b5-297a-49c5-a4cd-2a10eca12ff9” |
metadata | The custom key-value metadata you included in the original URL. | ”user_id=123&nonce=456” |