Skip to content

Commit ef527fb

Browse files
authored
Merge pull request #55 from gnongsie/master
Changes for Visa SRC
2 parents 9b3eefd + 8562a84 commit ef527fb

File tree

4 files changed

+13
-13
lines changed

4 files changed

+13
-13
lines changed

VisaCheckout/create-visa-checkout-transaction.py renamed to VisaCheckout/create-visa-src-transaction.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
constants = imp.load_source('modulename', 'constants.py')
77
from decimal import *
88

9-
def create_visa_checkout_transaction():
9+
def create_visa_src_transaction():
1010

1111
merchantAuth = apicontractsv1.merchantAuthenticationType()
1212
merchantAuth.name = constants.apiLoginId
@@ -60,4 +60,4 @@ def create_visa_checkout_transaction():
6060
return response
6161

6262
if(os.path.basename(__file__) == os.path.basename(sys.argv[0])):
63-
create_visa_checkout_transaction()
63+
create_visa_src_transaction()

VisaCheckout/decrypt-visa-checkout-data.py renamed to VisaCheckout/decrypt-visa-src-data.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from authorizenet.apicontrollers import *
66
constants = imp.load_source('modulename', 'constants.py')
77

8-
def decrypt_visa_checkout_data():
8+
def decrypt_visa_src_data():
99
merchantAuth = apicontractsv1.merchantAuthenticationType()
1010
merchantAuth.name = constants.apiLoginId
1111
merchantAuth.transactionKey = constants.transactionKey
@@ -38,4 +38,4 @@ def decrypt_visa_checkout_data():
3838
return response
3939

4040
if(os.path.basename(__file__) == os.path.basename(sys.argv[0])):
41-
decrypt_visa_checkout_data()
41+
decrypt_visa_src_data()

list_of_sample_codes.txt

+3-3
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ get_transaction_details 1 0
4949
get_transaction_list 1 1
5050
get_transaction_list_for_customer 1 1
5151
get_unsettled_transaction_list 1 0
52-
create_visa_checkout_transaction 1 0
53-
decrypt_visa_checkout_data 1 0
54-
get_customer_profile_ids 1 1
52+
create_visa_src_transaction 1 0
53+
decrypt_visa_src_data 1 0
54+
get_customer_profile_ids 1 0
5555
get_customer_payment_profile_list 1 1
5656
get_merchant_details 0 1
5757
update_held_transaction 0 0

test-runner.py

+6-6
Original file line numberDiff line numberDiff line change
@@ -578,15 +578,15 @@ def get_unsettled_transaction_list(self):
578578
modl = imp.load_source('modulename', 'TransactionReporting/get-unsettled-transaction-list.py')
579579
return modl.get_unsettled_transaction_list()
580580

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

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

591591
def get_merchant_details(self):
592592
print("get_merchant_details")

0 commit comments

Comments
 (0)