Closed GoogleCodeExporter closed 9 years ago
Original comment by martin.o...@gmail.com
on 16 Jun 2007 at 9:55
Original report is here:
http://groups.google.com/group/google-checkout-api-dotnet/browse_thread/thread/3
c26142e17079bad/2d47ef0f57f4f0a3#2d47ef0f57f4f0a3
Original comment by martin.o...@gmail.com
on 16 Jun 2007 at 9:57
I was getting an HTTP 400, which is a strange error to return when there is an
error
on the server end. I would have expected an Http 500.
There were two things wrong with the message.
The first issue was the url was not well formed. Google Returned the
following message in the response.
Error parsing XML; message from parser is: Invalid value for body of
merchant-calculations-url in checkout-shopping-cart/checkout-flow-
support/merchant-checkout-flow-support/merchant-calculations: URL
contains illegal characters
Once I changed the url to something like
http://www.mycooldomain.com/callback.aspx,
the error was:
You can't mix Merchant-calculated shipping methods with other shipping
methods.
So we could say that the GCheckout code should be proactive about now
allowing people to mix shipping calculation methods.
Martin, should we add this code to now allow this to happen?
Also should we "try" to determine if the callback url is correct?
Joe
Original comment by joseph.f...@gmail.com
on 17 Jun 2007 at 3:14
Thanks for looking into this. Here are my two cents:
1. Should GCheckout.dll stop merchants from mixing shipping methods?
I think so. It would be fairly easy to add that code, and the sooner the error
is
caught, the less time developers have to spend on troubleshooting.
2. Should GCheckout.dll stop merchants from setting invalid callback URLs?
I don't think so, as we don't know exactly what the Checkout system considers a
valid
URL... and it may change.
Original comment by martin.o...@gmail.com
on 25 Jun 2007 at 10:47
Updated code to verify if shipping methods were being mixed.
Update unit tests to verify shipping methods
Revision 116
Original comment by joseph.f...@gmail.com
on 8 Jul 2007 at 2:20
Original issue reported on code.google.com by
martin.o...@gmail.com
on 16 Jun 2007 at 9:53