Google CheckOut Questions

Discussion in 'Payment Processing' started by redhits, Nov 22, 2008.

  1. #1
    Hello , i would like to know

    if it's possible to pass an extra variable to Google Checkout..

    that i can get back after the person check-out and pay.




    Hi Bidders,

    This is repost of my old project. I need the Google Checkout PHP script, through which i can send an extra veriable (passing through form --> text-box) to Google and rceive that variable after checkout.

    Here is the following Code i'm using ::
    -----------------------------------------------
    <form method="POST" action="https://checkout.google.com/api/checkout/v2/checkoutForm/Merchant/1234567890" accept-charset="utf-8">
    <input type="hidden" name="item_name_1" value="Buy product"/>
    <input type="hidden" name="item_description_1" value="online product sale"/>
    <input type="hidden" name="item_quantity_1" value="1"/>
    <input type="hidden" name="item_price_1" value="<?=$amount_to_pay?>"/>
    <input type="hidden" name="item_currency_1" value="USD"/>

    <input type="hidden" name="ship_method_name_1" value="None"/>
    <input type="hidden" name="ship_method_price_1" value="0.00"/>
    <input type="hidden" name="tax_rate" value="0.00"/>
    <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://checkout.google.com/buttons/checkout.gif?merchant_id=1234567890&w=180&h=46&style=white&variant=text&loc=en_US" height="46" width="180"/>
    </form>
    ---------------------------------------------

    Now my question is ..
    1. How to integrate return URL ?
    2. what is "_charset_" ?
    3. And how I can send extra veriable (suppose XYZ123) through this code? And also I want to receive that variable after google checkout.
    4. I need respondHandler to know the payment status.
     
    redhits, Nov 22, 2008 IP