Jump to content

Problems with currency


pdthosts

Recommended Posts

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated