diff options
| author | Nicolas Martinelli <nim@odoo.com> | 2019-06-19 12:53:54 +0000 |
|---|---|---|
| committer | Nicolas Martinelli <nim@odoo.com> | 2019-06-19 13:00:02 +0000 |
| commit | 25745d8515212b37c4eaeaf091ef9addf232f1cc (patch) | |
| tree | 7eecf23021135c79db2fe42c2af2e38fd66044f6 /addons/web_tour/static/src/js/tip.js | |
| parent | 4f3497c220c8cb16a69fe394379625b0b5dc59b4 (diff) | |
[FIX] payment_stripe: save token
- Configure Stripe with 'Save Cards' set to 'Let the customer decide' or
'Always'.
- Go to the eCommerce, buy an item
- Use Stripe to pay, make sure to check 'Save my payment data'
No payment token is saved.
It occurs because 2 calls are performed to `/shop/payment/transaction`.
The second call, which is used to record the transaction, doesn't
contain the `save_token` parameter is not sent.
Ideally, we should only make a single call, but since Stripe works a bit
differently, we can't prevent it (in stable, at least). Therefore, we
work around it by searching the checkbox value.
opw-2008275
closes odoo/odoo#34242
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'addons/web_tour/static/src/js/tip.js')
0 files changed, 0 insertions, 0 deletions
