From 039927d2fff44ac302ccb45923863d771df5272f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Fri, 18 Sep 2026 23:35:40 +0200 Subject: [PATCH] Fill direct debit payment with Stripe customer Closes #15110 --- modules/account_payment_stripe/party.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/account_payment_stripe/party.py b/modules/account_payment_stripe/party.py index ee4d1f1f7e..4bb5502165 100644 --- a/modules/account_payment_stripe/party.py +++ b/modules/account_payment_stripe/party.py @@ -52,9 +52,9 @@ class PartyReceptionDirectDebit( def _get_payment(self, line, date, amount): payment = super()._get_payment(line, date, amount) - self.stripe_customer = self.stripe_customer - self.stripe_customer_source = self.stripe_customer_source - self.stripe_customer_payment_method = ( + payment.stripe_customer = self.stripe_customer + payment.stripe_customer_source = self.stripe_customer_source + payment.stripe_customer_payment_method = ( self.stripe_customer_payment_method) return payment