Note: UK merchants should replace all "USD" currencies with "GBP".
Whether you are a merchant or developer, use this page when integrating a custom cart to choose basic product, tax and shipping variations and immediately view the resulting HTML or XML code below.
More...

|
|
You need to encode and sign the above XML code before posting it. See Sending Order Information to Google Checkout.

HTML code to add to your web page:
<form method="POST"
action="https://sandbox.google.com/checkout/api/checkout/v2/checkout/Merchant/REPLACE_WITH_YOUR_SANDBOX_MERCHANT_ID">
<input type="hidden" name="cart" value="REPLACE_WITH_ENCODED_CART">
<input type="hidden" name="signature" value="REPLACE_WITH_SIGNATURE">
<!-- Button code -->
<input type="image" name="Google Checkout"
alt="Fast checkout through Google"
src="http://sandbox.google.com/checkout/buttons/checkout.gif?merchant_id=REPLACE_WITH_YOUR_SANDBOX_MERCHANT_ID&w=180&h=46&style=white&variant=text&loc=en_US"
height="46"
width="180">
</form>