Skip to content

Commit 9853bd1

Browse files
authored
Merge pull request AuthorizeNet#39 from saikatbasu01/master
Added randomization for account number in debit-bank-account sample code
2 parents e02f885 + 5ff0a6e commit 9853bd1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PaymentTransactions/debit-bank-account.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def debit_bank_account(amount):
2929
accountType = apicontractsv1.bankAccountTypeEnum
3030
bankAccount.accountType = accountType.checking
3131
bankAccount.routingNumber = "121042882"
32-
bankAccount.accountNumber = "1234567890"
32+
bankAccount.accountNumber = str(random.randint(10000,999999999999))
3333
bankAccount.nameOnAccount = "John Doe"
3434

3535
# Add the payment data to a paymentType object

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