Skip to content

Commit 279ef38

Browse files
committed
Updated dates used in requests
1 parent 2d0bf26 commit 279ef38

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

PaymentTransactions/authorize-credit-card.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,4 +148,4 @@ def authorize_credit_card(amount):
148148

149149

150150
if (os.path.basename(__file__) == os.path.basename(sys.argv[0])):
151-
authorize_credit_card(CONSTANTS.amount + 100)
151+
authorize_credit_card(CONSTANTS.amount + str(100))

RecurringBilling/create-subscription-from-customer-profile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def create_subscription_from_customer_profile(amount, days, profileId, paymentPr
1818
paymentschedule.interval = apicontractsv1.paymentScheduleTypeInterval() #apicontractsv1.CTD_ANON() #modified by krgupta
1919
paymentschedule.interval.length = days
2020
paymentschedule.interval.unit = apicontractsv1.ARBSubscriptionUnitEnum.days
21-
paymentschedule.startDate = datetime(2021, 12, 30)
21+
paymentschedule.startDate = datetime(2030, 12, 30)
2222
paymentschedule.totalOccurrences = 12
2323
paymentschedule.trialOccurrences = 1
2424

RecurringBilling/create-subscription.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def create_subscription(amount, days):
1818
paymentschedule.interval = apicontractsv1.paymentScheduleTypeInterval() #apicontractsv1.CTD_ANON() #modified by krgupta
1919
paymentschedule.interval.length = days
2020
paymentschedule.interval.unit = apicontractsv1.ARBSubscriptionUnitEnum.days
21-
paymentschedule.startDate = datetime(2021, 12, 30)
21+
paymentschedule.startDate = datetime(2030, 12, 30)
2222
paymentschedule.totalOccurrences = 12
2323
paymentschedule.trialOccurrences = 1
2424
# Giving the credit card info

0 commit comments

Comments
 (0)