-
Notifications
You must be signed in to change notification settings - Fork 7
[BUG] GLS Api error when name is too long #29
Comments
Hi @SolsWebdesign, The GLS API does not support names longer than 30 characters, so this is the API that gives the error. We cannot change that in our extension I'm afraid. Have a great day, |
Hi Jeffrey, |
Hi @SolsWebdesign, We understand you, we decided to not give error at 30+ characters because we don't want to block the checkout or block an order from finishing. This way the order can be placed and with manual changes in backend still be sent. That is the reason we decided to not give any error. But thank you for thinking along and the question! Have a great day, |
While I really appreciate you're not blocking an order, the blockage is simply moved to our warehouse. It will most definitly be a lot harder with names as this is very flexible input, though having it cut-off on the shipment label (or have this as an option) isn't likely to hurt. For phone numbers, I do think some easy cleaning can be done. Our client formatted as
|
Hi @vandijkstef, Thank you for your message and Pull request. I placed the issue on our backlog with your code added in the comments. We will check and test the code and after that we will together with GLS make a plan to release it. Have a great day, |
To Reproduce
Steps to reproduce the behavior:
Expected result
A label
Actual result
Errors:
Workaround
On the frontend of the shop I have added validators to the names to make sure no one can enter a name longer then 30 characters. Unfortunatly, it appears that there are several Parcel shops with names exceeding 30 characters that the customer can choose. And those simply can't be checked.
Screenshots
If applicable, add screenshots to help explain your problem
it seems to also happen with phone numbers exceeding 15 characters.
** Please complete the following information**
The text was updated successfully, but these errors were encountered: