Product name should be cutted
Permalink Browser Info Environment
When product name is longer than 255 characters which is more than Paytrail api allows, payment will fail.
Something like this should fix it:
Something like this should fix it:
Type: | Discussion |
---|---|
Status: | Legacy: Invalid |
I just downloaded the latest version of core_commerce and in its db.xml the length of the prName column in the CoreCommerceProducts is 255 characters by maximum.
So, you shouldn't be able to even save product names longer than 255 characters.
I also tested this myself and I couldn't save a product name that is longer than 255 in the core_commerce add-on.
Best regards,
Antti Hukkanen
Mainio Tech Ltd.