mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-04-05 03:00:15 -04:00
Fix typo in refund_campaign.
This commit is contained in:
committed by
Neil Williams
parent
db53124d47
commit
9c6bdd6368
@@ -842,7 +842,7 @@ def refund_campaign(link, camp, billable_amount):
|
||||
refund_amount = camp.bid - billable_amount
|
||||
owner = Account._byID(camp.owner_id, data=True)
|
||||
try:
|
||||
success = authorize.refund_transaction(user, camp.trans_id,
|
||||
success = authorize.refund_transaction(owner, camp.trans_id,
|
||||
camp._id, refund_amount)
|
||||
except authorize.AuthorizeNetException as e:
|
||||
text = ('%s $%s refund failed' % (camp, refund_amount))
|
||||
|
||||
Reference in New Issue
Block a user