Skip to content

Commit 385f9e2

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

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy