Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Express Checkout - Bug Error 10413 Cart Totals... #584

Closed
angelleye opened this issue Oct 31, 2016 · 2 comments
Closed

Express Checkout - Bug Error 10413 Cart Totals... #584

angelleye opened this issue Oct 31, 2016 · 2 comments
Assignees
Milestone

Comments

@angelleye
Copy link
Collaborator

angelleye commented Oct 31, 2016

[L_PAYMENTREQUEST_0_AMT0] => 56.77
[L_PAYMENTREQUEST_0_NUMBER0] => 100009
[L_PAYMENTREQUEST_0_QTY0] => 4
[L_PAYMENTREQUEST_0_NAME1] => Cart Discount
[L_PAYMENTREQUEST_0_AMT1] => -9.09
[L_PAYMENTREQUEST_0_NUMBER1] => betterwithbutter
[L_PAYMENTREQUEST_0_QTY1] => 1
[PAYMENTREQUEST_0_ITEMAMT] => 218

Should be 217.99 according to the math.
This is a cart coupon of $10 round amount.
Shop uses GST (like VAT) of 10% hence the difference in amounts.

10-30-2016 @ 10:19:56 - Request: Array
(
    [USER] => *****
    [PWD] => *****
    [VERSION] => 124.0
    [BUTTONSOURCE] => AngellEYE_SP_WooCommerce
    [SIGNATURE] => *****
    [METHOD] => SetExpressCheckout
    [RETURNURL] => https://bunionbootie.com/wcheckout/review-order/?utm_nooverride=1
    [pp_action] => revieworder
    [CANCELURL] => https://bunionbootie.com/shop/
    [ALLOWNOTE] => 1
    [ADDROVERRIDE] => 1
    [LOCALECODE] => en_US
    [EMAIL] => stanped@msn.com
    [BRANDNAME] => Bunion Bootie
    [CUSTOMERSERVICENUMBER] => 877-208-4540
    [SOLUTIONTYPE] => Sole
    [LANDINGPAGE] => Login
    [PAYMENTREQUEST_0_AMT] => 49.22
    [PAYMENTREQUEST_0_CURRENCYCODE] => USD
    [PAYMENTREQUEST_0_SHIPTONAME] => William Wenner
    [PAYMENTREQUEST_0_SHIPTOSTREET] => 160 Elm Ave.
    [PAYMENTREQUEST_0_SHIPTOCITY] => Hershey
    [PAYMENTREQUEST_0_SHIPTOSTATE] => PA
    [PAYMENTREQUEST_0_SHIPTOZIP] => 17033
    [PAYMENTREQUEST_0_SHIPTOCOUNTRYCODE] => US
    [PAYMENTREQUEST_0_SHIPTOPHONENUM] => 5304003998
    [PAYMENTREQUEST_0_PAYMENTACTION] => Sale
    [L_PAYMENTREQUEST_0_NAME0] => Bunion Bootie - Size: Large
Foot: Left

    [L_PAYMENTREQUEST_0_AMT0] => 33.96
    [L_PAYMENTREQUEST_0_NUMBER0] => BBNTHLL
    [L_PAYMENTREQUEST_0_QTY0] => 2
    [L_PAYMENTREQUEST_0_NAME1] => Cart Discount
    [L_PAYMENTREQUEST_0_AMT1] => -10.00
    [L_PAYMENTREQUEST_0_NUMBER1] => auto-buy2
    [L_PAYMENTREQUEST_0_QTY1] => 1
    [L_PAYMENTREQUEST_0_NAME2] => Cart Discount
    [L_PAYMENTREQUEST_0_AMT2] => -8.69
    [L_PAYMENTREQUEST_0_NUMBER2] => viptreat
    [L_PAYMENTREQUEST_0_QTY2] => 1
    [PAYMENTREQUEST_0_ITEMAMT] => 49.22
)

10-30-2016 @ 10:19:56 - Response: Array
(
    [TIMESTAMP] => 2016-10-30T17:19:56Z
    [CORRELATIONID] => cc7f805b1fdc1
    [ACK] => Failure
    [VERSION] => 124.0
    [BUILD] => 26593028
    [L_ERRORCODE0] => 10413
    [L_SHORTMESSAGE0] => Transaction refused because of an invalid argument. See additional error messages for details.
    [L_LONGMESSAGE0] => The totals of the cart item amounts do not match order amounts.
    [L_SEVERITYCODE0] => Error
)
@angelleye angelleye added this to the 1.2.5 milestone Oct 31, 2016
@angelleye
Copy link
Collaborator Author

Another case where we're coming up a penny off for some reason.

@angelleye angelleye modified the milestones: 1.2.5, 1.3.0 Nov 2, 2016
@kcppdevelopers kcppdevelopers modified the milestones: 1.4.0, 1.3.0 Dec 10, 2016
@angelleye
Copy link
Collaborator Author

Here's another good example with some nice feedback...

https://wordpress.org/support/topic/the-totals-of-the-cart-item-amounts-do-not-match-order-amounts-2/

@kcppdevelopers kcppdevelopers self-assigned this Mar 14, 2017
angelleye pushed a commit that referenced this issue Apr 28, 2017
@angelleye angelleye removed the wontfix label Apr 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant