pdthosts Posted June 3, 2009 Share Posted June 3, 2009 Hi guys, I'm in need of some help. I have set my WHMCS up to use the GBP as the default and ONLY currency. When customers place orders on the site Google Checkout kicks out an error, when I go into the integration console I get this error back from Google; <?xml version="1.0" encoding="UTF-8"?> <error xmlns="http://checkout.google.com/schema/2" serial-number="819f24c7-6d98-4713-92af-dd37c5b5ec76"> <error-message>Error parsing XML; message from parser is: Invalid value for attribute currency in checkout-shopping-cart/shopping-cart/items/item/unit-price: </error-message> </error> The code WHMCS is sending is; <?xml version="1.0" encoding="UTF-8"?> <checkout-shopping-cart xmlns="http://checkout.google.com/schema/2"> <shopping-cart> <items> <item> <item-name>PDT Hosts</item-name> <item-description>Invoice #1000012</item-description> <unit-price currency="">8.00</unit-price> <quantity>1</quantity> </item> </items> <merchant-private-data>1000012</merchant-private-data> </shopping-cart> <checkout-flow-support> <merchant-checkout-flow-support> <edit-cart-url>https://www.pdthosts.com/billing/viewinvoice.php?id=1000012</edit-cart-url> <continue-shopping-url>https://www.pdthosts.com/billing/viewinvoice.php?id=1000012</continue-shopping-url> </merchant-checkout-flow-support> </checkout-flow-support> </checkout-shopping-cart> This clearly shows that no currency is going through to Google however I can see no problems with my set-up of my products, currency or payment gateways. The problem first occured when I deleted the USD currency and overwrote it with the GBP. Thank You Andrew @ PDT Hosts 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.