This method is deprecated. Specify
includeSdk: true when initializing Smile UI, and then use the Smile.pointsProducts.purchase() method from the JavaScript SDK instead.Parameters
The unique identifier of the points product to be purchased.
Returns
This method returns aPromise that:
- On success, resolves with a points purchase object.
- On failure, resolves with an error object.
Promise will be rejected.