#numericity
1 messages ยท Page 1 of 1 (latest)
Hi ๐
I am not aware of any plans to add that to the subscription_data parameter but I could raise it as a feature request.
What do you mean you "need the proration". Are you creating subscriptions partway through a billing cycle?
That makes 2 people that have requested it. Shall we drop everything and get it implemented? ๐
Exactly. I'm using this with Stripe Connect, and we allow our customers to optionally determine the day of the month they'd like to bill their customers
Wait...so are you just not starting the subscription up front? And you then begin the sub with the billing cycle?
I'm trying to understand if using a free trial period would work in that case
Yeah, so the billing_cycle_anchor is set to a date in the future, and Stripe automatically creates a prorated invoice for the period up until that date
Okay so they are getting charged for the partial billing cycle up front.
Yeah
So I guess the trial approach wouldn't fit that use case. I'll file the feedback!
You'd have to create the Coupon object and pass the ID in the discount.coupon parameter.
https://stripe.com/docs/api/checkout/sessions/create?lang=curl#create_checkout_session-discounts-coupon