1ac7b728cb0144fa8de60d7152481024be12e10b
When the payment method was detached from the customer, trying to pay with the linked payment token would end up with a crash because Stripe failed to send us the payment intent, as it could not create it. With this commit, we test for the existence of the returned payment intent and prematurely return in `_send_payment_request` to prevent a cursor rollback. The transaction is set in 'error' and the error message is logged in the stdout and on the transaction's state message field. closes odoo/odoo#120348 X-original-commit: 4ebf0efc16ef78ca568ef93fb2c36ce404cb0c12 Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
…
…
…
Odoo
Odoo is a suite of web based open source business apps.
The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, ...
Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.
Getting started with Odoo
For a standard installation please follow the Setup instructions from the documentation.
To learn the software, we recommend the Odoo eLearning, or Scale-up, the business game. Developers can start with the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%