diff options
| author | Adrien Horgnies <aho@odoo.com> | 2020-10-12 15:43:22 +0000 |
|---|---|---|
| committer | Adrien Horgnies <aho@odoo.com> | 2020-10-26 11:23:35 +0000 |
| commit | 1d0f23599bbd425c81131a5f6c1c22531ffcd0ee (patch) | |
| tree | d65f4c7735fdc0bde059a11e222a897da947519d /addons/mail/static/src/models/thread_cache/thread_cache.js | |
| parent | 52e2971b8042d3d519fc934e299ec9a87fd19ebe (diff) | |
[FIX] payment_stripe: hide disabled local payment methods
If a merchants didn't enable a local Payment Method Type (PMT) on Stripe
side (such as bancontact), his customers eligible for it (ex.: Belgian
and paying in EUR) won't be able to pay using it.
This commit fixes this issue by adding a condition on the payment icons
assigned to Stripe: if the payment icon related to a given payment
method is not listed as a supported payment icon, the related payment
method is not offered to customers, unless the payment icon does not
exist at all.
User can enable PMTs through (Payment Acquirers > Stripe
> Configuration > Supported Payment Icons). This concerns: ideal,
bancontact, eps, giropay and p24.
This solution is not entirely satisfactory but it isn't possible to
fetch enabled PMT from Stripe.
opw-2335482
closes odoo/odoo#60721
X-original-commit: d51cabacf4210a98e71e10e13ae17912052d97cf
Signed-off-by: Antoine Vandevenne (anv) <AntoineVDV@users.noreply.github.com>
Diffstat (limited to 'addons/mail/static/src/models/thread_cache/thread_cache.js')
0 files changed, 0 insertions, 0 deletions
