mollie / Magento

Mollie Payments for Magento 1.x
https://www.mollie.com/
BSD 2-Clause "Simplified" License
39 stars 30 forks source link

Problem when trying to pay with Alma, billingAddress missing required infos #246

Closed matthieu-blackbird closed 1 month ago

matthieu-blackbird commented 1 month ago

When I click to place an order with alma, I get an error message in response.

[2024-08-28T09:28:07+0000] Error executing API call (422: Unprocessable Entity): Member 'givenName' in billing address is missing or incorrect.. Field: billingAddress.givenName. Documentation: https://docs.mollie.com/overview/handling-errors

It seems that the firstName and probably last name are missing from the array. It's coming from \Mollie\Payment\Model\Client\Payments::getAddressLine, It's only sending those informations for the billing (and shipping) address : image

matthieu-blackbird commented 1 month ago

Upgrading the module seems to work, version 2.40.1, it's not working in 2.37