Skip to content

Commit bfae01b

Browse files
committed
Match the names as used in the API Reference
1 parent 645aca8 commit bfae01b

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

PayPalExpressCheckout/authorization-and-capture-continue.py renamed to PayPalExpressCheckout/authorization-and-capture-continued.py

Lines changed: 2 additions & 2 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 authorization_and_capture_continue(refTransId, payerID):
9+
def authorization_and_capture_continued(refTransId, payerID):
1010
merchantAuth = apicontractsv1.merchantAuthenticationType()
1111
merchantAuth.name = constants.apiLoginId
1212
merchantAuth.transactionKey = constants.transactionKey
@@ -59,4 +59,4 @@ def authorization_and_capture_continue(refTransId, payerID):
5959
return response
6060

6161
if(os.path.basename(__file__) == os.path.basename(sys.argv[0])):
62-
authorization_and_capture_continue(constants.transactionId, constants.payerId)
62+
authorization_and_capture_continued(constants.transactionId, constants.payerId)

list_of_sample_codes.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ debit_bank_account 1 1
2525
refund_transaction 1 0
2626
update_split_tender_group 1 0
2727
void_transaction 1 0
28-
authorization_and_capture_continue 1 1
28+
authorization_and_capture_continued 1 1
2929
authorization_and_capture 1 1
3030
authorization_only_continued 1 1
3131
authorization_only 1 0

test-runner.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -395,14 +395,14 @@ def void_transaction(self):
395395
modl = imp.load_source('modulename', 'PaymentTransactions/void-transaction.py')
396396
return modl.void_transaction(response.transactionResponse.transId)
397397

398-
def authorization_and_capture_continue(self):
399-
print("authorization_and_capture_continue")
398+
def authorization_and_capture_continued(self):
399+
print("authorization_and_capture_continued")
400400

401401
modl = imp.load_source('modulename', 'PayPalExpressCheckout/authorization-and-capture.py')
402402
response = modl.authorization_and_capture(self.getAmount())
403403

404-
modl = imp.load_source('modulename', 'PayPalExpressCheckout/authorization-and-capture-continue.py')
405-
return modl.authorization_and_capture_continue(str(response.transactionResponse.transId), "6ZSCSYG33VP8Q")
404+
modl = imp.load_source('modulename', 'PayPalExpressCheckout/authorization-and-capture-continued.py')
405+
return modl.authorization_and_capture_continued(str(response.transactionResponse.transId), "6ZSCSYG33VP8Q")
406406

407407
def authorization_and_capture(self):
408408
print("authorization_and_capture")

0 commit comments

Comments
 (0)