Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Google Checkout Error - Won’t capture during invoice step & XML error during shipping
 
WhoIsGregg
Member
 
Total Posts:  64
Joined:  2008-09-02
Tampa, Florida
 

Hello! I put through a test Google Checkout order using the production environment with debug turned on. The order itself went through correctly and showed up in Magento and in Google Checkout. (Carrier calculated shipping rates worked and everything!)

Here’s the problem… If I go to Sales > Orders > “View” the order > Click “Invoice” and then choose either “capture online” or “capture offline” then it throws the error “Can not save invoice.” If I select “Do not capture” then it works fine. (I assume that “capture” means “capture payment?")

If I check the google checkout integration console, it is empty. If I check ../magento/var/log/googlemessage.log and ../googleerror.log then I see the following:

googlemessage.log:

Mon Oct 27 18:10:54 UTC 2008:- <?xml version="1.0" encoding="UTF-8"?>
                  
<charge-order xmlns="http://checkout.google.com/schema/2" google-order-number="266904635306952"><amount currency="USD">30.76</amount></charge-order>

googleerror.log:

Mon Oct 27 18:10:54 UTC 2008:- HTTP/1.1 400 Bad Request
X
-PaymentsApplicationError
Transfer-Encodingchunked
Date
Mon27 Oct 2008 18:10:54 GMT
X
-Content-Type-Optionsnosniff
Expires
Mon27 Oct 2008 18:10:54 GMT
Cache
-Control: private, max-age=0
Set
-CookieS=payments_api=mFEVNIaRIfMPath=/
Content-Typetext/html
Server
GFE/1.3

<?xml version
="1.0" ?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title></title>
<
meta http-equiv="content-Type" content="application/xhtml+xml; charset=UTF-8" />

<
style type="text/css">
    
      
body{font-family:sans-serif;}
    

    
      a{color
:#0000CC;}
      
.items li{margin-bottom5px;font-size:smaller}
      ul{margin
:5px;padding-left:20px}
      li{margin
-bottom:3px}
      
.errormsg{color:#990000;margin-bottom:3px;padding:2px;}
      
.ci{padding-top:3px;}
      
.cp{color:#009900;font-weight:bold;}
      
.bo{background:#E5ECF9;margin:6px 0 6px 0;padding:3px;font-weight:normal}
      
.t{background:#E5ECF9;font-weight:bold;padding:2px;}
      
.x{margin-bottom:6px;margin-top:6px;}
      
.pin{-wap-input-format:"*N";}
      
.cc{-wap-input-format:"*N";}
      
.month{-wap-input-format:"NN";}
      
.year{-wap-input-format:"NNNN";}
      
.cvc{-wap-input-format:"*N";}
      
.issue{-wap-input-format:"*N";}
      
.optmonth{-wap-input-format:"*N";}
      
.optyear{-wap-input-format:"*N";}
      
.x input{margin-top:3px;}
      
.e{margin-bottom:3px;width:100%;}
      
.e td{background:#FFFFFF;border-bottom:1px solid #E5ECF9;padding:2px;vertical-align:top;}
      
.e td.i{padding-right:0;text-align:left;}
      
.e td.p{text-align:right;white-space:nowrap;}
      
.e td.o{padding-right:3px;text-align:right;font-weight:bold;}
      
.s{color#999}
      
.hint{color:#555;font-size:small;padding-bottom:2px;}
    

     
    

    
    #footer{display:block;font-size:smaller;margin-top:7px;padding-left:3px;}
    #logo{margin:6px 0;vertical-align:middle;}
    #logo img{border:0;vertical-align:middle;}
    #logo,.b,p,.e{font-size:smaller;}
    
.co{color:#555555;margin-top:10px;text-align:center;}

  
</style></head>
<
body><div id="logo"><img src="https://checkout.google.com/img/logo-mobile.gif" alt="Google Checkout" width="133" height="17" /></div>
<
div class="b">We were unable to process your request.

</
div>
<
div id="footer"><br />


<
a href="https://checkout.google.com/m/main?gl=US" id="a_home">Google Checkout Home</a>
<
br />



<
br />
<
a href="https://checkout.google.com/m/helpCenterTerms?type=help" id="a_help">Help &ampTerms</a>
<
br />

<
a href="http://www.google.com/m?gl=US" id="a_google_home">Google Home<br /></a>
<
div class="co">&copy;2008 Google</div></div></body></html>

If I try to “Ship” this order, I get the following error:

Warningsimplexml_load_string() [function.simplexml-load-string]Entityline 67parser error Entity 'copy' not defined in /var/www/vhosts/redacted.com/httpdocs/magento/app/code/core/Mage/GoogleCheckout/Model/Api/Xml/Order.php on line 41

And a similar error message appears in the log for the shipping attempt.

I have already fired off an email to Google Checkout support, but if anyone has run across this with their Magento install, I’d love to know what you did about it!!

And, if anyone has any ideas what to do, I’m pretty desperate.  :(

Thanks,
Gregg

 
Magento Community Magento Community
Magento Community
Magento Community
 
tbacrom
Member
 
Total Posts:  32
Joined:  2011-04-18
 

Hi,

did you ever manage to solve your issue, i am having similar problems.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top