paynl / magento2-plugin

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

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

Closed janssensjelle closed 4 months ago

janssensjelle commented 4 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 4 months ago

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

woutse commented 4 months ago

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