Fixed spelling of TRANSACITON_STATUS_COMPLETE_PRIMARY

pull/1/head
Raymond Yee 2012-04-21 16:10:13 -07:00
parent b1dbf8642f
commit 0d3765aa27
1 changed files with 3 additions and 3 deletions

View File

@ -203,7 +203,7 @@ class PaymentManager( object ):
if pledged:
pledged_list = transaction_list.filter(type=PAYMENT_TYPE_INSTANT,
status=TRANSACITON_STATUS_COMPLETE_PRIMARY)
status=TRANSACTION_STATUS_COMPLETE_PRIMARY)
else:
pledged_list = []
@ -223,7 +223,7 @@ class PaymentManager( object ):
if completed:
completed_list = transaction_list.filter(type=PAYMENT_TYPE_AUTHORIZATION,
status=TRANSACITON_STATUS_COMPLETE_PRIMARY)
status=TRANSACTION_STATUS_COMPLETE_PRIMARY)
else:
completed_list = []
@ -686,7 +686,7 @@ class PaymentManager( object ):
# First check if a payment has been made. It is possible that some of the receivers may be incomplete
# We need to verify that the refund API will cancel these
if transaction.status != TRANSACITON_STATUS_COMPLETE_PRIMARY:
if transaction.status != TRANSACTION_STATUS_COMPLETE_PRIMARY:
logger.info("Refund Transaction failed, invalid transaction status")
return False