- πΊπΈ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!