You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The molliePaymentMethods query in the MolliePlugin, returns all enabled payment methods. However, it doesn't forward any currency data to Mollie, which therefore just returns all enabled payment methods. For a proper checkout flow, the plugin should leave out methods that are not supported for the current order's currency.
To Reproduce
Steps to reproduce the behavior:
Add the MolliePlugin
Make sure you have "Klarna" or "Bancontact" enabled in Mollie
Create an order with a GBP currency
Call molliePaymentMethods
Both "Klarna" and "Bancontact" will be returned.
Try to get a payment intent with either of above methods
An error will be thrown that this currency is not supported for the methods
Expected behavior
The molliePaymentMethods should not return unelligible payment methods for the current order's currency (or billing country, for that matter).
It would also be great if extra information (e.g. locale) is passed along, so payment methods can optionally be translated and/or sorted for better UX.
Environment (please complete the following information):
@vendure/core version: 2.1.1
Nodejs version: 18
Database (mysql/postgres etc): postgres
The text was updated successfully, but these errors were encountered:
Describe the bug
The
molliePaymentMethods
query in the MolliePlugin, returns all enabled payment methods. However, it doesn't forward any currency data to Mollie, which therefore just returns all enabled payment methods. For a proper checkout flow, the plugin should leave out methods that are not supported for the current order's currency.To Reproduce
Steps to reproduce the behavior:
GBP
currencymolliePaymentMethods
Expected behavior
The
molliePaymentMethods
should not return unelligible payment methods for the current order's currency (or billing country, for that matter).It would also be great if extra information (e.g.
locale
) is passed along, so payment methods can optionally be translated and/or sorted for better UX.Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: