limits for line items in transaction details

development eCommerce

Sometimes it may be really useful to have line items recorded in the transaction information. This may simplify your accounting or help you in debugging some issues, so no wonder that different extensions that allow you to implement the payment method at your store have this feature enabled by default.

Although this handy feature may cause some issues. API docs describe that the maximum is 30 line items per transaction. This is not a big number, and it means that eventually, your customer may face a problem. They won’t be able to place an order that contains more than 30 positions. The chances are even higher for the B2B stores or stores with a wide choice of goods during the sales.

The issue is not a complex one but still may cause sales revenue losses. Unfortunately, this limitation is not documented in detail, so it may be easily forgotten. The problem may not appear during the website development and testing but will show up later when the store is up and running. So if there’s a chance that your customers will buy more than 30 items per order, you may consider to disable sending line items to