@@ -29,7 +29,7 @@ def test_sale(self):
2929 sale = interface .do_direct_payment ('Sale' , ** self .credit_card )
3030 self .assertTrue (sale .success )
3131
32- details = interface .get_transaction_details (sale .TRANSACTIONID )
32+ details = interface .get_transaction_details (TRANSACTIONID = sale .TRANSACTIONID )
3333 self .assertTrue (details .success )
3434 self .assertEqual (details .PAYMENTSTATUS .upper (), 'COMPLETED' )
3535 self .assertEqual (details .REASONCODE .upper (), 'NONE' )
@@ -50,7 +50,7 @@ def test_abbreviated_sale(self):
5050 sale = interface .do_direct_payment (** self .credit_card )
5151 self .assertTrue (sale .success )
5252
53- details = interface .get_transaction_details (sale .TRANSACTIONID )
53+ details = interface .get_transaction_details (TRANSACTIONID = sale .TRANSACTIONID )
5454 self .assertTrue (details .success )
5555 self .assertEqual (details .PAYMENTSTATUS .upper (), 'COMPLETED' )
5656 self .assertEqual (details .REASONCODE .upper (), 'NONE' )
@@ -76,11 +76,11 @@ def test_authorize_and_void(self):
7676
7777 # void payment
7878 note = 'Voided the authorization.'
79- void = interface .do_void (auth .TRANSACTIONID , note )
79+ void = interface .do_void (AUTHORIZATIONID = auth .TRANSACTIONID , NOTE = note )
8080 self .assertTrue (void .success )
8181 self .assertEqual (auth .TRANSACTIONID , void .AUTHORIZATIONID )
8282
83- details = interface .get_transaction_details (auth .TRANSACTIONID )
83+ details = interface .get_transaction_details (TRANSACTIONID = auth .TRANSACTIONID )
8484 self .assertTrue (details .success )
8585 self .assertEqual (details .PAYMENTSTATUS .upper (), 'VOIDED' )
8686
0 commit comments