summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src/js/editor/transcoder.js
diff options
context:
space:
mode:
authorRomain Derie <rde@odoo.com>2018-02-07 12:50:12 +0100
committerRomain Derie <rde@odoo.com>2018-02-07 13:59:33 +0100
commit66e76d681d41b6c007a0394b078ddbe872989985 (patch)
tree5961569b1a0cf299302d46f1c738d513a7f34bbe /addons/web_editor/static/src/js/editor/transcoder.js
parenta93a9d43e6b383a8ade8395017110e49b80d48cd (diff)
[FIX] payment_stripe: integer currencies (portal payment)
Before this commit: On portal (My Account > Invoices > Pay Now), a stripe payment in a normal currency (eg: a non integer currency) would debit the amount *100. This comes from b335ae0348ac74b2edb6d5ea56cc230e276ef283 which added a workflow to handle integer currencies but it also sent the *100 amount to /website_payment/transaction that would create a TX with that amount instead of the normal amount. Now, the normal amount is correctly sent to the backend, the multiplied amount is just sent to StripeCheckout handler to correctly display the amount on the popup after clicking on "Pay Now". Note: the amount will be multiplied on the backend independently ecda057e1166ea1fa9afa4e5b954e5c99aa80232
Diffstat (limited to 'addons/web_editor/static/src/js/editor/transcoder.js')
0 files changed, 0 insertions, 0 deletions