Closed t-heuser closed 1 year ago
Hi @oneserv-heuser ,
We are happy to share that we've just released the new 2.20.0 version where we have fixed this issue. Thank you for opening this request and for the detailed steps to reproduce.
We are closing this issue now but please feel free to reopen the issue if you need any help on this.
Describe the bug If you create a cart and set a street and housenumber with more than 100 characters (rare case, but happened in our online shop recently) it's not possible to create an order, the following error occurs:
Error executing API call (422: Unprocessable Entity): The 'streetAndNumber' field should not be longer than 100 characters. Field: billingAddress.streetAndNumber. Documentation: https://docs.mollie.com/reference/v2/payments-api/create-payment
.Used versions
To Reproduce Steps to reproduce the behavior:
Expected behavior The order should be placed regardless of the length of the street field. If the limitation of 100 characters for the street of the mollie API cannot be removed, there should be a Plugin for the address validation which throws an error when trying to set the street field with more than 100 characters so that the error doesn't occur when trying to place the order.
Actual behavior The order cannot be placed.