Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Countrycode XI not allowed by Mollie (Northern Ireland) #826

Open
JanWillemten opened this issue Nov 19, 2024 · 1 comment
Open

Countrycode XI not allowed by Mollie (Northern Ireland) #826

JanWillemten opened this issue Nov 19, 2024 · 1 comment

Comments

@JanWillemten
Copy link

Describe the bug
When a customer has a billing address located in Northern Ireland, country code XI, no Payment methods are shown during checkout.

An error is shown in the Exception Log : Mollie.INFO: info: Function: getActiveMethods: [2024-11-18T13:11:42+0000] Error executing API call (400: Bad Request): The billingCountry is invalid. Field: billingCountry. Documentation: https://docs.mollie.com/overview/handling-errors [] []

Used versions

  • Magento 2.4.6-p7
  • Open Source
  • Mollie version : 2.41
  • Northern Ireland / XI is 'allowed' as country in the Mollie plugin for all payment methods

To Reproduce
Steps to reproduce the behavior:

  1. Enrich the country list of Magento to add XI/Northen Ireland as a valid country.
  2. Add the VAT rates for XI to Magento
  3. Update the billing/shipping country of a customer to XI
  4. Customer places order on frontend
  5. During checkout no payment methods are shown from the Mollie plugin.

Expected behavior
All payment methods for XI are shown during checkout.

Actual behavior
The Mollie API returns an error on the billing country, as a result no payment is possible

Additional context
Due to the EU VAT rules we had to add XI as a valid country for Magento customers to keep track of the VAT amounts for Northern Ireland. Magento does not have country code XI in a default configuration, we have added that to the internal country list of Magento.

I am not sure if this is a problem in the Mollie API or the Mollie plugin itself, but support for country code XI in both modules would be appreciated.

@fjbender
Copy link
Contributor

We would need to fix that on the Methods API on the platform before ensuring compatibility on the plugin. Let me talk to the team responsible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants