ALERT: PayPal Direct Payment Error (10413 <!-- -->)
Hi everyone, Hope you guys can help me.
I've searched the FAQ area but it does not work for me. I am unable to checkout using PayPal Website Payments Pro. It gives me an error:
10413 Transaction refused because of an invalid argument. See additional error messages for details. - The totals of the cart item amounts do not match order amounts.
However PayPal Express Checkout works fine for me.
I am using:
Zen Cart 1.3.8.
No add-ons
Tax: nil
Can anyone help me? Please. I've tried to edit some codes into the paypaldp.php but nothing happens.
Any help is greatly appreciated. :hug:
Re: ALERT: PayPal Direct Payment Error (10413 <!-- -->)
Check the similar threads posted at the bottom of this posting
Re: ALERT: PayPal Direct Payment Error (10413 <!-- -->)
Hi kobra,
Nothing is helpful below. THanks for the help anyway.
ANyone else can help?
Re: ALERT: PayPal Direct Payment Error (10413 <!-- -->)
I just spent the last 6 hours dealing with this issue, and after 3 re-installs I finally narrowed it down. On my site, brand new install 1.38a with no new add-ons this was the problem:
Under Modules > Order Total, if the subtotal is disabled I get the error. I can disable all the others, but I have to have subtotal turned on.
Hope that helps. Mess with the other 'Order Total' options as well if that one doesn't work.
Re: ALERT: PayPal Direct Payment Error (10413 <!-- -->)
Glad you found the solution to your problem.
Subtotals are rather important information when explaining pricing details to your customers, including receipts. Why people think they should turn that off and leave their customers without important information always puzzles me.
Re: ALERT: PayPal Direct Payment Error (10413 <!-- -->)
Hi guys,
Thanks for the reply. But I am using version 1.3.8
Under my modules> Order total>, Everything is activated. Meaning all is green.
If I click on Order Sub-Total I see this on the right side:
Order Sub-Total
This module is installed
true
Sort Order
100
I still cannot get it work... anything else?
Re: ALERT: PayPal Direct Payment Error (10413 <!-- -->)
Could it also be that I set my currency to SGD (Singapore dollars) while they are sending USD to paypal instead? The thing is I've set everything to SGD..anything I missed?
Because I get this under my log:
paypaldp
optionsAll: Array
(
[ITEMAMT] => 101.00
[SHIPPINGAMT] => 0.00
[AMT] => 101.00
[L_NUMBER0] => TBBand
[L_QTY0] => 1
[L_NAME0] => Wristband
[L_AMT0] => 1.00
[L_TAXAMT0] => 0.00
[L_NUMBER1] => EW61
[L_QTY1] => 1
[L_NAME1] => Gel
[L_AMT1] => 100.00
[L_TAXAMT1] => 0.00
[STREET] => xxxxxx
[ZIP] => xxxxxx
[CITY] => xxxxxx
[STATE] =>
[COUNTRYCODE] => SG
[EXPDATE] => 102011
[EMAIL] => xxxxxx
[PHONENUM] => xxxxxx
[BUTTONSOURCE] => ZenCart-DP_us
[CURRENCY] => USD
[IPADDRESS] => xxx.xxx.0.xxx
[CARDISSUE] =>
)
optionsNVP: Array
(
[PAYMENTACTION] => Sale
)
optionsShipArray
(
[SHIPTONAME] => xxxxxx
[SHIPTOSTREET] => xxxxxx
[SHIPTOCITY] => Singapore
[SHIPTOZIP] => xxxxxx
[SHIPTOSTATE] => Singapore
[SHIPTOCOUNTRYCODE] => SG
)
Rest of data:
0.00 10 11 my name Visa
And I also noticed that under the Rest of data, it mention 0.00 when it should be 12.00. Any idea?
Re: ALERT: PayPal Direct Payment Error (10413 <!-- -->)
Rest of data:
0.00 10 11 my name Visa
SOrry it should be 101.00 instead of 0.00
Re: ALERT: PayPal Direct Payment Error (10413 <!-- -->)
Ok guys, I've played around the modules>payment>paypal website payments pro
Under Transaction Currency > select Selected Currency radio button.
Previously I selected Singapore dollars.
Now it works fine! Thanks everyone!
Re: ALERT: PayPal Direct Payment Error (10413 <!-- -->)
Quote:
Originally Posted by
DrByte
Glad you found the solution to your problem.
Subtotals are rather important information when explaining pricing details to your customers, including receipts. Why people think they should turn that off and leave their customers without important information always puzzles me.
I just had them off because on this particular site it's for services and I am charging no sales tax and no shipping, just seemed easier with only a total.