|« PreviousNext »|
|Did this page help you? Yes | No | Tell us about it...|
The sender uses the CBUI to authorize the payment. Upon the successful authorization, the CBUI
redirects the sender to the URL specified by 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 request to start the purchase
transaction. Other values included in the URI include a pointer to the token, called the
SenderTokenId, stored on Amazon servers that contains the payment
instructions and is used to actually make the money transfer. The URI also includes a
CallerReferenceId, which is an ID the caller (developer) uses as a key
for a table that contains transaction. The URI also includes a transaction ID, which identifies
the transaction and can be used in API requests, such as
Amazon FPS provides two ways to charge the sender's payment instrument:
Pay—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.
Reserve—Does not immediately charge the sender's credit card
Instead, the total price of the purchase is reserved against the payment instrument.
Reserve can only use a credit card payment instrument. To
complete the purchase, you must subsequently issue a
which you usually do after you have fulfilled the order.
Process for Transacting a Payment Using Pay
Obtain the list of items the sender is purchasing from your website 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.
Implement on your website 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
Parse the returned URI.
In addition to the URL specified by
The required parameters include
Both the Co-Branded service API and the Amazon FPS API use a parameter
Parse the response.
Two important values the
Upon a successful transaction, add a task to your workflow to fulfill the order.