- πΊπΈUnited States jantoine
@Anybody,
I was getting the same error which was due to one of the "items" sent to the PayPal API having an empty string for a "name".
This ended up being caused by a custom line item that was not a product, but that I hadn't defined the "title" callback for, so when the Commerce PayPal Checkout module was looping over the line items from the order to create the items array that it sends to the PayPal API, the title being generated for my line item was an empty string.
Hope this helps you resolve your issue!
- π©πͺGermany Anybody Porta Westfalica
@jantoine thanks, that's a very important point! I guess then we should catch that case in the module to prevent this kind of issue, which is super hard to find!
It should be implemented in 7.x-2.x and 8.x!
- Status changed to Closed: outdated
about 1 month ago 9:10pm 18 August 2025 - πΊπΈUnited States TomTech
Automatically closed because Drupal 7 security and bugfix support has ended β as of 5 January 2025. If the issue verifiably applies β to later versions, please reopen with details and update the version.