Purchase Links
Purchase links allow you to send the user over to PraiseCharts to complete the purchase and then return to where you sent them from very efficiently.
A Public Quick Buy
Purchase links are constructed with the following parameters.
sku
{SongID}-{ProductCode}
return_url
cancel_url
optional
token
optional
The user will be directed to a page that opens up the purchase state for that SKU (Product of a Song).
Passing in the userToken from the /v1.0/me route will automatically log the user into the correct account.
Example Link:
Clicking this link will take you to the purchase view, cancelling will return you right back here :)
Example Flow
- Display a Purchase Link
- User Clicks on links and makes purchase
- User returns to where they were before.
Example Video*
* this is not a real implemtation.