Hi
I'm using a clean install of Kickstart profile with Commerce PayPal 7.x-1.x-dev. I configured the PayPal payment method for my sandbox account.
When checking out an order, this warning appears if I select PayPal WPS:
Warning: in_array() expects parameter 2 to be array, string given in commerce_line_items_quantity() (line 1335 of /home/permissi/public_html/d7/profiles/commerce_kickstart/modules/commerce/modules/line_item/commerce_line_item.module).
I'm still taken to the PayPal payment form and that works ok, but thought I'd flag up the warning. If I select the example payment method, the error doesn't appear.
As the warning suggests code in a Commerce module, I thought best to raise it here rather than against the PayPal module - hope that's right.
Cheers,
Jason
Comment | File | Size | Author |
---|---|---|---|
Screenshot.png | 37.84 KB | Jason Dean |
Comments
Comment #1
rszrama CreditAttribution: rszrama commentedTurns out it was actually a problem in Commerce PayPal. The module just hadn't been updated to reflect this change in the Line Item API.