| « PreviousNext » | |
![]() ![]() | Did this page help you? Yes | No | Tell us about it... |
This button may be use to set terms for either the Marketplace button or the Marketplace-enabled donation button. The input parameters are a mix of required parameters, as listed in the following table.
|
Parameter |
Description |
Required |
|---|---|---|
accessKey | Your access key from your account security credentials | Yes |
callerReference | Optionally, a value to uniquely identifies this transaction | No |
|
|
Set to |
No |
maxFixedFee | If you assess a fixed charge per transaction, set maxFixedFee to that value. You may have a value
in both this parameter and maxVariableFee, and you must have a value for at
least one of them. | No |
maxVariableFee | If you assess a percentage charge per transaction, set maxVariableFee to that value. You may have a
value in both this parameter and maxFixedFee, and you must have a value for at
least one of them. | No |
| The kind of token you are creating. For Amazon Simple Pay, this value is always | Yes |
|
|
Set this value to | Yes |
|
|
Optionally enter the URL where buyers should be redirected after they complete the transaction |
No |
signature | A value calculated using the form parameters. | Yes |
signatureMethod | The signing algorithm, either HmacSHA1 or
HmacSHA256. | Yes |
signatureVersion | A value that specifies the signature format. Currently, the only valid value is 2. | Yes |
For information on using the Amazon Simple Pay to create buttons, see Understanding the Amazon Simple Pay Button Samples.
Example HTML for a marketplace fee button, signed using the signature version 2 method.
<form
action="https://authorize.payments.amazon.com/cobranded-ui/actions/start"
method="get">
<input
type="hidden" name="signature"
value="8UVrm+bK/O8I92e6RKlWKg76els=" >
<input
type="hidden" name="accessKey"
value="AKIAIOSFODNN7EXAMPLE" >
<input
type="hidden" name="callerReference"
value="983fab72-6695-4b53-a69f-5bf5fb47c25e" >
<input
type="hidden" name="collectEmailAddress"
value="true" >
<input
type="hidden" name="maxFixedFee"
value="0.2" >
<input
type="hidden" name="maxVariableFee"
value="4.00" >
<input
type="hidden" name="pipelineName"
value="Recipient" >
<input
type="hidden" name="recipientPaysFee"
value="true" >
<input
type="hidden" name="returnURL"
value="http://yourwebsite.com/returnurl" >
<input
type="hidden" name="signatureVersion"
value="2" >
<input type="hidden" name="signatureMethod"
value="HmacSHA256" >
<input type="image"
src=
"http://g-ecx.images-amazon.com/images/G/01/asp/MarketPlaceFeeWithLogo.gif"
border="0">
</form>