Skip to content

Commit 152ce8e

Browse files
authored
Update create-customer-payment-profile.py
1 parent a1636f8 commit 152ce8e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

CustomerProfiles/create-customer-payment-profile.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import os, sys
2+
import random
23
from importlib.machinery import SourceFileLoader
34

45
from authorizenet import apicontractsv1
@@ -18,8 +19,8 @@ def create_customer_payment_profile(customerProfileId):
1819
payment.creditCard = creditCard
1920

2021
billTo = apicontractsv1.customerAddressType()
21-
billTo.firstName = "John"
22-
billTo.lastName = "Snow"
22+
billTo.firstName = "John" + random.randint(0, 10000)
23+
billTo.lastName = "Snow" + random.randint(0, 10000)
2324

2425
profile = apicontractsv1.customerPaymentProfileType()
2526
profile.payment = payment

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