Home > transaction refused > paypal error 10401 order total is invalid

Paypal Error 10401 Order Total Is Invalid

here for a quick overview of the site Help paypal transaction refused uber Center Detailed answers to any questions you might have transaction refused because of an invalid argument see additional error messages for details Meta Discuss the workings and policies of this site About Us Learn more about paypal login Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 6.2 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Paypal: L_ERRORCODE0:10401 Order total is invalid and invalid argument up vote 4 down vote favorite 3 I followed https://www.paypal-labs.com/integrationwizard/ecpaypal/main.php to implement paypal sandbox account in my application. My code is spanned in 3 jsp pages such as index.jsp -> expresscheckout.jsp -> paypalfunctions.jsp . expresscheckout.jsp <%@ include file="paypalfunctions.jsp"%> <% String paymentAmount = "25"; String currencyCodeType = "USD"; String paymentType = "Sale"; String returnURL = "http://2.appid.appspot.com/sucess.jsp"; String cancelURL = "http://2.appid.appspot.com/canceled.jsp"; HashMap nvp = CallShortcutExpressCheckout(paymentAmount, currencyCodeType, paymentType, returnURL, cancelURL, session); String strAck = nvp.get("ACK").toString(); if (strAck != null && strAck.equalsIgnoreCase("Success")) { //' Redirect to paypal.com RedirectURL(nvp.get("TOKEN").toString(), response); } else { String ErrorCode = nvp.get("L_ERRORCODE0").toString(); String ErrorShortMsg = nvp.get("L_SHORTMESSAGE0").toString(); String ErrorLongMsg = nvp.get("L_LONGMESSAGE0").toString(); String ErrorSeverityCode = nvp.get("L_SEVERITYCODE0") .toString(); } %> paypalfunctions.jsp is follows : <% gv_APIUserName = "myid_78955666_biz_api1.gmail.com"; gv_APIPassword = "1347856389"; gv_APISignature = "AFcWxV21C7fd0v3bYYYRCpSSRl31AuP4KrN6UABOJ1fGdNRYoIpc.qjr"; //BN Code is only applicable for partners gv_BNCode = "PP-ECWizard"; boolean bSandbox = true; if (bSandbox == true) { gv_APIEndpoint = "https:/

that make connections all over the world. Join today Download & Extend Drupal Core Distributions Modules Themes UbercartIssues PayPal reported an error: 10401: Order total is invalid. Closed (works as designed)Project:UbercartVersion:7.x-3.0Component:PaymentPriority:NormalCategory:Support requestAssigned:UnassignedReporter:plousiaCreated:March 22, 2012 - 02:12Updated:March 28, 2012 - 21:24 Log in or register to update this issue Sorry if this is the wrong place to post, but I'm running into frustration and I can't find any real info online. I'm building a Drupal 7 site with Ubercart, only the second Ubercart installation I've built (the other one http://stackoverflow.com/questions/12471304/paypal-l-errorcode010401-order-total-is-invalid-and-invalid-argument was 4 years ago). I'm using PayPal express checkout and the sandbox server for testing (although I got the same results using the live server and live API credentials). When I try to checkout I keep getting the error message "PayPal reported an error: 10401: Order total is invalid." I can't figure out for the life of me what is going wrong https://www.drupal.org/node/1493552 and Google hasn't been any help. I did find this forum topic: www.ubercart.org/forum/support/17889/paypal_checkout_failing_10401_order..., but that info seems to be outdated with this version of Drupal/Ubercart. Sorry if I'm not providing enough info, I really don't know where to start with this but I'm happy to give more details if anyone can point me in the right direction. Thanks. Comments Comment #1 longwave CreditAttribution: longwave commented March 22, 2012 at 9:30am Status: Active » Postponed (maintainer needs more info) What products and line items do you have in your order, and what is the order total showing as? Does this happen for all orders? Are you using inclusive taxes, or any contrib modules that add line items such as coupons? Log in or register to post comments Comment #2 plousia CreditAttribution: plousia commented March 22, 2012 at 7:20pm Status: Postponed (maintainer needs more info) » Active I have a product called Image. No matter how many I had in my cart I kept getting the same error message, for all orders. There were no taxes and no contrib modules, it was just a fairly straightf

Community Blog Create your store Français Español Deutsch Italiano Portuguese Polish Dutch English Features Templates Store Builder Shopping Cart Mobile eMarketing International Integrations Learn Getting Started Themes Modules Showcase Documentation Training Support FAQ Community Blog Download https://www.prestashop.com/forums/topic/129995-paypal-error-order-total-is-invalid-help-please/ Modules Themes Forum English Français Español Deutsch Italiano Portuguese Polish Dutch Sign in Jump https://www.zen-cart.com/showthread.php?91081-error-code-10401-Not-happy-setup to content Forum → Community Help and Support → PrestaShop Addons → Native Partners Modules (ebay, paypal, etc.) → PayPal Search Search section: This topic Forums Members Help Javascript Disabled Detected You currently have javascript disabled. Several functions may not work. Please re-enable javascript to access full functionality. PayPal transaction refused Error - Order Total Is Invalid - Help Please Started by Nellybeans, Sep 15 2011 09:22 PM, 4 replies to this topic Please log in to reply #1 Nellybeans Posted 15 September 2011 - 09:22 PM Nellybeans PrestaShop Newbie Members 7 Active Posts We just went live with our Prestashop store and I am having an issue with Paypal. If a customer puts a product or products in paypal error 10401 their cart with money due and then uses our current coupon code (our site gives a $5 discount to customers that like our facebook page) then we are having issues with the module when that customer has a zero balance due. The module is taking them to paypal for payment, rather then removing the payment choices and processing it as a free order. When that happens we are getting an error message for "Order Total is Invalid". Here is the actual error message. A client has encountered a problem with the module PayPalAPI, see the report: PayPal response:TIMESTAMP -> 2011-09-14T16:14:18ZL_ERRORCODE0 -> 10401L_SHORTMESSAGE0 -> Transaction refused because of an invalid argument. See additional error messages for details.L_LONGMESSAGE0 -> Order total is invalid.L_SEVERITYCODE0 -> ErrorPayPal returned error We did contact PayPal and they told us that the error is generated because the customer is being directed to PayPal for an order that has a zero balance due. The told us that the problem is within our cart/module. It's not a PayPal issue. Anyone know how do we fix this problem? Back to top #2 Nellybeans Posted 17 September 2011 - 02:36 AM Nellybeans PrestaShop Newbie Members 7 Active Posts is there not a moderator for Paypal iss

Services [FAQs] [Adv Search] Forum Configuring the Zen Cart Admin PayPal Express Checkout support error code 10401 - Not happy setup? If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. Thread: error code 10401 - Not happy setup? Results 1 to 4 of 4 Thread Tools Show Printable Version Subscribe to this Thread… Search Thread Advanced Search Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode 9 Mar 2008,07:50 PM #1 PingPing View Profile View Forum Posts View Blog Entries View Articles New Zenner Join Date Mar 2008 Posts 29 Plugin Contributions0 error code 10401 - Not happy setup? Need help setting up PayPal Express Checkout. Getting RED Color error message when trying to purchase product: Error An error occurred when we tried to contact the payment processor. Please try again, select an alternate payment method, or contact the store owner for assistance. (10401) 10401 Transaction refused because of an invalid argument. See additional error messages for details. - Order total is invalid. What does this 10401 mean? Is there a debug page or code listing somewhere I can check? I tested the curl and it passed well. My PayPal is personal account and went into the PayPal to access the Express Checkout IPN stuff and copy/paste it into the Zen Cart Module Configuration ... but I think I am missing something because of this error message when performing purchase. Would someone kindly advise. Thanks! 10 Mar 2008,02:55 AM #2 PingPing View Profile View Forum Posts View Blog Entries View Articles New Zenner Join Date Mar 2008 Posts 29 Plugin Contributions0 Re: error code 10401 - Not happy setup? It appears my issue was my fault! I accept responsibility for my experience. It appears I did not fully configure the PayPal Express Checkout ... missed the part where I had to Turn ON PayPal IPN and use tell it, my paypal account, proper URL. I wasn't expecting this and overlooked it. 3. In your PayPal account, enable Instant Payment Notification: under "Profile", select Instant Payment Notification Preferences * click th

 

Related content

agreement was canceled 10201/error

Agreement Was Canceled error table id toc tbody tr td div id toctitle Contents div ul li a href Merchant Is Restricted Paypal a li li a href How To Change Risk Settings On Paypal a li li a href What Does Transaction Refused Due To Risk Model Mean a li li a href Paypal Error a li ul td tr tbody table p Adaptive Payments Payouts Payouts p h id Merchant Is Restricted Paypal p Mass Pay Authentication Security Vault Log In payment declined by your avs risk controls setting with PayPal Adaptive Accounts Permissions APIs REST APIs API

paypal 10401 error

Paypal Error table id toc tbody tr td div id toctitle Contents div ul li a href Paypal Transaction Refused Uber a li li a href Paypal Login a li ul td tr tbody table p here for a quick overview relatedl of the site Help Center Detailed answers p h id Paypal Transaction Refused Uber p to any questions you might have Meta Discuss the workings transaction refused because of an invalid argument see additional error messages for details and policies of this site About Us Learn more about Stack Overflow the company Business Learn p h id Paypal

paypal error code 10401

Paypal Error Code table id toc tbody tr td div id toctitle Contents div ul li a href Paypal Transaction Refused Uber a li li a href Paypal Login a li ul td tr tbody table p that make connections all over the world Join today Download Extend Drupal Core Distributions Modules Themes UbercartIssues PayPal reported an error Order total is invalid Closed works as relatedl designed Project UbercartVersion x- Component PaymentPriority NormalCategory Support requestAssigned UnassignedReporter plousiaCreated March - Updated March - Log p h id Paypal Transaction Refused Uber p in or register to update this issue Sorry if