10427-Shipping total is invalid.
-
So yesterday this started to happen to people checking out with their credit card via PPpro. The amounts are passed correctly if one checks out with Paypal, you land on the PP page with proper amounts. If you enter your CC info, the cart complains with 10427-Shipping total is invalid. For some reason the three decimal in shipping calculation is not being rounded off resulting in PP refusing the call. Not sure where to go from here… This is a big deal right now, we have a bunch of orders failing and people p*** off because of it. Any assistance appreciated.
This is the order’s message in WC.
PayPal Pro payment failed (Correlation ID: whatever). Payment was rejected due to an error: (10427) “10427-Shipping total is invalid.”04-25-2015 @ 11:40:34 – Processing order #2954
04-25-2015 @ 11:40:34 – Do payment request Array
(
[DPFields] => Array
(
[paymentaction] => Sale
[ipaddress] => xx.xx.xxxx.xx
[returnfmfdetails] =>
)[CCDetails] => Array
(
[creditcardtype] => Visa
[acct] => ****
[expdate] => 062018
[cvv2] => ****
[startdate] =>
[issuenumber] =>
)[PayerInfo] => Array
(
[email] => [email protected]
[firstname] => Test1
[lastname] => Test2
)[BillingAddress] => Array
(
[street] => Street
[street2] =>
[city] => City
[state] => QC
[countrycode] => CA
[zip] => J0L 1N0
[phonenum] => xxx-xxx-xxxx
)[ShippingAddress] => Array
(
[shiptoname] => Test1 Test2
[shiptostreet] => Street
[shiptostreet2] =>
[shiptocity] => City
[shiptostate] => QC
[shiptozip] => J0L 1N0
[shiptocountry] => CA
[shiptophonenum] =>
)[PaymentDetails] => Array
(
[amt] => 152.77
[currencycode] => CAD
[insuranceamt] =>
[shipdiscamt] =>
[handlingamt] =>
[desc] =>
[custom] =>
[invnum] => 2954
[notifyurl] =>
[recurring] =>
[taxamt] => 19.9
[shippingamt] => 13.871
[itemamt] => 119.00
)[OrderItems] => Array
(
[0] => Array
(
[l_name] => xxxx
[l_desc] =>
[l_amt] => 119.00
[l_number] => x-x-x
[l_qty] => 1
[l_taxamt] =>
[l_ebayitemnumber] =>
[l_ebayitemauctiontxnid] =>
[l_ebayitemorderid] =>
))
[Secure3D] => Array
(
))
04-25-2015 @ 11:40:35 – Request: Array
(
[USER] => *****
[PWD] => *****
[VERSION] => 112.0
[BUTTONSOURCE] => AngellEYE_SP_WooCommerce
[SIGNATURE] => *****
[METHOD] => DoDirectPayment
[PAYMENTACTION] => Sale
[IPADDRESS] => xxxx.xxx.xxx.xx
[CREDITCARDTYPE] => Visa
[ACCT] => xxxxxxxx
[EXPDATE] => xxx
[CVV2] => xxx
[EMAIL] => [email protected]
[FIRSTNAME] => Test1
[LASTNAME] => Test2
[STREET] => Street
[CITY] => City
[STATE] => QC
[COUNTRYCODE] => CA
[ZIP] => J0L 1N0
[PHONENUM] => 514-xxx-xxxxx
[AMT] => 152.77
[CURRENCYCODE] => CAD
[INVNUM] => 2954
[TAXAMT] => 19.9
[SHIPPINGAMT] => 13.871
[ITEMAMT] => 119.00
[L_NAME0] => Caleo
[L_AMT0] => 119.00
[L_NUMBER0] => xxx-xxx-240-02
[L_QTY0] => 1
[SHIPTONAME] => Test1 Test2
[SHIPTOSTREET] => Street
[SHIPTOCITY] => City
[SHIPTOSTATE] => QC
[SHIPTOZIP] => J0L 1N0
[SHIPTOCOUNTRY] => CA
)04-25-2015 @ 11:40:35 – Response: Array
(
[TIMESTAMP] => 2015-04-25T15:47:56Z
[CORRELATIONID] => xxxxxxxx
[ACK] => Failure
[VERSION] => 112.0
[BUILD] => 16204765
[L_ERRORCODE0] => 10427
[L_ERRORCODE1] => 10413
[L_SHORTMESSAGE0] => Transaction refused because of an invalid argument. See additional error messages for details.
[L_SHORTMESSAGE1] => Transaction refused because of an invalid argument. See additional error messages for details.
[L_LONGMESSAGE0] => Shipping total is invalid.
[L_LONGMESSAGE1] => The totals of the cart item amounts do not match order amounts.
[L_SEVERITYCODE0] => Error
[L_SEVERITYCODE1] => Error
[AMT] => 138.90
[CURRENCYCODE] => CAD
)04-25-2015 @ 11:40:35 – Error Array
(
[0] => Array
(
[L_ERRORCODE] => 10427
[L_SHORTMESSAGE] => Transaction refused because of an invalid argument. See additional error messages for details.
[L_LONGMESSAGE] => Shipping total is invalid.
[L_SEVERITYCODE] => Error
)[1] => Array
(
[L_ERRORCODE] => 10413
[L_SHORTMESSAGE] => Transaction refused because of an invalid argument. See additional error messages for details.
[L_LONGMESSAGE] => The totals of the cart item amounts do not match order amounts.
[L_SEVERITYCODE] => Error
))
https://www.ads-software.com/plugins/paypal-for-woocommerce/
- The topic ‘10427-Shipping total is invalid.’ is closed to new replies.