Which file generates the XML my cart posts to google?

0 views
Skip to first unread message

jordan

unread,
Dec 18, 2008, 8:07:06 PM12/18/08
to Google Checkout Mod for Zen Cart Community Support Forum
Hi,
Google Checkout API support determined that it's the merchant-
calculations code in my cart that seems to be causing issues for non-
US buyers (grayed-out final order confirmation button on the google
side). They think a temporary workaround would be for me to remove the
merchant-calculations code from my shopping cart XML... but how the
hell do I do that?

Here's a sample shopping cart's XML from my site:

<?xml version="1.0" encoding="UTF-8"?><checkout-shopping-cart
xmlns="http://checkout.google.com/schema/2">
<shopping-cart>
<items>
<item>
<item-weight unit="LB" value="0.0"/>
<digital-content>
<description>Bahá&amp;#39;í Public Speaking (Handouts)
[Download:PDF Document (Zipped)] &lt;br&gt;Allow 2-5 minutes to get
all
the transaction processed.</description>

<url>https://<<< censored =-) >>>/index.php?
main_page=checkout_success</url>
</digital-content>
<item-name>Bahá&amp;#39;í Public Speaking (Handouts)</item-
name>
<item-description>[Download:PDF Document (Zipped)]
</item-description>
<quantity>1</quantity>
<unit-price currency="USD">3.0</unit-price>

// etc.........

<checkout-flow-support>
<merchant-checkout-flow-support>
<merchant-calculations> // <------------------
delete from here
<calculation-mode>SINGLE</calculation-mode>
<accept-merchant-coupons>true</accept-merchant-coupons>

<merchant-calculations-url>https://<<< censored =-) >>>/googlecheckout/
responsehandler.php</merchant-calculations-url>
<calculation-transport>XML</calculation-transport>
<gift-certificate-support>

<gift-certificate-pin-accepted>false</gift-certificate-pin-accepted>
<gift-certificate-accepted>false</gift-certificate-accepted>
</gift-certificate-support>
<accept-gift-certificates>false</accept-gift-certificates>
</merchant-calculations> //
<------------------to here
<tax-tables merchant-calculated="false">
<default-tax-table>
<tax-rules>
<default-tax-rule>
<shipping-taxed>false</shipping-taxed>
<rate>0.0</rate>
<tax-area>
<world-area/>
</tax-area>
</default-tax-rule>
</tax-rules>
</default-tax-table>
<alternate-tax-tables/>
</tax-tables>

// etc.........

The part they want me to remove is everything between <merchant-
calculations> and </merchant-calculations> including the tags
themselves.

Thanks,
Jordan

wood...@gmail.com

unread,
Dec 18, 2008, 8:59:03 PM12/18/08
to google-checkout-for-...@googlegroups.com
Jordan,

Just for testing, disable coupon support in Zen Cart and see if that
affects anything.

Woody

jordan wrote:
> Hi,
> Google Checkout API support determined that it's the merchant-
> calculations code in my cart that seems to be causing issues for non-
> US buyers (grayed-out final order confirmation button on the google
> side). They think a temporary workaround would be for me to remove the
> merchant-calculations code from my shopping cart XML... but how the
> hell do I do that?
>
> Here's a sample shopping cart's XML from my site:

> // <------------------
> delete from here
> <calculation-mode>SINGLE</calculation-mode>
> <accept-merchant-coupons>true</accept-merchant-coupons>
>
> <merchant-calculations-url>https://<<< censored =-) >>>/googlecheckout/
> responsehandler.php</merchant-calculations-url>
> <calculation-transport>XML</calculation-transport>
> <gift-certificate-support>
>
> <gift-certificate-pin-accepted>false</gift-certificate-pin-accepted>
> <gift-certificate-accepted>false</gift-certificate-accepted>
> </gift-certificate-support>
> <accept-gift-certificates>false</accept-gift-certificates>
> </merchant-calculations> //
> <------------------to here
>

Reply all
Reply to author
Forward
0 new messages