Results 1 to 10 of 92

Hybrid View

  1. #1
    Join Date
    Dec 2007
    Posts
    85
    Plugin Contributions
    0

    Default Re: PayPal 10413 error

    Hi guys,

    I'm still getting the error,and I'd really appreciate help.

    I'm using flat rate shipping.
    No coupons/gift certificates/custom discount used.
    No special products in the cart.
    Problem returns on demand.

    These are the different log files, which are generated.
    A thing I noticed:
    Some lines say:
    [ITEMAMT] => 0.06
    [HANDLINGAMT] => -0.01
    [SHIPPINGAMT] => 0.1
    [TAXAMT] => 0.01
    [AMT] => 0.16

    Others say:
    [ITEMAMT] => 0.06
    [HANDLINGAMT] => 0.01
    [SHIPPINGAMT] => 0.10
    [TAXAMT] => 0.01
    [AMT] => 0.16

    So the minus (-) is missing. Could that be the conflict?

    Thanks in advance!!

    Code:
    Jan-21-2008 11:39:50
    ec_step1 - 1
    Checking to see if we are in markflow
    cart contents: physical
    
    NOTE: $this->showPaymentPage = 1
    Customer ID: 0
    Session Data: Array
    (
        [securityToken] => f6c604fa0b21d80a649461a028061029
        [customers_host_address] => xxxxxxx-a.mill1.nb.home.nl
        [cartID] => 
        [cart] => shoppingCart Object
            (
                [contents] => Array
                    (
                        [198] => Array
                            (
                                [qty] => 1
                            )
    
                    )
    
                [total] => 0.06
                [weight] => 0
                [cartID] => 68189
                [content_type] => physical
                [free_shipping_item] => 0
                [free_shipping_weight] => 0
                [free_shipping_price] => 0
                [observers] => Array
                    (
                    )
    
            )
    
        [navigation] => navigationHistory Object
            (
                [path] => Array
                    (
                        [0] => Array
                            (
                                [page] => index
                                [mode] => NONSSL
                                [get] => Array
                                    (
                                        [type] => ec
                                    )
    
                                [post] => Array
                                    (
                                    )
    
                            )
    
                    )
    
                [snapshot] => Array
                    (
                        [page] => checkout_shipping
                        [mode] => NONSSL
                        [get] => Array
                            (
                            )
    
                        [post] => Array
                            (
                            )
    
                    )
    
                [observers] => Array
                    (
                    )
    
            )
    
        [check_valid] => true
        [language] => dutch
        [languages_id] => 2
        [languages_code] => nl
        [currency] => EUR
        [today_is] => 2008-01-21
        [updateExpirations] => 1
        [session_counter] => 1
        [customers_ip_address] => xx.xx.xxx.xx
        [new_products_id_in_cart] => 198
        [valid_to_checkout] => 1
        [cart_errors] => 
        [payment] => paypalwpp
        [cot_gv] => 0
    )
    
    =================================
    
    Jan-21-2008 11:39:50
    ec-step1-addr_check
    cart contents is not all virtual or customer is not logged in ... therefore will be submitting address details
    =================================
    
    Jan-21-2008 11:39:50
    getOverrideAddress - 4
    not logged in and not in markflow mode - nothing to override
    =================================
    
    Jan-21-2008 11:39:50
    ec-step1-addr_check3
    address details from override check:
    =================================
    
    Jan-21-2008 11:39:50
    ec_step1 - 2 -submit
    Array
    (
        [AMT] => 0.05
        [RETURNURL] => http://www.charrou.com/store/ipn_main_handler.php?type=ec
        [CANCELURL] => http://www.charrou.com/store/index.php?main_page=login&ec_cancel=1
        [CURRENCY] => EUR
        [PAYMENTACTION] => Sale
        [SOLUTIONTYPE] => SOLE
    )
    
    =================================
    Code:
    Jan-21-2008 11:40:37
    termEC-1
    Killed the session vars as requested
    =================================
    
    Jan-21-2008 11:40:37
    termEC-2
    BEFORE: $this->showPaymentPage = 1
    Token Data:
    =================================
    
    Jan-21-2008 11:40:37
    termEC-3
    AFTER: $this->showPaymentPage = 1
    =================================
    
    Jan-21-2008 11:40:37
    termEC-4
    We ARE logged in, and $this->showPaymentPage === true
    =================================
    
    Jan-21-2008 11:40:37
    termEC-6
    We DO have a shipping method selected, so goto PAYMENT
    =================================
    
    Jan-21-2008 11:40:37
    termEC-10
    Redirecting to checkout_payment - Stack: checkout_payment
    Message: 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. 
    Session Data: Array
    (
        [securityToken] => f6c604fa0b21d80a649461a028061029
        [customers_host_address] => xxxxx.mill1.nb.home.nl
        [cartID] => 
        [cart] => shoppingCart Object
            (
                [contents] => Array
                    (
                        [198] => Array
                            (
                                [qty] => 1
                            )
    
                    )
    
                [total] => 0.06
                [weight] => 0
                [cartID] => 
                [content_type] => physical
                [free_shipping_item] => 0
                [free_shipping_weight] => 0
                [free_shipping_price] => 0
                [observers] => Array
                    (
                    )
    
            )
    
        [navigation] => navigationHistory Object
            (
                [path] => Array
                    (
                        [0] => Array
                            (
                                [page] => index
                                [mode] => NONSSL
                                [get] => Array
                                    (
                                        [type] => ec
                                        [token] => EC-99N08730M20920136
                                        [PayerID] => REWZX55B4ETX8
                                    )
    
                                [post] => Array
                                    (
                                    )
    
                            )
    
                        [1] => Array
                            (
                                [page] => checkout_payment
                                [mode] => NONSSL
                                [get] => 
                                [post] => Array
                                    (
                                    )
    
                            )
    
                        [2] => Array
                            (
                                [page] => checkout_confirmation
                                [mode] => NONSSL
                                [get] => 
                                [post] => Array
                                    (
                                    )
    
                            )
    
                        [3] => Array
                            (
                                [page] => checkout_process
                                [mode] => NONSSL
                                [get] => 
                                [post] => Array
                                    (
                                    )
    
                            )
    
                    )
    
                [snapshot] => Array
                    (
                        [page] => checkout_shipping
                        [mode] => NONSSL
                        [get] => Array
                            (
                            )
    
                        [post] => Array
                            (
                            )
    
                    )
    
                [observers] => Array
                    (
                    )
    
            )
    
        [check_valid] => true
        [language] => dutch
        [languages_id] => 2
        [languages_code] => nl
        [currency] => EUR
        [today_is] => 2008-01-21
        [updateExpirations] => 1
        [session_counter] => 1
        [customers_ip_address] => xx.xx.xxx.94
        [new_products_id_in_cart] => 198
        [valid_to_checkout] => 1
        [cart_errors] => 
        [payment] => paypalwpp
        [cot_gv] => 0
        [customer_id] => 2
        [customer_default_address_id] => 2
        [customer_first_name] => Jurjen
        [customer_country_id] => 150
        [customer_zone_id] => 0
        [sendto] => 2
        [billto] => 2
        [shipping] => Array
            (
                [id] => flat_flat
                [title] => Verzendkosten (Verzendkosten)
                [cost] => 0.1
                [module] => flat
            )
    
        [comments] => 
        [messageToStack] => Array
            (
                [0] => Array
                    (
                        [class] => checkout_payment
                        [text] => 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. 
                        [type] => error
                    )
    
            )
    
    )
    
    =================================
    Last edited by jurjenruben; 22 Jan 2008 at 12:16 AM.

  2. #2
    Join Date
    Dec 2007
    Posts
    85
    Plugin Contributions
    0

    Default Re: PayPal 10413 error

    Code:
    Jan-21-2008 11:40:36
    getLineItemDetails 1
    Order Subtotal does not match sum of line-item prices. Line-item-details skipped.
    0.06 0.05
    =================================
    
    Jan-21-2008 11:40:36
    getLineItemDetails 3
    LineItemDetails: 
    Details:Array
    (
        [ITEMAMT] => 0.06
        [HANDLINGAMT] => -0.01
        [SHIPPINGAMT] => 0.1
        [TAXAMT] => 0.01
        [AMT] => 0.16
    )
    
    
    DEFAULT_CURRENCY = EUR
    SESSION['currency'] = EUR
    order->info['currency'] = EUR
    $currencies->currencies[$_SESSION['currency']]['value'] = 1.00000000
    currencies Object
    (
        [currencies] => Array
            (
                [USD] => Array
                    (
                        [title] => US Dollar
                        [symbol_left] => $
                        [symbol_right] => 
                        [decimal_point] => .
                        [thousands_point] => ,
                        [decimal_places] => 2
                        [value] => 1.00000000
                    )
    
                [EUR] => Array
                    (
                        [title] => Euro
                        [symbol_left] => €
                        [symbol_right] => 
                        [decimal_point] => .
                        [thousands_point] => ,
                        [decimal_places] => 2
                        [value] => 1.00000000
                    )
    
                [GBP] => Array
                    (
                        [title] => GB Pound
                        [symbol_left] => £
                        [symbol_right] => 
                        [decimal_point] => .
                        [thousands_point] => ,
                        [decimal_places] => 2
                        [value] => 0.50300002
                    )
    
                [CAD] => Array
                    (
                        [title] => Canadian Dollar
                        [symbol_left] => $
                        [symbol_right] => 
                        [decimal_point] => .
                        [thousands_point] => ,
                        [decimal_places] => 2
                        [value] => 1.10590005
                    )
    
                [AUD] => Array
                    (
                        [title] => Australian Dollar
                        [symbol_left] => $
                        [symbol_right] => 
                        [decimal_point] => .
                        [thousands_point] => ,
                        [decimal_places] => 2
                        [value] => 1.24070001
                    )
    
            )
    
        [observers] => Array
            (
            )
    
    )
    
    =================================
    
    Jan-21-2008 11:40:36
    getLineItemDetails 7
    checking subtotals... 
    itemamt: 0.06
    taxamt: 0.01
    shippingamt: 0.10
    handlingamt: 0.01
    -------------------
    subtotal: 0.16
    AMT: 0.16
    -------------------
    difference: 0  (abs+rounded: 0)
    =================================
    
    Jan-21-2008 11:40:36
    getLineItemDetails 8
    subtotals balance - okay
    =================================
    
    Jan-21-2008 11:40:36
    before_process - EC-1
    Beginning EC mode
    =================================
    
    Jan-21-2008 11:40:36
    before_process - EC-2
    address overrides added:
    Array
    (
        [ITEMAMT] => 0.06
        [HANDLINGAMT] => 0.01
        [SHIPPINGAMT] => 0.10
        [TAXAMT] => 0.01
        [AMT] => 0.16
        [SHIPTONAME] => Jurjen Ruben
        [SHIPTOSTREET] => jacox xxx 8
        [SHIPTOSTREET2] => 
        [SHIPTOCITY] => Nijmegen
        [SHIPTOSTATE] => Nijmegen
        [SHIPTOZIP] => 6521 HP
        [SHIPTOCOUNTRYCODE] => NL
    )
    
    =================================
    
    Jan-21-2008 11:40:36
    before_process - EC-3
    address info added:
    Array
    (
        [ITEMAMT] => 0.06
        [HANDLINGAMT] => 0.01
        [SHIPPINGAMT] => 0.10
        [TAXAMT] => 0.01
        [AMT] => 0.16
        [SHIPTONAME] => Jurjen Ruben
        [SHIPTOSTREET] => jacox xxx 8
        [SHIPTOSTREET2] => 
        [SHIPTOCITY] => Nijmegen
        [SHIPTOSTATE] => Nijmegen
        [SHIPTOZIP] => 65xx xx
        [SHIPTOCOUNTRYCODE] => NL
    )
    
    =================================
    
    Jan-21-2008 11:40:36
    getOverrideAddress - 1
    Now in markflow mode.
    SESSION[sendto] = 2
    =================================
    
    Jan-21-2008 11:40:36
    getOverrideAddress - 2
    $address_arr->fields = Array
    (
        [entry_firstname] => Jurjen
        [entry_lastname] => Ruben
        [entry_street_address] => jacox xxx 8
        [entry_suburb] => 
        [entry_city] => Nijmegen
        [entry_postcode] => 65xx xx
        [entry_country_id] => 150
        [entry_zone_id] => 0
        [entry_state] => Gelderland
        [zone_code] => Gelderland
        [countries_iso_code_2] => NL
    )
    
    =================================
    
    Jan-21-2008 11:40:36
    before_process - EC-4
    info being submitted:
    EC-99N08730M20920136 REWZX55B4ETX8 0.16
    Array
    (
        [ITEMAMT] => 0.06
        [HANDLINGAMT] => 0.01
        [SHIPPINGAMT] => 0.10
        [TAXAMT] => 0.01
        [AMT] => 0.16
        [SHIPTONAME] => Jurjen Ruben
        [SHIPTOSTREET] => jacox xxx 8
        [SHIPTOCITY] => Nijmegen
        [SHIPTOSTATE] => Gelderland
        [SHIPTOZIP] => 65xx xx
        [SHIPTOCOUNTRYCODE] => NL
        [ADDROVERRIDE] => 1
        [BUTTONSOURCE] => ZenCart-EC_us
        [CURRENCY] => EUR
    )
    
    =================================
    
    Jan-21-2008 11:40:37
    before_process - EC-5
    resultset:
    Array
    (
        [TIMESTAMP] => 2008-01-21T22:40:44Z
        [CORRELATIONID] => 13c9e58db669b
        [ACK] => Failure
        [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
        [VERSION] => 3.200000
        [BUILD] => 1.0006
        [CURL_ERRORS] => 
    )
    
    =================================
    Code:
    Jan-21-2008 11:40:23
    PayPal test Log - ec_step2 $_REQUEST data
    In function: ec_step2()
    Data in $_REQUEST = 
    Array
    (
        [type] => ec
        [token] => EC-99N08730M20920136
        [PayerID] => REWZX55B4ETX8
        [zenid] => b011b5e58d89fb4ed82ed99f62f28c91
    )
    
    =================================
    
    Jan-21-2008 11:40:25
    ec_step2_finish - 1
    START: paypal_ec_payer_info= Array
    (
        [payer_id] => REWZX55B4ETX8
        [payer_email] => jurjenruben##########################
        [payer_salutation] => 
        [payer_gender] => 
        [payer_firstname] => Jurjen
        [payer_lastname] => Ruben
        [payer_business] => 
        [payer_status] => verified
        [ship_country_code] => NL
        [ship_address_status] => Unconfirmed
        [ship_phone] => 
        [ship_name] => Jurjen Ruben
        [ship_street_1] => jacox xxx 8
        [ship_street_2] => 
        [ship_city] => Nijmegen
        [ship_state] => Nijmegen
        [ship_postal_code] => 65xx xx
        [ship_country_name] => Netherlands
    )
    
    =================================
    
    Jan-21-2008 11:40:25
    ec_step2_finish - 2
    country_id = 150 Netherlands NL
    address_format_id = 1
    state_id = 0 (original state tested: Nijmegen)
    country1->fields['countries_id'] = 150
    country2->fields['countries_id'] = 150
    $order = stdClass Object
    (
        [customer] => Array
            (
                [name] => Jurjen Ruben
                [company] => 
                [street_address] => jacox xxx 8
                [suburb] => 
                [city] => Nijmegen
                [postcode] => 65xx xx
                [state] => Nijmegen
                [country] => Array
                    (
                        [id] => 150
                        [title] => Netherlands
                        [iso_code_2] => NL
                        [iso_code_3] => NLD
                    )
    
                [format_id] => 1
                [email_address] => [email protected]
                [telephone] => 
                [zone_id] => 0
            )
    
        [billing] => Array
            (
                [name] => Jurjen Ruben
                [company] => 
                [street_address] => jacox xxx 8
                [suburb] => 
                [city] => Nijmegen
                [postcode] => 65xx xx
                [state] => Nijmegen
                [country] => Array
                    (
                        [id] => 150
                        [title] => Netherlands
                        [iso_code_2] => NL
                        [iso_code_3] => NLD
                    )
    
                [format_id] => 1
                [zone_id] => 0
            )
    
        [delivery] => Array
            (
                [name] => Jurjen Ruben
                [company] => 
                [street_address] => jacox xxx 8
                [suburb] => 
                [city] => Nijmegen
                [postcode] => 65xx xx
                [state] => Nijmegen
                [country] => Array
                    (
                        [id] => 150
                        [title] => Netherlands
                        [iso_code_2] => NL
                        [iso_code_3] => NLD
                    )
    
                [country_id] => 150
                [format_id] => 1
                [zone_id] => 0
            )
    
    )
    
    =================================
    
    Jan-21-2008 11:40:25
    ec_step2_finish - 4
    Not logged in. Looking for account.
    SELECT customers_id, customers_firstname, customers_lastname, customers_paypal_payerid, customers_paypal_ec
                  FROM customers
                  WHERE customers_email_address = '[email protected]' 
    queryFactoryResult Object
    (
        [is_cached] => 
        [resource] => Resource id #154
        [cursor] => 0
        [EOF] => 
        [fields] => Array
            (
                [customers_id] => 2
                [customers_firstname] => Jurjen
                [customers_lastname] => Ruben
                [customers_paypal_payerid] => 
                [customers_paypal_ec] => 0
            )
    
    )
    
    =================================
    
    Jan-21-2008 11:40:25
    ec_step2_finish - 7
    Auto-Logged customer in. ([email protected]) (2)
    $_SESSION[paypal_ec_temp]=
    =================================
    
    Jan-21-2008 11:40:25
    findMatchingAddressBookEntry - 1-stats
    country:queryFactoryResult Object
    (
        [is_cached] => 
        [resource] => Resource id #162
        [cursor] => 0
        [EOF] => 
        [fields] => Array
            (
                [countries_id] => 150
                [address_format_id] => 1
            )
    
    )
    
    country_zone_check:queryFactoryResult Object
    (
        [is_cached] => 
        [resource] => Resource id #163
        [cursor] => 0
        [EOF] => 1
    )
    
    zone_check:check_zone: 0
    zone:
    =================================
    
    Jan-21-2008 11:40:25
    findMatchingAddressBookEntry - 2-read for match
    
    SQL was:SELECT address_book_id, entry_street_address, entry_suburb
                    FROM address_book
                    WHERE customers_id = 2
                    AND entry_country_id = 150
    RecordCount = 1
    =================================
    
    Jan-21-2008 11:40:25
    findMatchingAddressBookEntry - 3a
    From PayPal:
    jacoxxxx8
    
    From DB:
    jacobcanisstraat8
    queryFactoryResult Object
    (
        [is_cached] => 
        [resource] => Resource id #165
        [cursor] => 0
        [EOF] => 
        [fields] => Array
            (
                [address_book_id] => 2
                [entry_street_address] => Jacox xxx 8
                [entry_suburb] => 
            )
    
    )
    
    =================================
    
    Jan-21-2008 11:40:25
    findMatchingAddressBookEntry - 3b
    Exact match:
    Array
    (
        [address_book_id] => 2
        [entry_street_address] => Jacox xxx 8
        [entry_suburb] => 
    )
    
    =================================
    
    Jan-21-2008 11:40:25
    ec_step2_finish - 8
    Exiting via terminateEC (from originally-not-logged-in mode).
    Selected address: 2
    Original was: 
    prepared data: Array
    (
        [name] => Jurjen Ruben
        [company] => 
        [street_address] => Jacox xxx 8
        [suburb] => 
        [city] => Nijmegen
        [postcode] => 65xx xx
        [state] => Nijmegen
        [country] => Array
            (
                [id] => 150
                [title] => Netherlands
                [iso_code_2] => NL
                [iso_code_3] => NLD
            )
    
        [country_id] => 150
        [format_id] => 1
        [zone_id] => 0
    )
    
    =================================
    
    Jan-21-2008 11:40:25
    termEC-2
    BEFORE: $this->showPaymentPage = 1
    Token Data:EC-99N08730M20920136
    =================================
    
    Jan-21-2008 11:40:25
    termEC-3
    AFTER: $this->showPaymentPage = 1
    =================================
    
    Jan-21-2008 11:40:25
    termEC-4
    We ARE logged in, and $this->showPaymentPage === true
    =================================
    
    Jan-21-2008 11:40:25
    termEC-6
    We DO have a shipping method selected, so goto PAYMENT
    =================================
    
    Jan-21-2008 11:40:25
    termEC-10
    Redirecting to checkout_payment - Stack: checkout_payment
    Message: 
    Session Data: Array
    (
        [securityToken] => f6c604fa0b21d80a649461a028061029
        [customers_host_address] => xxxxxxx-a.mill1.nb.home.nl
        [cartID] => 
        [cart] => shoppingCart Object
            (
                [contents] => Array
                    (
                        [198] => Array
                            (
                                [qty] => 1
                            )
    
                    )
    
                [total] => 0.06
                [weight] => 0
                [content_type] => 
                [free_shipping_item] => 0
                [free_shipping_weight] => 0
                [free_shipping_price] => 0
                [observers] => Array
                    (
                    )
    
            )
    
        [navigation] => navigationHistory Object
            (
                [path] => Array
                    (
                        [0] => Array
                            (
                                [page] => index
                                [mode] => NONSSL
                                [get] => Array
                                    (
                                        [type] => ec
                                        [token] => EC-99N08730M20920136
                                        [PayerID] => REWZX55B4ETX8
                                    )
    
                                [post] => Array
                                    (
                                    )
    
                            )
    
                    )
    
                [snapshot] => Array
                    (
                        [page] => checkout_shipping
                        [mode] => NONSSL
                        [get] => Array
                            (
                            )
    
                        [post] => Array
                            (
                            )
    
                    )
    
                [observers] => Array
                    (
                    )
    
            )
    
        [check_valid] => true
        [language] => dutch
        [languages_id] => 2
        [languages_code] => nl
        [currency] => EUR
        [today_is] => 2008-01-21
        [updateExpirations] => 1
        [session_counter] => 1
        [customers_ip_address] => xx.xx.xx.xx
        [new_products_id_in_cart] => 198
        [valid_to_checkout] => 1
        [cart_errors] => 
        [payment] => paypalwpp
        [cot_gv] => 0
        [paypal_ec_token] => EC-99N08730M20920136
        [paypal_ec_payer_id] => REWZX55B4ETX8
        [paypal_ec_payer_info] => Array
            (
                [payer_id] => REWZX55B4ETX8
                [payer_email] => [email protected]
                [payer_salutation] => 
                [payer_gender] => 
                [payer_firstname] => Jurjen
                [payer_lastname] => Ruben
                [payer_business] => 
                [payer_status] => verified
                [ship_country_code] => NL
                [ship_address_status] => Unconfirmed
                [ship_phone] => 
                [ship_name] => Jurjen Ruben
                [ship_street_1] => jacox xxx 8
                [ship_street_2] => 
                [ship_city] => Nijmegen
                [ship_state] => Nijmegen
                [ship_postal_code] => 652xx xx
                [ship_country_name] => Netherlands
            )
    
        [paypal_ec_temp] => 
        [customer_id] => 2
        [customer_default_address_id] => 2
        [customer_first_name] => Jurjen
        [customer_country_id] => 150
        [customer_zone_id] => 0
        [sendto] => 2
        [billto] => 2
        [shipping] => Array
            (
                [id] => flat_flat
                [title] => Verzendkosten (Verzendkosten)
                [cost] => 0.1
                [module] => flat
            )
    
    )
    
    =================================
    Code:
    2008-01-21 11:39:51
    -------------------
    (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: {SetExpressCheckout} 
    Array
    (
        [PAYMENTACTION] => Sale
        [AMT] => 0.05
        [RETURNURL] => http://www.charrou.com/store/ipn_main_handler.php?type=ec
        [CANCELURL] => http://www.charrou.com/store/index.php?main_page=login&ec_cancel=1
        [PAGESTYLE] => Charrou
        [METHOD] => SetExpressCheckout
        [CURRENCYCODE] => EUR
        [USER] => xxx.xxx.com
        [PWD] => ****************
        [VERSION] => 3.2
        [SIGNATURE] => ****************************************************l8Q8
    )
    
    
    Response: 
    Array
    (
        [TIMESTAMP] => 2008-01-21T22:39:59Z
        [CORRELATIONID] => 5e3813aaedf09
        [ACK] => Success
        [VERSION] => 3.200000
        [BUILD] => 1.0006
        [TOKEN] => EC-99N08730M20920136
        [CURL_ERRORS] => 
    )
    
    
    SetExpressCheckout, Elapsed: 1673ms -- Success
    2008-01-21 11:40:37
    -------------------
    (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] => 0.06
    [HANDLINGAMT] => 0.01 [should this be -0.01??]
    [SHIPPINGAMT] => 0.10
    [TAXAMT] => 0.01
    [AMT] => 0.16
    [SHIPTONAME] => Jurjen Ruben
    [SHIPTOSTREET] => Jacox xxx 8
    [SHIPTOCITY] => Nijmegen
    [SHIPTOSTATE] => Gelderland
    [SHIPTOZIP] => 65xx xx
    [SHIPTOCOUNTRYCODE] => NL
    [ADDROVERRIDE] => 1
    [BUTTONSOURCE] => ZenCart-EC_us
    [TOKEN] => EC-99N08730M20920136
    [PAYERID] => REWZX55B4ETX8
    [PAYMENTACTION] => Sale
    [NOTIFYURL] => http://www.charrou.com/store/ipn_main_handler.php
    [METHOD] => DoExpressCheckoutPayment
    [CURRENCYCODE] => EUR
    [USER] => xxx.xxx.com
    [PWD] => ****************
    [VERSION] => 3.2
    [SIGNATURE] => ****************************************************l8Q8
    )


    Response:
    Array
    (
    [TIMESTAMP] => 2008-01-21T22:40:44Z
    [CORRELATIONID] => 13c9e58db669b
    [ACK] => Failure
    [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
    [VERSION] => 3.200000
    [BUILD] => 1.0006
    [CURL_ERRORS] =>
    )


    DoExpressCheckoutPayment, Elapsed: 1258ms -- Failure

    TIMESTAMP=2008%2d01%2d21T22%3a40%3a44Z&CORRELATIONID=13c9e58db669b&ACK=Failure&L _ERRORCODE0=10413&L_SHORTMESSAGE0=Transaction%20refused%20because%20of%20an%20in valid%20argument%2e%20%20See%20additional%20error%20messages%20for%20details%2e& L_LONGMESSAGE0=The%20totals%20of%20the%20cart%20item%20amounts%20do%20not%20matc h%20order%20amounts%2e&L_SEVERITYCODE0=Error&VERSION=3%2e200000&BUILD=1%2e0006&C URL_ERRORS=
    [/CODE]

    Code:
    2008-01-21 11:40:25
    -------------------
    (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: {GetExpressCheckoutDetails} 
    Array
    (
        [TOKEN] => EC-99N08730M20920136
        [REQBILLINGADDRESS] => 1
        [METHOD] => GetExpressCheckoutDetails
        [USER] => xxxx.xxxx.com
        [PWD] => ****************
        [VERSION] => 3.2
        [SIGNATURE] => ****************************************************l8Q8
    )
    
    
    Response: 
    Array
    (
        [TIMESTAMP] => 2008-01-21T22:40:32Z
        [CORRELATIONID] => 55b0f3af35b39
        [ACK] => Success
        [VERSION] => 3.200000
        [BUILD] => 1.0006
        [TOKEN] => EC-99N08730M20920136
        [EMAIL] => [email protected]
        [PAYERID] => REWZX55B4ETX8
        [PAYERSTATUS] => verified
        [FIRSTNAME] => Jurjen
        [LASTNAME] => Ruben
        [COUNTRYCODE] => NL
        [SHIPTONAME] => Jurjen Ruben
        [SHIPTOSTREET] => jacox xxx 8
        [SHIPTOCITY] => Nijmegen
        [SHIPTOCOUNTRYCODE] => NL
        [SHIPTOCOUNTRYNAME] => Netherlands
        [SHIPTOZIP] => 65xx xx
        [ADDRESSID] => PayPal
        [ADDRESSSTATUS] => Unconfirmed
        [CURL_ERRORS] => 
    )
    
    
    GetExpressCheckoutDetails, Elapsed: 1323ms -- Success

  3. #3
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: PayPal 10413 error

    How are your site's taxes configured?
    - rates
    - tax "included in prices" vs "not included"
    - basis of product tax
    - basis of shipping tax
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  4. #4
    Join Date
    Dec 2007
    Posts
    85
    Plugin Contributions
    0

    Default Re: PayPal 10413 error

    Quote Originally Posted by DrByte View Post
    How are your site's taxes configured?
    - rates
    - tax "included in prices" vs "not included"
    - basis of product tax
    - basis of shipping tax

    - rates
    Taxable Goods @ 19%

    - tax "included in prices" vs "not included"

    Tax Decimal Places 0
    Display Prices with Tax true
    Display Prices with Tax in Admin false


    - basis of product tax

    Basis of Product Tax Shipping

    - basis of shipping tax
    Basis of Shipping Tax Shipping

  5. #5
    Join Date
    Dec 2007
    Posts
    85
    Plugin Contributions
    0

    Default Re: PayPal 10413 error

    Any ideas Dr. Byte?
    Appreciate your help!

  6. #6
    Join Date
    Dec 2007
    Posts
    85
    Plugin Contributions
    0

    Default Re: PayPal 10413 error

    Can anyone please help me? I would really appreciate it, since I'm eager to launch the shop...

    Thank you in advance!
    Jurjen

  7. #7
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: PayPal 10413 error

    Seems to be related to the Display Prices With Tax switch being set to true.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  8. #8
    Join Date
    Dec 2010
    Posts
    73
    Plugin Contributions
    0

    Default Re: PayPal 10413 error

    Hi,

    I have issue in PayPal Express Checkout.

    Here what i did.

    I given 5% discount on total purchase more then $25 i have did some calculation in ot_total.php for this

    It show the discount amount and all calculation but PayPal not allow for this after click on confirm order it go to the papal site and then it gives 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.

    If total amount is less then $25 then no discount applied and it is working fine.but once it more then it gives error.

    Please look into this.
    Waiting for your + reply.

 

 

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. 10413 error on paypal
    By Zubey in forum PayPal Express Checkout support
    Replies: 21
    Last Post: 6 Jan 2009, 01:30 AM
  4. PayPal error 10413 Random
    By LekeFly in forum PayPal Express Checkout support
    Replies: 4
    Last Post: 21 Sep 2008, 09:49 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