| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Items per cart limit error in Authorize.net | |||
|
|
Thread Tools |
#1
|
|||||||
|
|||||||
Items per cart limit error in Authorize.net
I am having orders fail because there are more than 30 line items. I have called authorize.net and they say there is no limit on the number of order items. Is there some setting in x-payments that is causing this?
Thanks
__________________
Version 4.7.8 |
|||||||
#2
|
|||||||
|
|||||||
Re: limiting to 30 line items
There is a typo in the script, X-Payments counts items up to 31, instead of 30 and thus the error occurs.
To fix it, you should modify <xp-dir>/lib/XPay/Module/AuthorizeNet.php file: - find this line: -------------------------------------------------------- while ($lineItemCount++ < 30 && $items->getNext()) { -------------------------------------------------------- - and change 30 to 29, so that it's: -------------------------------------------------------- while ($lineItemCount++ < 29 && $items->getNext()) { --------------------------------------------------------
__________________
joss@x-cart.com |
|||||||
#3
|
|||||||
|
|||||||
Re: limiting to 30 line items
My version 1.0.5 already has that change made. it seems to be more of an issue with the API from Authorize.net. I need some way to batch the lines or something if it goes over 30. Maybe if it detects the total is over 30 it just sends a single line with the total to Authorize.net instead of every line.
__________________
Version 4.7.8 |
|||||||
#4
|
|||||||
|
|||||||
Items per cart limit error in Authorize.net
I am testing a site now with Authorize.net AIM and X-Payments.
Tried putting through an order with about 44 separate line items in the cart (typical for the items I sell) and I got a transaction error from Authorize.net saying the number of line items in an order can't exceed 30. I've used Authorize.net for years on another platform and never had this issue. After looking into it, it seems my current software doesn't send line item info to Authorize.net, but X-Cart does. I need to know either how to do the following to correct this: Turn this off in X-Cart so numbers of line items in an order is not sent to Authorize.net (what I prefer and how my current site works perfectly now). or Increase the number of line items Authorize.net will accept per transaction. Thanks, Chris Stubbs Redco Audio
__________________
4.5.3 X-Payments Store Manager |
|||||||
#5
|
|||||||||
|
|||||||||
Re: Items per cart limit error in Authorize.net
Per AIM Developer Guide
Quote:
http://www.authorize.net/support/AIM_guide.pdf - page 29
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
|
#6
|
|||||||
|
|||||||
Re: Items per cart limit error in Authorize.net
was this issue ever resolved?
I have the same issue when people order more than 30 items. |
|||||||
#7
|
|||||||
|
|||||||
Re: Items per cart limit error in Authorize.net
We have had this same error. It is definitely a customer service killer. Luckily we don't run across the situation much. But PLEASE tell me that QT is working on a fix and will let us know (publically) when it is ready.
__________________
David Coggan Carolyn Nussbaum Music Company X-Cart v4.5.4 Gold + LiteCommerce v2.2.41 (previous 6 years) |
|||||||
#8
|
|||||||||
|
|||||||||
Re: Items per cart limit error in Authorize.net
Hi Everyone,
I found an old thread about exact the same issue with Auth.net module in an old X-Payments version. You must be using v1.0.5 - if so, upgrade your X-Payments to v1.0.6 or v2.x. Users of downloadable X-Payments can find latest versions in their File Area (for accessing v2.x file an upgrade fee is required - see why to upgrade to v2 at http://www.x-cart.com/x-payments-feature-tour.html ). Users of hosted X-Payments - send us a ticket for a free upgrade to the latest version.
__________________
Sincerely yours, Alex Mulin VP of Business Development for X-Cart X-Payments product manager Last edited by ambal : 01-22-2014 at 11:36 PM. |
|||||||||
|
|||
X-Cart forums © 2001-2020
|