The sender uses the Co-Branded service to authorize the payment. Upon the successful
authorization, the Co-Branded service redirects the sender to the URL specified in the
returnURL parameter in the Co-Branded service request. When you parse
this returned URI, you check the status parameter and
returnURL , among other values. If the status is one of the success values,
you need to send a Pay request to start the purchase transaction. A
successful Pay request immediately charges the sender's payment instrument,
such as a credit card. Pay can accept all payment instrument types, including
credit card, bank account debit, and Amazon Payments withdrawal.
Process for Transacting a Payment Using Pay
| 1 |
Obtain the list of items being purchased by the sender from your web site and derive the values required for the parameters in the Co-Branded service request. One of the parameters is Another parameter is For more information about the parameters, see Single-Use Token API. | |||
| 2 |
Implement on your web site the equivalent of a Pay Now button so that it sends the Co-Branded service request. For more information, see Sending a Co-Branded Service Request. When the sender authorizes the payment in the CBUI, the service then
redirects the sender to the URL you specified in the
| |||
| 3 |
Parse the returned URI. In addition to the URL specified by | |||
| 4 |
If the The required parameters include
| |||
| 5 |
Parse the response. Two important values the | |||
| 6 |
Upon a successful transaction, add a task to your workflow to fulfill the order. |