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:
+1
-2
@@ -347,8 +347,7 @@ def _process_checkout_session(session, donor_name, donor_email, amount, transact
|
|||||||
amount=amount,
|
amount=amount,
|
||||||
date_str=date_str,
|
date_str=date_str,
|
||||||
donation_number=donation_number,
|
donation_number=donation_number,
|
||||||
transaction_id=transaction_id,
|
transaction_id=transaction_id
|
||||||
payment_method="Stripe"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
if not receipt_pdf:
|
if not receipt_pdf:
|
||||||
|
|||||||
Reference in New Issue
Block a user