From 8562a840b9e9822960821ddbb3da94e176f1b073 Mon Sep 17 00:00:00 2001 From: Gabriel Broadwin Nongsiej Date: Wed, 4 Mar 2020 14:53:44 +0530 Subject: [PATCH] + Renamed Visa Checkout to Visa SRC + Blocking GetCustomerProfileIds call as response exceeds log limit --- ...transaction.py => create-visa-src-transaction.py} | 4 ++-- ...isa-checkout-data.py => decrypt-visa-src-data.py} | 4 ++-- list_of_sample_codes.txt | 6 +++--- test-runner.py | 12 ++++++------ 4 files changed, 13 insertions(+), 13 deletions(-) rename VisaCheckout/{create-visa-checkout-transaction.py => create-visa-src-transaction.py} (98%) rename VisaCheckout/{decrypt-visa-checkout-data.py => decrypt-visa-src-data.py} (98%) diff --git a/VisaCheckout/create-visa-checkout-transaction.py b/VisaCheckout/create-visa-src-transaction.py similarity index 98% rename from VisaCheckout/create-visa-checkout-transaction.py rename to VisaCheckout/create-visa-src-transaction.py index cfccee0..0ef447b 100644 --- a/VisaCheckout/create-visa-checkout-transaction.py +++ b/VisaCheckout/create-visa-src-transaction.py @@ -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 @@ -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() diff --git a/VisaCheckout/decrypt-visa-checkout-data.py b/VisaCheckout/decrypt-visa-src-data.py similarity index 98% rename from VisaCheckout/decrypt-visa-checkout-data.py rename to VisaCheckout/decrypt-visa-src-data.py index fc6b213..da86341 100644 --- a/VisaCheckout/decrypt-visa-checkout-data.py +++ b/VisaCheckout/decrypt-visa-src-data.py @@ -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 @@ -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() diff --git a/list_of_sample_codes.txt b/list_of_sample_codes.txt index 120e3cd..7c6de8d 100644 --- a/list_of_sample_codes.txt +++ b/list_of_sample_codes.txt @@ -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 diff --git a/test-runner.py b/test-runner.py index 443d3a3..5f2a5b3 100644 --- a/test-runner.py +++ b/test-runner.py @@ -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")