Closed GoogleCodeExporter closed 9 years ago
That looks right to me. It may be an issue with google checkout not supporting
an amount less than the original charged amount.
Have you looked up the information in the documentation or posted to the forum?
Original comment by joseph.f...@gmail.com
on 3 Aug 2012 at 1:46
Issue with the API itself and not the code itself. Closing issue.
Original comment by joseph.f...@gmail.com
on 3 Aug 2012 at 1:47
It says the following in the documentation:
•Invalid Argument Errors
◦The requested charge amount is greater than the remaining chargeable amount.
(You are trying to charge the customer for more than the total order amount.)
◦The requested charge amount is zero or negative.
There is nothing mentioned regarding authorizing and then charging a LESSER
amount. If I can't charge less than or more than the authorized amount, then I
would ask why are you able to specify an amount at all in the charge & ship
command?
According to the Google Checkout support email person, the following XML was
sent to them. This seems to indicate there is a bug with the .NET GCheckout
DLL when it generates the XML. It is supposed to set the unit price to $27,
not the MERCHANT_DATA_HIDDEN field:
<items>
<item>
<item-name>My cool item</item-name>
<item-description>My item description</item-description>
<unit-price currency="USD">30.0</unit-price>
<quantity>1</quantity>
<merchant-private-item-data>
<MERCHANT_DATA_HIDDEN>27</MERCHANT_DATA_HIDDEN>
</merchant-private-item-data>
</item>
</items>
Original comment by m...@pollbuzzer.com
on 3 Aug 2012 at 3:45
Also where can I download the 2.5.0.7 .NET GCheckout DLL source? I can only
find the source for 2.5.0.5a. Thanks very much.
Cheers
Matt
Original comment by m...@pollbuzzer.com
on 3 Aug 2012 at 3:49
The source is available here
http://code.google.com/p/google-checkout-dotnet-sample-code/source/checkout
it required Hg
http://mercurial.selenic.com/
Original comment by joseph.f...@gmail.com
on 3 Aug 2012 at 3:21
Found a bug where the currency is not set
if (Amount != -1 && _currency != null) {
retVal.amount = new AutoGen.Money();
retVal.amount.currency = _currency;
retVal.amount.Value = Amount;
}
Original comment by joseph.f...@gmail.com
on 3 Aug 2012 at 5:29
This issue was closed by revision c9462f5c4fa7.
Original comment by joseph.f...@gmail.com
on 4 Aug 2012 at 4:11
Original issue reported on code.google.com by
m...@pollbuzzer.com
on 2 Aug 2012 at 6:46