paynl / magento2-plugin

The Pay. plugin for Magento 2
https://www.pay.nl
28 stars 32 forks source link

When a name is longer than 32 characters, provide a valid error #198

Closed janssensjelle closed 7 months ago

janssensjelle commented 7 months ago

When a customer has a firstname of longer than 32 characters, Pay returns an error message that is vague.

"Unfortunately something went wrong".

In the log you can see this: Transaction start failed: PAY-405 - Parameter 'initials' is invalid: Input is too long, maximum length is 32 | 0

woutse commented 7 months ago

Thanks for your message. We'll look into it.

woutse commented 7 months ago

Checked, we'll make an adjustment, which will be available in the next release. Thanks for reporting!