Jump to content

Google Checkout Integration (API)/php


lebexpress

Recommended Posts

Hello,

 

I am trying to integrate my customized shopping cart with google check out. I never done API/XML, and a part of the process requires

A Checkout API request which will send the order information from your website to Google, thereby enabling your customer to complete an order using Google Checkout. The following XML shows a simple Checkout API request:

 

<?xml version="1.0" encoding="UTF-8"?>

 

<checkout-shopping-cart xmlns="http://checkout.google.com/schema/2">

  <shopping-cart>

    <items>

      <item>

        <item-name>HelloWorld 2GB MP3 Player</item-name>

        <item-description>HelloWorld, the simple MP3 player</item-description>

        <unit-price currency="USD">159.99</unit-price>

        <quantity>1</quantity>

      </item>

    </items>

  </shopping-cart>

  <checkout-flow-support>

    <merchant-checkout-flow-support>

      <shipping-methods>

        <flat-rate-shipping name="SuperShip Ground">

          <price currency="USD">9.99</price>

        </flat-rate-shipping>

      </shipping-methods>

    </merchant-checkout-flow-support>

  </checkout-flow-support>

</checkout-shopping-cart>

 

Where should this code go? what changes do I have to make? In my customized cart I have: view_cart.php and add_cart.php . Please reply to me if you are familiar with google checkout/integration php and provide me with an email address if possible.. Thanks in advance..

 

Link to comment
https://forums.phpfreaks.com/topic/119079-google-checkout-integration-apiphp/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.