From 79c5809cc2e8395f1bcfb313e3b7ead41473edfb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Wed, 27 Mar 2024 19:38:52 +0100 Subject: [PATCH] Fix typo when processing refund on charge refund updated webhook from Stripe Closes #13137 --- modules/account_payment_stripe/payment.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/account_payment_stripe/payment.py b/modules/account_payment_stripe/payment.py index 9ded99fbdc..074b18442f 100644 --- a/modules/account_payment_stripe/payment.py +++ b/modules/account_payment_stripe/payment.py @@ -1077,7 +1077,7 @@ class Account(ModelSQL, ModelView): logger.error("charge.refund.updated: No refund '%s'", rf['id']) for refund in refunds: if rf['status'] == 'pending': - Refund.processing([refund]) + Refund.process([refund]) elif rf['status'] == 'succeeded': Refund.succeed([refund]) elif rf['status'] in {'failed', 'canceled'}: