File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 6
6
constants = imp .load_source ('modulename' , 'constants.py' )
7
7
from decimal import *
8
8
9
- def create - an - accept - payment - transaction (amount ):
9
+ def create_an_accept_payment_transaction (amount ):
10
10
11
11
# Create a merchantAuthenticationType object with authentication details
12
12
# retrieved from the constants file
@@ -67,7 +67,7 @@ def create-an-accept-payment-transaction(amount):
67
67
createtransactionrequest .merchantAuthentication = merchantAuth
68
68
createtransactionrequest .refId = "MerchantID-0001"
69
69
createtransactionrequest .transactionRequest = transactionrequest
70
-
70
+
71
71
# Create the controller and get response
72
72
createtransactioncontroller = createTransactionController (createtransactionrequest )
73
73
createtransactioncontroller .execute ()
@@ -104,4 +104,4 @@ def create-an-accept-payment-transaction(amount):
104
104
return response
105
105
106
106
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 )
You can’t perform that action at this time.
0 commit comments