I have a client who has been trying to register 35 people for an event. They are getting the error below. The max group registration is set at 60 so that is not the problem. Any idea what is causing this?
*The following errors have occurred.*
(271) The number of line items submitted is not allowed. A maximum of 30
line items can be submitted.
Looks like it might be the way the Authorize.net gateway was implemented. I would say this is a bug since people may want to have more than 30 attendees in one order. According to the Authorize.net API documentation:
The merchant may submit up to 30 distinct line items containing itemized order information per transaction.
It turns out that’s an error from Authorize.net. What we can do is look into a way to send fewer line items than 30 when there are more than 30 tickets as a workaround. May I ask which version of Event Espresso you’re using?
From what I can figure out, the Authorize.net SIM payment gateway is sending all the attendees as line items to Authorize.net. Authorize.net only allows 30 lines to be sent. Other posts online have mentioned the x_line_item variable can be removed from the transaction. Any suggestions EE?
This is a good example of an edge case bug because it only occurs if you capture attendee details for every attendee in the order.
You can set a limit to the number of line items by opening up the event-espresso/gateways/authnet/Authorize.php file then look for the look starting around line 144. This is the loop:
Then you can copy the authnet folder over to /wp-content/uploads/espresso/gateways so your change doesn’t get lost on an update.
Viewing 6 reply threads
The support post ‘Number of line items submitted not allowed’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.
Support forum for Event Espresso 3 and Event Espresso 4.