It's possible for a payment.acquirer to charge tokens when it's disabled via the subscription app (_cron_recurring_create_invoice()). Before this patch it would use the production endpoint. It's unexpected and can cause accidental charges in a database meant for testing. opw-2637659 closes odoo/odoo#76820 X-original-commit: 7316413261ca8294ceffa212d6b5079b6e35daf6 Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>