diff options
| author | Nikunj Ladava <nla@odoo.com> | 2019-05-29 11:00:39 +0000 |
|---|---|---|
| committer | Damien Bouvy <dbo@odoo.com> | 2019-07-18 06:55:22 +0000 |
| commit | 595c0ad8ee48b092c332b95d9a529957013d1307 (patch) | |
| tree | 8a096438d79dfed19b41b2fddaf389ca8cbd2f79 /addons/web/static/src/js/fields | |
| parent | 998ff5e07f333fb4a5aff8aa387cce7b8f4c52d2 (diff) | |
[IMP] payment_stripe: integrate stripe with new checkout api
There is two payment flow in stripe:
1) Redirection Flow (Form Based):
in this flow, the user will redirect to stripe website for payment
- create a session for a user and redirect the user to stripe with that session
- after successful payment, the user will redirect back to odoo
- get all the details of charge by using payment intent API
- if user have tick save data then the token will be created
2) S2S Flow:
after clicking on pay now button, one popup display with card element
element is provided by a stripe with all validation facilities
After submitting details, payment flow is
- create payment method with card element on stripe
- create a customer with partner email on stripe
- attach customer to the payment method on stripe
- create a token with customer and payment method in odoo
- create payment intent in odoo
- make a request to stripe
- after successful request, payment will be charged for that card
task- 1986267
closes: https://github.com/odoo/odoo/pull/33978
Diffstat (limited to 'addons/web/static/src/js/fields')
0 files changed, 0 insertions, 0 deletions
