Google Checkout for UK based store - How to change currency
Posted: Fri Jul 18, 2008 6:04 am
Hi,
I'm tying to integrate the google checkout into a UK based store. The store currency is set to GBP and no other currencies exist in the admin area (I deleted the USD). My google sandbox merchant account is also in GBP. However when I try to use the checkout I get an error :-
# Google Checkout Failed.
# Google Checkout Response.IsGood = False
# Google Checkout Error Message = The currency used in the cart must match the currency of the seller account. You supplied a cart with USD and the seller account is associated with GBP.
The xml being sent to google is :-
<?xml version="1.0" encoding="utf-8"?>
<checkout-shopping-cart xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://checkout.google.com/schema/2">
<shopping-cart>
<merchant-private-data>
<BasketId xmlns="">4</BasketId>
<BasketContentHash xmlns="">6E6D8226EF6CBE75E7A848288E95DB27</BasketContentHash>
</merchant-private-data>
<cart-expiration>
<good-until-date>2008-07-18T11:23:32.9353868Z</good-until-date>
</cart-expiration>
<items>
<item>
<item-name>Test Product - Not for Sale</item-name>
<item-description />
<unit-price currency="USD">24.9900</unit-price>
<quantity>1</quantity>
<merchant-private-item-data>
<basketItemId xmlns="">4</basketItemId>
<productId xmlns="">43</productId>
<orderItemType xmlns="">Product</orderItemType>
<shippable xmlns="">Yes</shippable>
<taxCodeId xmlns="">0</taxCodeId>
<weight xmlns="">0</weight>
<wrapStyleId xmlns="">0</wrapStyleId>
<optionList xmlns="">
</optionList>
<giftMessage xmlns="">
</giftMessage>
<lineMessage xmlns="">
</lineMessage>
<lastModifiedDate xmlns="">7/18/2008 10:53:29 AM</lastModifiedDate>
<orderBy xmlns="">2</orderBy>
<parentItemId xmlns="">11</parentItemId>
<sku xmlns="">
</sku>
<wishlistItemId xmlns="">0</wishlistItemId>
</merchant-private-item-data>
</item>
</items>
</shopping-cart>
<checkout-flow-support>
<merchant-checkout-flow-support>
<edit-cart-url>http://www.********.com/Basket.aspx</edit-cart-url>
<continue-shopping-url>http://www.********.com/Default.aspx</continue-shopping-url>
<tax-tables merchant-calculated="true">
<default-tax-table>
<tax-rules>
<default-tax-rule>
<shipping-taxed>false</shipping-taxed>
<rate>0</rate>
<tax-area>
<us-zip-area>
<zip-pattern>99999</zip-pattern>
</us-zip-area>
</tax-area>
</default-tax-rule>
</tax-rules>
</default-tax-table>
</tax-tables>
<shipping-methods>
<merchant-calculated-shipping name="Standard Postage">
<price currency="USD">4.9500</price>
</merchant-calculated-shipping>
</shipping-methods>
<merchant-calculations>
<merchant-calculations-url>http://www.********.com/Checkout/Google/MerchantCalc.ashx</merchant-calculations-url>
</merchant-calculations>
<request-buyer-phone-number>true</request-buyer-phone-number>
</merchant-checkout-flow-support>
</checkout-flow-support>
Can anyone tell me where the setting/parameter is that I need to change to process the transaction in GBP?
Thanks
Ian
I'm tying to integrate the google checkout into a UK based store. The store currency is set to GBP and no other currencies exist in the admin area (I deleted the USD). My google sandbox merchant account is also in GBP. However when I try to use the checkout I get an error :-
# Google Checkout Failed.
# Google Checkout Response.IsGood = False
# Google Checkout Error Message = The currency used in the cart must match the currency of the seller account. You supplied a cart with USD and the seller account is associated with GBP.
The xml being sent to google is :-
<?xml version="1.0" encoding="utf-8"?>
<checkout-shopping-cart xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://checkout.google.com/schema/2">
<shopping-cart>
<merchant-private-data>
<BasketId xmlns="">4</BasketId>
<BasketContentHash xmlns="">6E6D8226EF6CBE75E7A848288E95DB27</BasketContentHash>
</merchant-private-data>
<cart-expiration>
<good-until-date>2008-07-18T11:23:32.9353868Z</good-until-date>
</cart-expiration>
<items>
<item>
<item-name>Test Product - Not for Sale</item-name>
<item-description />
<unit-price currency="USD">24.9900</unit-price>
<quantity>1</quantity>
<merchant-private-item-data>
<basketItemId xmlns="">4</basketItemId>
<productId xmlns="">43</productId>
<orderItemType xmlns="">Product</orderItemType>
<shippable xmlns="">Yes</shippable>
<taxCodeId xmlns="">0</taxCodeId>
<weight xmlns="">0</weight>
<wrapStyleId xmlns="">0</wrapStyleId>
<optionList xmlns="">
</optionList>
<giftMessage xmlns="">
</giftMessage>
<lineMessage xmlns="">
</lineMessage>
<lastModifiedDate xmlns="">7/18/2008 10:53:29 AM</lastModifiedDate>
<orderBy xmlns="">2</orderBy>
<parentItemId xmlns="">11</parentItemId>
<sku xmlns="">
</sku>
<wishlistItemId xmlns="">0</wishlistItemId>
</merchant-private-item-data>
</item>
</items>
</shopping-cart>
<checkout-flow-support>
<merchant-checkout-flow-support>
<edit-cart-url>http://www.********.com/Basket.aspx</edit-cart-url>
<continue-shopping-url>http://www.********.com/Default.aspx</continue-shopping-url>
<tax-tables merchant-calculated="true">
<default-tax-table>
<tax-rules>
<default-tax-rule>
<shipping-taxed>false</shipping-taxed>
<rate>0</rate>
<tax-area>
<us-zip-area>
<zip-pattern>99999</zip-pattern>
</us-zip-area>
</tax-area>
</default-tax-rule>
</tax-rules>
</default-tax-table>
</tax-tables>
<shipping-methods>
<merchant-calculated-shipping name="Standard Postage">
<price currency="USD">4.9500</price>
</merchant-calculated-shipping>
</shipping-methods>
<merchant-calculations>
<merchant-calculations-url>http://www.********.com/Checkout/Google/MerchantCalc.ashx</merchant-calculations-url>
</merchant-calculations>
<request-buyer-phone-number>true</request-buyer-phone-number>
</merchant-checkout-flow-support>
</checkout-flow-support>
Can anyone tell me where the setting/parameter is that I need to change to process the transaction in GBP?
Thanks
Ian