#Mr Stinky Pants
1 messages · Page 1 of 1 (latest)
You'd use this API: https://stripe.com/docs/api/subscription_items/create
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
i was just looking at doing it in dashboard for a start
Erm, should be straight forward. Not too familiar with the Dashboard
There's a 'prorate changes' toggle too
theres no date on the item
What date are you expecting?
when you add a product part way through the month
you want to charge from that date
Yep, the Dashboard the assumes the update is effective from 'now' and prorates accordingly
but that means you have to do it on the day
for testing this i would like to set a subscription to nov 1
but after pressing save it stays on today
the billing cycle
Sure, then you'll need to use the API for that where you can pass the proration_date param: https://stripe.com/docs/api/subscription_items/create#create_subscription_item-proration_date
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Ok I’ll have a go cheers