Skip to content

Commit 385f9e2

Browse files
authored
modify function name
1 parent 016f4dd commit 385f9e2

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

PaymentTransactions/create-an-accept-payment-transaction.py

Lines changed: 3 additions & 3 deletions
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-an-accept-payment-transaction(amount):
9+
def create_an_accept_payment_transaction(amount):
1010

1111
# Create a merchantAuthenticationType object with authentication details
1212
# retrieved from the constants file
@@ -67,7 +67,7 @@ def create-an-accept-payment-transaction(amount):
6767
createtransactionrequest.merchantAuthentication = merchantAuth
6868
createtransactionrequest.refId = "MerchantID-0001"
6969
createtransactionrequest.transactionRequest = transactionrequest
70-
70+
7171
# Create the controller and get response
7272
createtransactioncontroller = createTransactionController(createtransactionrequest)
7373
createtransactioncontroller.execute()
@@ -104,4 +104,4 @@ def create-an-accept-payment-transaction(amount):
104104
return response
105105

106106
if(os.path.basename(__file__) == os.path.basename(sys.argv[0])):
107-
create-an-accept-payment-transaction(constants.amount)
107+
create_an_accept_payment_transaction(constants.amount)

0 commit comments

Comments
 (0)