Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
constants = imp.load_source('modulename', 'constants.py')
from decimal import *

def create_visa_checkout_transaction():
def create_visa_src_transaction():

merchantAuth = apicontractsv1.merchantAuthenticationType()
merchantAuth.name = constants.apiLoginId
Expand Down Expand Up @@ -60,4 +60,4 @@ def create_visa_checkout_transaction():
return response

if(os.path.basename(__file__) == os.path.basename(sys.argv[0])):
create_visa_checkout_transaction()
create_visa_src_transaction()
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from authorizenet.apicontrollers import *
constants = imp.load_source('modulename', 'constants.py')

def decrypt_visa_checkout_data():
def decrypt_visa_src_data():
merchantAuth = apicontractsv1.merchantAuthenticationType()
merchantAuth.name = constants.apiLoginId
merchantAuth.transactionKey = constants.transactionKey
Expand Down Expand Up @@ -38,4 +38,4 @@ def decrypt_visa_checkout_data():
return response

if(os.path.basename(__file__) == os.path.basename(sys.argv[0])):
decrypt_visa_checkout_data()
decrypt_visa_src_data()
6 changes: 3 additions & 3 deletions list_of_sample_codes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ get_transaction_details 1 0
get_transaction_list 1 1
get_transaction_list_for_customer 1 1
get_unsettled_transaction_list 1 0
create_visa_checkout_transaction 1 0
decrypt_visa_checkout_data 1 0
get_customer_profile_ids 1 1
create_visa_src_transaction 1 0
decrypt_visa_src_data 1 0
get_customer_profile_ids 1 0
get_customer_payment_profile_list 1 1
get_merchant_details 0 1
update_held_transaction 0 0
Expand Down
12 changes: 6 additions & 6 deletions test-runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -578,15 +578,15 @@ def get_unsettled_transaction_list(self):
modl = imp.load_source('modulename', 'TransactionReporting/get-unsettled-transaction-list.py')
return modl.get_unsettled_transaction_list()

def create_visa_checkout_transaction(self):
print("create_visa_checkout_transaction")
def create_visa_src_transaction(self):
print("create_visa_src_transaction")
modl = imp.load_source('modulename', 'VisaCheckout/create-visa-checkout-transaction.py')
return modl.create_visa_checkout_transaction()
return modl.create_visa_src_transaction()

def decrypt_visa_checkout_data(self):
print("decrypt_visa_checkout_data")
def decrypt_visa_src_data(self):
print("decrypt_visa_src_data")
modl = imp.load_source('modulename', 'VisaCheckout/decrypt-visa-checkout-data.py')
return modl.decrypt_visa_checkout_data()
return modl.decrypt_visa_src_data()

def get_merchant_details(self):
print("get_merchant_details")
Expand Down