details:   https://code.tryton.org/tryton/commit/081497495956
branch:    default
user:      Cédric Krier <[email protected]>
date:      Fri Sep 18 23:35:40 2026 +0200
description:
        Fill direct debit payment with Stripe customer

        Closes #15110
diffstat:

 modules/account_payment_stripe/party.py |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (16 lines):

diff -r 61fc72015b9b -r 081497495956 modules/account_payment_stripe/party.py
--- a/modules/account_payment_stripe/party.py   Tue Sep 15 12:04:11 2026 +0200
+++ b/modules/account_payment_stripe/party.py   Fri Sep 18 23:35:40 2026 +0200
@@ -52,9 +52,9 @@
 
     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
 

Reply via email to