Fix: remove payment_method argument from generate_receipt() call

The generate_receipt() function doesn't accept a payment_method parameter, causing all donations to fail silently. Removed the extra argument.
This commit is contained in:
Krystie
2026-05-25 02:55:20 -07:00
parent b5ef6e1507
commit c53f831b3c
+1 -2
View File
@@ -347,8 +347,7 @@ def _process_checkout_session(session, donor_name, donor_email, amount, transact
amount=amount,
date_str=date_str,
donation_number=donation_number,
transaction_id=transaction_id,
payment_method="Stripe"
transaction_id=transaction_id
)
if not receipt_pdf: