google-code-export / google-checkout-java-sdk

Automatically exported from code.google.com/p/google-checkout-java-sdk
1 stars 0 forks source link

Google Checkout XMl API error at calling chargeAndShipOrder() #80

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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/17169445172
9964 ]
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"/>
]
Response:             [ <?xml version="1.0" encoding="UTF-8"?>
<error xmlns="http://checkout.google.com/schema/2" 
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.

Original issue reported on code.google.com by marklipc...@gmail.com on 15 Jul 2013 at 4:03