Export to GitHub

google-checkout-java-sdk - issue #80

Google Checkout XMl API error at calling chargeAndShipOrder()


Posted on Jul 15, 2013 by Swift Elephant

For some reason we are not able to charge payments in sandbox environment anymore. Not even manully on the administration site.

Merchant ID: 171694451729964

Google Checkout XML API is used for payment charging. At merchant account, under section „Settings/Preferences”, in Order processing „Automatically authorize the buyer's credit card for the full amount of the order.” option is set.

Therefore, we use manual charging calling the appropriate method in java code: googleCommandFacade.chargeAndShipOrder(): googleCommandFacade is an instance of OrderCommands from checkout-sdk. As a result we are getting an error back:

com.google.checkout.sdk.util.HttpUrlException: Response Code: 500 With Url: [ https://sandbox.google.com/checkout/api/checkout/v2/request/Merchant/171694451729964 ] Request: [ <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <charge-and-ship-order google-order-number="729497982957990" xmlns="http://checkout.google.com/schema/2"/&gt; ] Response: [ <?xml version="1.0" encoding="UTF-8"?> <error xmlns="http://checkout.google.com/schema/2&quot; serial-number="11b990c5-b791-4eaa-9183-be45048aa10f"> <error-message>Internal error in server</error-message> </error>

]

The current implementation has not been changed since we made our last successfull charging throughout Goolge Checkout. If manually the order is tried to charged on site https://sandbox.google.com/checkout/sell/orders we also get an error. Please, investigate on further this issue.

Status: New

Labels:
Type-Defect Priority-Medium