Handling Success


A successful Payment Request returns a JSON object containing the "purchase_id".

This is your opportunity to update your local object (purchase, order, payment or however your model is named) as "paid", and redirect your user to your next step. This could be your thank you page, continue shopping etc.

Successful Payment Request Response:
{
  "purchase_id" : "55f980b6e6db99dba9000001",
  "status" : "PROCESSING"
}
Don't forget this is happening server side, so you'll want to pass along the message if need be to your iOS client, or simply redirect your user in your web application.

Stuck on Something?

Be sure to check our FAQs, Support, or Contact Us directly.