summaryrefslogtreecommitdiff
path: root/doc/python3.rst
diff options
context:
space:
mode:
authornie <nie@odoo.com>2021-04-22 13:33:30 +0000
committernie <nie@odoo.com>2021-04-23 15:20:02 +0000
commit45c839deaa45225b3613805aebf88e167535bc71 (patch)
treefa20192d790ec4555382d66e4acfb308528e9ed2 /doc/python3.rst
parent1d680f488f68be4e6157ffd5d8d9dcbb86915ab8 (diff)
[FIX] payment_stripe_sca, *: use setup_future_usage when saving card
*: account_payment, payment, sale Steps: - Install eCommerce - Go to Website / Configuration / eCommerce / Payment Acquirers - Configure Stripe: - Save Cards: Always - Payment Flow: Redirection to the acquirer website - Go to /shop - Add a product to the cart - Process Checkout - Select Stripe - Pay Now - Enter test data in Stripe Checkout form (https://stripe.com/docs/testing#cards) - Pay - Go to /shop - Add a product to the cart - Process Checkout - Select your saved card - Pay Now Bug: Stripe Error: The provided PaymentMethod was previously used with a PaymentIntent without Customer attachment, shared with a connected account without Customer attachment, or was detached from a Customer. It may not be used again. To use a PaymentMethod multiple times, you must attach it to a Customer first. Explanation: https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-payment_intent_data-setup_future_usage > Indicates that you intend to make future payments with the payment > method collected by this Checkout Session. According to this doc, `setup_future_usage` must be set in order to use the saved card afterwards. opw:2452452 opw:2498571 opw:2509897 closes odoo/odoo#69772 X-original-commit: 43e666f21f488067cf09a994fba7782271446b84 Signed-off-by: backspac <backspac@users.noreply.github.com>
Diffstat (limited to 'doc/python3.rst')
0 files changed, 0 insertions, 0 deletions