This commits drops the direct payment flow supported by the SetupIntent API in favor of the payment with redirection flow, supported by the Checkout API only. See the merge commit for more details. task-2333040 Co-authored-by: Antoine Vandevenne <anv@odoo.com>
12 lines
364 B
Python
12 lines
364 B
Python
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
from . import controllers
|
|
from . import models
|
|
|
|
from odoo.addons.payment import reset_payment_acquirer
|
|
from odoo.addons.payment.models.payment_acquirer import create_missing_journals # post-init hook
|
|
|
|
|
|
def uninstall_hook(cr, registry):
|
|
reset_payment_acquirer(cr, registry, 'stripe')
|