Exemplo n.º 1
0
 def test_void_transaction(self):
     transaction = FULL_CARD_NOT_PRESENT_TRANSACTION.copy()
     transaction['amount'] = random.randrange(100, 100000) / 100.0
     result = Transaction.sale(transaction)
     Transaction.void(result.transaction_response.trans_id)
 def test_void_transaction(self):
     transaction = FULL_CARD_NOT_PRESENT_TRANSACTION.copy()
     transaction['amount'] = random.randrange(100, 100000) / 100.0
     result = Transaction.sale(transaction)
     Transaction.void(result.transaction_response.trans_id)