summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src/js/editor/transcoder.js
diff options
context:
space:
mode:
authorToufik Benjaa <tbe@odoo.com>2018-06-04 12:01:36 +0200
committerToufik Benjaa <tbe@odoo.com>2018-06-19 14:51:28 +0200
commitbae7cd9c4695b264a3e8bb55054ac60877101b93 (patch)
tree8541cf555bdb2bd287d5dfb74c97eb195c3fb907 /addons/web_editor/static/src/js/editor/transcoder.js
parent4e20c2a49e6e5e6d1fb70de8c2473b1ada53e304 (diff)
[FIX] account_payment: Do not create payment token when not logged-in
- When paying an invoice with a payment acquirer that saves tokens after each payments (S2S mode or save token to "ask" or "always") and while not connected. The payment token is saved as either the invoice partner (when the acquirer is in form mode) or as the public user's partner (for S2S acquirers). This should not happen. To fix this issue, if the customer is not connected and pays the invoice using a form acquirer, we do not create a token. If the customer pays the invoice using a S2S acquirer the created token is then linked to the invoice's partner.
Diffstat (limited to 'addons/web_editor/static/src/js/editor/transcoder.js')
0 files changed, 0 insertions, 0 deletions