Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  1. #1
    Join Date
    Jan 2007
    Posts
    375
    Plugin Contributions
    3

    red flag PayPal Express Error 10401 when using JPY currency on my site

    Hi all,

    My Shop using 1.3.7, and PayPal Express with USD, EURO, JPY, but the problems just on the JPY, it will show me the ERROR 10401. So all of our Japanese Customers can't using the PayPal Express to checkout ....

    But if change to using USD or EURO it will work no problems...

    I also try to install the 1.3.8a total new to testing the PayPal Express Module, same result with JPY payment.

    Anyone know what is wrong and how to fix this?

    The only change that I had do are add the red code from below Discount Patch.

    http://www.zen-cart.com/forum/showth...+paypal&page=2

    Thank you of your time to read and help. Wish you have a nice day.

    Best Regards,
    Jimmy Chan

  2. #2
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: PayPal Express will be Error 10401

    10401 suggests that the order total amount is invalid.

    How have you configured your JPY currency settings, compared to other currencies?

    If you turn on the debug log-to-file, what do the CURL logfiles contain? 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.

  3. #3
    Join Date
    Jan 2007
    Posts
    375
    Plugin Contributions
    3

    red flag Re: PayPal Express will be Error 10401

    Code:
    Request Parameters: {SetExpressCheckout} 
    Array
    (
        [LOCALECODE] => US
        [PAYMENTACTION] => Sale
        [AMT] => 262.60
        [RETURNURL] => http://www.****.com/store/ipn_main_handler.php?type=ec
        [CANCELURL] => http://www.*****.com/store/index.php?main_page=login&ec_cancel=1
        [PAGESTYLE] => Primary
        [METHOD] => SetExpressCheckout
        [CURRENCYCODE] => JPY
        [USER] => *********.com
        [PWD] => ****************
        [VERSION] => 2.3
        [SIGNATURE] => ****************************************************cOpJ
    )
    
    
    Response: 
    Array
    (
        [TIMESTAMP] => 2008-10-21T08:03:51Z
        [CORRELATIONID] => 3dd627d280694
        [ACK] => Failure
        [VERSION] => 2.3
        [BUILD] => 729241
        [L_ERRORCODE0] => 10401
        [L_SHORTMESSAGE0] => Transaction refused because of an invalid argument.  See additional error messages for details.
        [L_LONGMESSAGE0] => Order total is invalid.
        [L_SEVERITYCODE0] => Error
    Last edited by DrByte; 21 Oct 2008 at 10:28 AM. Reason: removed attachment for privacy

  4. #4
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: PayPal Express will be Error 10401

    What are your currency settings for JPY?
    .

    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.

  5. #5
    Join Date
    Jan 2007
    Posts
    375
    Plugin Contributions
    3

    Default Re: PayPal Express will be Error 10401

    Hi Dr.Byte,

    101 Dollars

    We are main using USD as a base.

    Set the JPY of 101 Dollars.

  6. #6
    Join Date
    Jan 2007
    Posts
    375
    Plugin Contributions
    3

    Default Re: PayPal Express will be Error 10401

    And code is enter "JPY"

    Name Japan Yen

    Other fill box I let it empty.

  7. #7
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: PayPal Express will be Error 10401

    Is it using "." as a decimal separator? and "," as a thousands separator?
    How many decimal places? Does JPY use 4 decimal places?
    .

    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
    Jan 2007
    Posts
    375
    Plugin Contributions
    3

    Default Re: PayPal Express will be Error 10401

    Hi DrByte,

    decimal separator? and thousands separator are both nothing fill in
    Decimal places also same

    Just Fill this in the currencies page
    Title: Japan Yen
    Code: JPY
    Decimal Point: Nothing fill here
    Thousands Point: Nothing fill here
    Decimal Places: Nothing fill here
    Value: 101

    Hope above inform help for analysis.

    Thank you very much and wish you have a nice day.

  9. #9
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: PayPal Express will be Error 10401

    Quote Originally Posted by explorer1979 View Post
    Title: Japan Yen
    Code: JPY
    Decimal Point: Nothing fill here
    Thousands Point: Nothing fill here
    Decimal Places: Nothing fill here
    Value: 101
    With JPY, for Decimal Places, please use: 0
    .

    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.

  10. #10
    Join Date
    Jan 2007
    Posts
    375
    Plugin Contributions
    3

    Default Re: PayPal Express Error 10401 when using JPY currency on my site

    Dr.Byte,

    First, thank you very much, but it still have problems of the JPY.

    It only work with even number
    The Total much even number
    The VIP Group Discount much even number

    Every thing much even number.

    So here are a problems,

    If ....
    X% is discount
    1- 10% = 0.9, this will not work on JPY.

    And suggestion here so that JPY can support non-even and even number of it Total price cal, plus discount etc?

    Thank you again of your kindly help.

    Best Regards,
    Jimmy Chan

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v150 10401 error - Paypal SetExpressCheckout has [AMT] => 0.00 when total cart is NOT 0
    By Sathu in forum PayPal Express Checkout support
    Replies: 2
    Last Post: 19 Oct 2012, 10:53 PM
  2. v150 10401 Error - Paypal Express Checkout - CNY currency
    By ShanghaiLad in forum PayPal Express Checkout support
    Replies: 8
    Last Post: 12 Oct 2012, 02:22 PM
  3. Japanese Yen and Paypal - JPY error 10401
    By CrystalKoi in forum Bug Reports
    Replies: 14
    Last Post: 17 Dec 2009, 06:38 AM
  4. PayPal Express Checkout Errors 10401, 11059, 10426 with JPY
    By _prd_ in forum PayPal Express Checkout support
    Replies: 2
    Last Post: 6 Oct 2008, 10:51 PM
  5. Error when using paypal express checkout...
    By webopt in forum PayPal Express Checkout support
    Replies: 2
    Last Post: 4 Sep 2007, 12:11 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR