My favorites | English | Sign in

More personalization in Google Friend Connect New!

Google Checkout

Interactive Code Demo of Checkout API

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...

Product:

Tax:


Shipping:


Markup:


HTML requires that you configure your account to accept unsigned shopping carts.
XML provides two more options: add digital signature and posting to your own server.
Submission:
Server:
Merchant ID:
Sandbox: Sign up for your own sandbox merchant ID. (If empty, uses a Google public sandbox store.)
Production: Sign up for your own production merchant ID (first 3 steps only).


GENERATED CODE
HTML code to add to your web page:
Note: UK merchants should replace all "USD" currencies with "GBP".

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>



Please provide feedback about this page.