Results 1 to 5 of 5
  1. #1
    Join Date
    Sep 2008
    Posts
    12
    Plugin Contributions
    0

    Default PayPal error 10413 Random

    Iv searched alot but it seems there are no real "fix" for this?

    Anyway heres the 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.

    On some orders it work. On others it wont work at all. So it seems its based on items?

    I really need to fix this asap. Could you tell me what info you need to know?

  2. #2
    Join Date
    Sep 2008
    Posts
    12
    Plugin Contributions
    0

    Default Re: PayPal error 10413 Random

    Heres a checkout via paypal that didnt work vs another one that did work.

    2008-09-16 11:20:12
    -------------------
    (live transaction) --> https://api-3t.paypal.com/nvp
    Request Headers:
    Array
    (
    [0] => Content-Type: text/namevalue
    [1] => X-VPS-Timeout: 45
    [2] => X-VPS-VIT-Client-Type: PHP/cURL
    [3] => X-VPS-VIT-Integration-Product: PHP::Zen Cart - WPP-NVP
    [4] => X-VPS-VIT-Integration-Version: 1.3.8a
    )


    Request Parameters: {DoExpressCheckoutPayment}
    Array
    (
    [ITEMAMT] => 31.00
    [HANDLINGAMT] => 6.20
    [SHIPPINGAMT] => 17.00
    [TAXAMT] => 6.20
    [AMT] => 48.00
    [SHIPTONAME] => Randi XXXX
    [SHIPTOSTREET] => XXXXX 14
    [SHIPTOCITY] => XXXXX
    [SHIPTOSTATE] => Telemark
    [SHIPTOZIP] => XXXX
    [SHIPTOCOUNTRYCODE] => NO
    [BUTTONSOURCE] => ZenCart-EC_us
    [TOKEN] => EC-XXX8XX45XXXXXXX
    [PAYERID] => XXXXXMXXXXXX
    [PAYMENTACTION] => Sale
    [NOTIFYURL] => http://www.iphoneutstyr.no/ipn_main_handler.php
    [METHOD] => DoExpressCheckoutPayment
    [CURRENCYCODE] => NOK
    [USER] => XXXXXXXXXXX
    [PWD] => ****************
    [VERSION] => 3.2
    [SIGNATURE] => ****************************************************wBOP
    )


    Response:
    Array
    (
    [TIMESTAMP] => 2008-09-16T21:20:16Z
    [CORRELATIONID] => 64XXXXXXXXX
    [ACK] => Failure
    [VERSION] => 3.2
    [BUILD] => 690663
    [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
    [CURL_ERRORS] =>
    Keys for submission: Array
    (
    [charset] => iso-8859-1
    [lc] => NO
    [page_style] => Primary
    [custom] => zenid=XXXXXXXXXXXXXXXXXXX
    [business] => XXXXXXXXXXX
    [return] =>
    http://www.XXXXXXXXXXX.no/index.php?...referer=paypal
    [cancel_return] =>
    http://www.XXXXXXXXXXX.no/index.php?...eckout_payment
    [shopping_url] =>
    http://www.XXXXXXXXXXXX.no/index.php...=shopping_cart
    [notify_url] => http://www.XXXXXXXXXX.no/ipn_main_handler.php
    [redirect_cmd] => _xclick
    [rm] => 2
    [bn] => zencart
    [mrb] => R-6Cxxx52XXXXXXXXXX
    [pal] => 9E8XXXXXXXXXX
    [first_name] => XXXXXXXXX
    [last_name] => XXXXXXXX
    [address1] => XXXXXXX
    [city] => xxxxxxxxxx
    [state] => 0
    [zip] => XXXXXXXX
    [country] => NO
    [email] => XXXXXXXX##########################
    [H_PhoneNumber] => XXXXXXXXX
    [night_phone_b] => XXXXXXXXX
    [day_phone_b] => XXXXXXXXX
    [no_shipping] => 1
    [upload] => 1
    [currency_code] => NOK
    [cmd] => _ext-enter
    [item_name] => XXXXXXXXX.no Kjøp
    [item_number] => Butikkvittering
    [amount] => 48
    [shipping] => 0.00
    [tax] => 0.00
    [tax_cart] => 0.00
    Help please

  3. #3
    Join Date
    Sep 2008
    Posts
    12
    Plugin Contributions
    0

    Default Re: PayPal error 10413 Random

    [ITEMAMT] => 89.00
    [HANDLINGAMT] => 17.80
    [SHIPPINGAMT] => 13.00
    [TAXAMT] => 17.80
    [AMT] => 102.00
    [SHIPTONAME] => Test User
    [SHIPTOSTREET] => 1 Main St
    [SHIPTOCITY] => San Jose
    [SHIPTOSTATE] => CA
    [SHIPTOZIP] => 95131
    [SHIPTOCOUNTRYCODE] => US
    [BUTTONSOURCE] => ZenCart-EC_us
    [CURRENCY] => NOK

    Heres the error?

    If anyone need a zip file with the logs i have em ready.

  4. #4
    Join Date
    Sep 2008
    Posts
    12
    Plugin Contributions
    0

    Default Re: PayPal error 10413 Random

    Okay i think iv narrowed it down. This is what i do to not get the error:

    Basis of Product Tax Shipping
    Basis of Shipping Tax Shipping

    Add item to cart with a account with US shipping address.
    And it works. But it does not add TAX. witch is what i need.

    Now to the not working one, That im trying so hard to get to work.

    Basis of Product Tax Shipping
    Basis of Shipping Tax Shipping

    Add item to cart with a account with address to norway.
    And it ads TAX. But i get the 10413 message. This is all i sandbox but i guess that should not matter?

    So anyone wanna help? : )

  5. #5
    Join Date
    Jan 2008
    Location
    Southern California Coast
    Posts
    183
    Plugin Contributions
    0

    Default Re: PayPal error 10413 Random

    Same problem here mate. I been barking up this tree a while and from what I can tell, main issue is the communication between Zen-Cart and PayPal. PayPal doesn't understand how Zen-Cart handles transactions and the information so how Zen-Cart reaches it's total doesn't make sense to PayPal and therefore rejects it.

    I heard some people fixed it by changing Basis of Product Tax to Store and Basis of Shipping Tax to Store, but that didn't work for me. Even if it did, California State Tax Law requires that I charge and display tax for California consumers and not charge tax to any consumers from anywhere else in the world.

    I hope someone finds a resolute fix.

    - Jason

 

 

Similar Threads

  1. v1371 paypal error 10413
    By hellogxp in forum PayPal Express Checkout support
    Replies: 4
    Last Post: 17 Jan 2013, 05:17 AM
  2. v139h Coupon + Tax + paypal = error 10413
    By gothstone in forum PayPal Website Payments Pro support
    Replies: 3
    Last Post: 16 Jan 2013, 03:15 PM
  3. PayPal 10413 error
    By jurjenruben in forum PayPal Express Checkout support
    Replies: 91
    Last Post: 27 Sep 2011, 05:57 PM
  4. 10413 error on paypal
    By Zubey in forum PayPal Express Checkout support
    Replies: 21
    Last Post: 6 Jan 2009, 01:30 AM
  5. paypal error 10413 on expensive orders
    By mortema in forum PayPal Express Checkout support
    Replies: 8
    Last Post: 18 Oct 2008, 11:40 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg