#Samdee
1 messages ยท Page 1 of 1 (latest)
Hi ๐
When you say "first amount more expensive" do you mean there is an additional charge when a customer first subscribes?
hi, yes. a kind of subscription charge
Hmmmm... we have a parameter when creating a Subscription called add_invoice_items . This lets you add one-off charges to the next invoice generated by that subscription: https://stripe.com/docs/api/subscriptions/create#create_subscription-add_invoice_items. But I'm not seeing that option for Checkout Sessions
Wait
I think I recall how to do this, let me test
great many thanks
Okay so the way you do this is by combining your recurring price in the line_items for the Checkout Session with a separate price that preresnts the one-off charge.
Here is an example of how that will look in the Checkout payment page
You can see it clearly displays the one-off charge as something that will be paid now and then the lower price will be billed monthly
This means that my supplement must not appear in the "line_items" ?
- what do you mean by "my supplement"?
- Anything you wish to bill the customer for must be in the
line_items