Skip to content

Commit

Permalink
fix payment logging
Browse files Browse the repository at this point in the history
  • Loading branch information
amCap1712 committed Sep 9, 2024
1 parent 947a1b3 commit 264caab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions metabrainz/model/payment.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ def process_paypal_ipn(cls, form):
if supporter is None:
new_payment.editor_id = None
else:
new_payment.editor_id = supporter.editor_id
new_payment.editor_id = supporter.musicbrainz_row_id

anonymous_opt = options.get("anonymous")
if anonymous_opt is None:
Expand Down Expand Up @@ -392,7 +392,7 @@ def _log_stripe_charge(cls, charge, metadata):
if supporter is None:
new_donation.editor_id = None
else:
new_donation.editor_id = supporter.editor_id
new_donation.editor_id = supporter.musicbrainz_row_id

else: # Organization payment
new_donation.invoice_number = metadata["invoice_number"]
Expand Down

0 comments on commit 264caab

Please sign in to comment.