File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66constants = imp .load_source ('modulename' , 'constants.py' )
77from 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
106106if (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 )
You can’t perform that action at this time.
0 commit comments