Files
odoo_source/addons/payment/controllers
Antoine Vandevenne (anv) d6d5f142c3 [FIX] payment(_stripe): adapt validation currency to payment method
When payment details are tokenized through a validation operation, the
currency to use was usually (except overrides) chosen as that of the
payment provider's company. This sometimes caused compatibility issues
if the selected payment method did not support the company's main
currency. For example, the SEPA Direct Debit payment method only
supports the EUR currency.

This commit allows passing a payment method when getting the validation
currency so that only supported currencies can be returned.

Part-of: odoo/odoo#161883
2024-04-17 22:47:13 +00:00
..
…