Page 1 of 2 12 LastLast
Results 1 to 10 of 15
  1. #1
    Join Date
    Nov 2006
    Posts
    512
    Plugin Contributions
    0

    Default Bug? Error 10413 when using the attribute : One time charge

    I get the Error 10413 when using the attribute : One time charge on a product.

    When I disable this attribute on the product paypal works perfectly.

    The one time charge works on all forms of payment except paypal.

    I use the one time charge in addtion to the price of the product.


    Bug?

    what's the skinny?

  2. #2
    Join Date
    Nov 2006
    Posts
    512
    Plugin Contributions
    0

    Default Re: Bug? Error 10413 when using the attribute : One time charge

    I have tried over the last 2 weeks to fix this issue concerning the one-time charge attribute and error 10413. I have toggled every admin setting I can think of. I am unfortunately stuck with using the one time charge attribute (no way around it) for this product which is 30% of my stores business.

    Is there any way to fix this issue? it has nothing to do with sales tax. Has anyone had a similar issue, using the one time charge attribute and getting error 10413???

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

    Default Re: Bug? Error 10413 when using the attribute : One time charge

    Perhaps you can post your paypal debug log files for review?
    http://www.zen-cart.com/forum/showthread.php?t=61199
    .

    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
    Nov 2006
    Posts
    512
    Plugin Contributions
    0

    Default Re: Bug? Error 10413 when using the attribute : One time charge

    Here is my paypal log file: please edit any data if security is in question (XXX)

    test Product price $1
    One Time Charge : $3.50
    One time Charge $ 3.00

    Total $8.50

    test account is in same state therfore can not override tax inclusion in test, this error pops up without sales tax as a variable.

    I have many log file emails...please let me kmow if you require more info...

    remember if i disable the one time charge on this product PEC works ok.
    -----------
    Sep-19-2008 05:46:15
    termEC-1
    Killed the session vars as requested
    =================================

    Sep-19-2008 05:46:16
    termEC-2
    BEFORE: $this->showPaymentPage = 0
    Token Data:
    =================================

    Sep-19-2008 05:46:16
    termEC-3
    AFTER: $this->showPaymentPage = 0
    =================================

    Sep-19-2008 05:46:16
    termEC-8
    $this->showPaymentPage NOT true, and NO custom page selected ... using SHIPPING as default
    =================================

    Sep-19-2008 05:46:16
    termEC-10
    Redirecting to checkout_shipping - Stack: checkout_shipping
    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] => XXX
    [customers_host_address] => user-12lcpp4.cable.mindspring.com
    [cartID] =>
    [cart] => shoppingcart Object
    (
    [observers] => Array
    (
    )

    [contents] => Array
    (
    [222:d30feb5ea8ac3be440e431e9b0d57f81] => Array
    (
    [qty] => 1
    [attributes] => Array
    (
    [21] => 0
    [35] => 114
    [36] => 126
    [32] => 146
    )

    [attributes_values] => Array
    (
    [21] => test
    )

    )

    )

    [total] => 8.5
    [weight] => 0
    [cartID] =>
    [content_type] => virtual
    [free_shipping_item] => 1
    [free_shipping_weight] => 0
    [free_shipping_price] => 1
    )

    [navigation] => navigationhistory Object
    (
    [observers] => Array
    (
    )

    [path] => Array
    (
    [0] => Array
    (
    [page] => logoff
    [mode] => SSL
    [get] =>
    [post] => Array
    (
    )

    )

    [1] => Array
    (
    [page] => document_product_info
    [mode] => NONSSL
    [get] => Array
    (
    [cPath] => 85_65
    [products_id] => 222
    [number_of_uploads] => 0
    [action] => add_product
    )

    [post] => Array
    (
    )

    )

    [2] => Array
    (
    [page] => shopping_cart
    [mode] => NONSSL
    [get] => Array
    (
    [number_of_uploads] => 0
    )

    [post] => Array
    (
    )

    )

    [3] => Array
    (
    [page] => index
    [mode] => SSL
    [get] => Array
    (
    [type] => ec
    [token] => EC-XXX
    [PayerID] => XXX
    )

    [post] => Array
    (
    )

    )

    [4] => Array
    (
    [page] => checkout_shipping
    [mode] => SSL
    [get] =>
    [post] => Array
    (
    )

    )

    [5] => Array
    (
    [page] => checkout_payment
    [mode] => SSL
    [get] =>
    [post] => Array
    (
    )

    )

    [6] => Array
    (
    [page] => checkout_confirmation
    [mode] => SSL
    [get] =>
    [post] => Array
    (
    )

    )

    [7] => Array
    (
    [page] => checkout_process
    [mode] => SSL
    [get] =>
    [post] => Array
    (
    )

    )

    )

    [snapshot] => Array
    (
    )

    )

    [check_valid] => true
    [language] => english
    [languages_id] => 1
    [languages_code] => en
    [currency] => USD
    [today_is] => 2008-09-19
    [updateExpirations] => 1
    [session_counter] => 1
    [customers_ip_address] => XXX
    [new_products_id_in_cart] =>
    [messageToStack] => Array
    (
    [0] => Array
    (
    [class] => checkout_shipping
    [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
    )

    )

    [valid_to_checkout] => 1
    [cart_errors] =>
    [payment] => paypalwpp
    [customer_id] => 91
    [customer_default_address_id] => 103
    [customer_first_name] => XXX
    [customer_country_id] => 223
    [customer_zone_id] => 43
    [sendto] =>
    [billto] => 103
    [shipping] => free_free
    [insurance] => 0
    [comments] =>
    )

    =================================

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

    Default Re: Bug? Error 10413 when using the attribute : One time charge

    That's one of the many log files generated.
    It's easier to zip up the log files from the /includes/modules/payment/paypal/logs folder than to try using the emails.
    .

    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.

  6. #6
    Join Date
    Nov 2006
    Posts
    512
    Plugin Contributions
    0

    Default Re: Bug? Error 10413 when using the attribute : One time charge

    Above is the last log file from /includes/modules/payment/paypal todays date/last test transaction. Do you wish me to zip/post all log files? or PM?

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

    Default Re: Bug? Error 10413 when using the attribute : One time charge

    zip them up, upload the zip to your server someplace, and post a link to the zip file, or PM the link to me.
    .

    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
    Nov 2006
    Posts
    512
    Plugin Contributions
    0

    Default Re: Bug? Error 10413 when using the attribute : One time charge

    PM link provided.

    Issue still exists.

    Perhaps Dr. Byte you can recreate this issue creating example product by:

    1. setting up document product price at $1.00
    1a. Product Priced by Attributes, product virtual, Special, Product/Download Combo Requires a Shipping Address, Product Qty Units: .01, Product Qty Min/Unit Mix: yes
    2. user inputs quantity. ex. 1 = $1.00
    3. set Attributes option name and Attributes option value to whatever ex. Large/Blue (dropdown)
    4. Add one time charge ex. Large/Blue ex. $2.00
    5. Shopping cart shows product $1.00 and one time charge $2.00 cart subtotal $3.00
    6. All forms of payment accept total as $3.00 and complete transacation flawlessly. PPEC throws error 10413 and loops user back to paypal login page after order is confirmed.

    Let me know if if you require any other log files/info, I really need this to work.

  9. #9
    Join Date
    Nov 2006
    Posts
    512
    Plugin Contributions
    0

    Default Re: Bug? Error 10413 when using the attribute : One time charge

    I ran another test today, still no success. Any luck re-creating this issue?

    please see my PM for updated log info.

    Again this issue is not due to tax, or shipping. it is only when a one time charge attribute is enabled.

    All forms of payment CC etc accept the one time charge attribute and work ok on this product.

    Paypal throws a 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. "

    When I remove the One time charge attribute from the product, paypal works ok.

  10. #10
    Join Date
    Nov 2006
    Posts
    512
    Plugin Contributions
    0

    Default Re: Bug? Error 10413 when using the attribute : One time charge

    I tested this again today, this time by simply adding a one time charge attribute to my regular general product type, which is basically the default product set up for ZC. It still yields an error.

    I tried again since my regular product type requires an address (tax) and changed the Basis of Shipping Tax and Product Tax to store, but it still no luck. The product type I have been testing above is a virtual/combo product so tax/shipping is not a factor as far as I can tell.

    To recreate this issue, just add a one time charge attribute and see if you can get through without an error.

    Again only paypal yields an error with this attribute, all other payment mods work ok (CC etc) . I have detailed logs I can send you if that is any help.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v151 Removing the one time charge
    By jpgerb in forum General Questions
    Replies: 5
    Last Post: 28 Nov 2013, 04:23 PM
  2. Replies: 0
    Last Post: 26 Feb 2010, 02:50 AM
  3. One time charge attribute for a category of products
    By janih in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 5 Nov 2008, 10:48 PM
  4. Need one time charge with Product Attribute Grid
    By jalaco in forum Setting Up Categories, Products, Attributes
    Replies: 5
    Last Post: 30 Apr 2008, 04:33 AM

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