#laurag7440

1 messages · Page 1 of 1 (latest)

small totemBOT
swift geyser
ivory river
#

When trying to create a subscription schedule, I am encountering the following error: TypeError: Cannot read properties of undefined (reading 'create'). However, I do not have any issues using stripe.subscriptions.create to create regular subscriptions.

stripe.subscriptionSchedule.create({
customer,
start_date: startDate,
end_behavior: "release",
phases: [
{
items: [{ price, quantity: 1 }],
iterations: 1,
},
],
});