#Matty-sub-schedules
1 messages · Page 1 of 1 (latest)
No worries. I see that. 🙂 Thank you for your help!
Here is an example of a scheduled sub in test if that helps. I've added this meta to the schedule api call: "recurring_record_id". I would like this to propagate over to the subscription.
sub_sched_1KRKHxBBamLIIR3ZClhhly4a (changed)
you need to set metadata inside the phases
0: {
items: {
0: {
price: "price_123",
quantity: "1"
}
},
iterations: "12",
metadata: {
key1: 'value1',
}
}
},```
it is, you're just in the wrong place
My life story!
put your cursor right before Iterations inside SubscriptionSchedulePhaseOptions()
I am in the SubscriptionSchedulePhaseOptions... there is nothing in that signature for Metadata.
oh my bad, sorry for the confusion. We have that feature but it's in private beta today, not public I'm sorry
So yeah we don't support this publicly yet but you could contact our support team and ask for access: https://support.stripe.com/contact
When it's pulled out of beta, I assume that's when the SDK would support it? Without the SDK supporting it, I am not sure how we would implement using it.
yes when it's public the SDK would support it. And there are ways to use it even in beta with AddExtraParam in our library but first you need to be allowed to access the beta which is not a sure thing. Asking our support team is best
OK. thanks!