google checkout

computer_tom

No avatar

2006-12-16 15:01

anyone know of an easy way to intergrate google checkout. if not does anyone know of a place i can see sample code for google checkout (so i can see how i will need to intergrate it) thanks- Computer_tom

stormy

No avatar

2006-12-17 00:35

<form method="POST" action="https://sandbox.google.com/cws/v2/Merchant/1234567890/checkoutForm" accept-charset="utf-8">

<input type="hidden" name="item_name_1" value="Peanut Butter"/>
<input type="hidden" name="item_description_1" value="Chunky peanut butter."/>
<input type="hidden" name="item_quantity_1" value="1"/>
<input type="hidden" name="item_price_1" value="3.99"/>

<input type="hidden" name="item_name_2" value="Grape Jelly"/>
<input type="hidden" name="item_description_2" value="16 oz. bottle of Concord grape jelly."/>
<input type="hidden" name="item_quantity_2" value="1"/>
<input type="hidden" name="item_price_2" value="4.49"/>

<input type="hidden" name="ship_method_name_1" value="UPS Air"/>
<input type="hidden" name="ship_method_price_1" value="19.99"/>
<input type="hidden" name="ship_method_us_area_1" value="CONTINENTAL_48"/>

<input type="hidden" name="ship_method_name_2" value="UPS Ground"/>
<input type="hidden" name="ship_method_price_2" value="10.99"/>
<input type="hidden" name="ship_method_us_area_2" value="FULL_50_STATES"/>

<input type="hidden" name="tax_rate" value="0.0875"/>
<input type="hidden" name="tax_us_state" value="NY"/>

<input type="hidden" name="_charset_"/>

<input type="image" name="Google Checkout" alt="Fast checkout through Google" src="http://sandbox.google.com/buttons/checkout.gif?merchant_id=1234567890&w=180&h=46&style=w hite&variant=text&loc=en_US" height="46" width="180"/>

</form>

:-)

idaryl

Avatar: idaryl

2006-12-17 05:50

Hey Stormy,

thats cool, but for idiots like me, haha - where does that code go? in what page? where?

joejoe

No avatar

2007-12-10 07:11

here is a good way to get google checkout :

http://opensolution.org/Quick.Cart/forum/?p=readTopic&nr=4652

joejoe

Back to top
about us | contact