addons/payment_stripe/README.md
SDK: Stripe.js version 3
API: Stripe API version 2019-05-16
This module relies on the Web Elements SDK to render the list of available payment methods and their payment detail inputs on the payment form. The JS and CSS assets of the SDK are loaded on the pages where the form is visible using a script tag.
When the Web Elements need to fetch/push information from/to Stripe or when a payment operation (e.g., refund, offline payment) is executed from the backend, a server-to-server API call is made to the appropriate API endpoint.
This is achieved by following the [Collect payment details before creating an Intent]
(https://docs.stripe.com/payments/accept-a-payment-deferred) guide. It is preferred over the
recommended "Payment Element" where payment intent is created beforehand because the
payment.transaction object doesn't exist yet when the form is rendered, so we don't have any
reference to communicate to Stripe. Also, all the methods to create Stripe objects
(e.g., intents or customers) are defined on the payment.transaction object.
The module also offers a quick onboarding thanks to the Stripe Connect platform solution.
16.4
16.0
15.4
15.3
checkout.session.completed event to handle async payment status updates.
odoo/odoo#8415015.2
15.0
14.3
https://stripe.com/docs/testing
Card Number: 4111111111111111
Expiry Date: any future date
CVC Code: any