#adambutler
1 messages · Page 1 of 1 (latest)
Test mode ID: sub_1NIpqvBlsszCFRQ0ZnS7rFOM
It seems like the Price is in the plans field. This might be because you're using an older API version.
Could you try sending these with a newer version and see if this is the case?
Plans is a deprecated concept now, but this might be how it used to work before.
Ahh I see in 2020-08-27
On subscription schedules, phases.plans has been renamed to phases.items. This applies for the subscription schedule object as well as create and update requests.
I have the API docs set to my correct version 2019-12-03 and it says items so I think this might just be an issue with the docs then.
Where do you see the docs for 2019?
Stripe only shows the latest docs
No, docs are always the latest.
I'd expect to see a warning panel (like this one) on this propery though right?
I've never noticed this before actually. Yes, probably it would make sense.
Thanks for your help. After using 2020-08-27 the key I expected to see Stripe::SubscriptionSchedule.retrieve(id).phases[0].items is now present.
Happy to help!
👋 taking over for my colleague. Let me know if there's any follow-up Qs I can answer!