diff options
| author | Toufik Benjaa <tbe@odoo.com> | 2018-06-15 16:18:51 +0200 |
|---|---|---|
| committer | Toufik Benjaa <tbe@odoo.com> | 2018-06-19 16:05:05 +0200 |
| commit | f3298859eb99315269296e303a1de6cea4cc5c50 (patch) | |
| tree | 6944d5da7f9c23a0cec05c9036e4b164404721b8 /addons/web_editor/static/src/js/editor/transcoder.js | |
| parent | 98be03860d5a0d107cdf2412100983d45ea029d8 (diff) | |
[FIX] sale_payment: Do not create payment token when not logged-in
- When paying a sale order 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 sale order's partner (when the
acquirer is in form mode) or as the public user's partner (for S2S
acquirers).
To fix this issue, if the customer is not connected and pays the sale
order using a form acquirer, we do not create a token.
If the customer pays the sale order 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
