Implementing the Proceed to Checkout Button
All of the web pages in the Order Pipeline are hosted by Amazon so your application plays no role in
purchasing the items or order fulfillment.Your application must, however, use the
PurchaseURL
returned
by Product Advertising API cart operations to enter the shopping cart items into the Order Pipeline. The
PurchaseURL
is often implemented as an HTML form and button labeled, for example, Proceed to
Checkout, as shown in the following figure.
PurchaseURL
All cart operations except
CartClear
return a value for
PurchaseURL
, for example:
<PurchaseURL>https://www.amazon.com/gp/cart/aws-merge.html?cart-id=002-9918938-
1696046%26associate-id=[Your ID]%26hmac=b0ogzvivVYLXjSZ9WwoBRFesFYU=%26AWSAc
cessKeyId=[Access Key ID]<PurchaseURL>
This value is a URL that should be submitted, like a request, to purchase the items in a remote shopping
cart. The value contains the Associate's Tag if it was specified in the
CartCreate
operation. The
Associate's Tag value in the
PurchaseURL
is what links the customer's purchase to the Associate. If the
PurchaseURL
is not used to buy the items in a cart, the Associate will not receive credit for the sale.
The information in bold includes:
• Cart identity (cart-id, hmac)
• Associate identity (associate-id)
• Request submitter (AWSAccessKeyId)
You can manually change any of the values in the
PurchaseURL
but that is not recommended.
API Version 2011-08-01
148
Product Advertising API Developer Guide
Implementing the Proceed to Checkout Button