#MarkLloyd-
1 messages · Page 1 of 1 (latest)
That seems to imply one of the things being passed into the function is not defined. Can you console.log(); the stripeSubscriptionId and stripeSubscription variables right before that function to see what (if anything) they hold?
"message": "updateSubscriptionSchedule: Updating stripe subscriptionScheduleId: "sub_sched_1LB7LHJSxBSraLWCTMIBZoeT" schedUpdate: {"metadata":{}}"
In this case schedUpdate is simply removing any metadata.
same update works fine for a plain subscription
The path in update code was wrong 🤪
needs to be subscriptionSchedules and not subscription_schedules