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

+3-2
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)