#Smbat-checkout
1 messages · Page 1 of 1 (latest)
hi there
can you share how you create the CheckoutSession? Like the exact code used?
yeah, I think that's the expected behaviour, if you do a mixed session of recurring and one time items, the trial period skips the payment of the recurring items, but the one time items are still charged for.
I assume that's not what you want and would want the customer to pay nothing at all for those items?
yes, I just want to provide free trial and after that one-time payment for the first month and plus usage based prices
for the next months only usage based prices must be used
is that possible? )
when you say "after that", when exactly?
I come to your site today and start a subscription using those options you posted. What do I pay today, and what do I pay on my first invoice next month?
for example create subscription with 14 days of free trial
when trial period ends
then charge one-time based price amount
immidiatly at the end of the trial
is that something that I need to care of ? like manually?
yeah, that's not really something that can be easily configured unfortunately
the most straightforward way is :
- create the ChecoutSession with just the recurring items and the trial period
- after that completes and the Subscription is created and you're handling the webhook, add the one-off items to the subscription via https://stripe.com/docs/billing/invoices/subscription#adding-upcoming-invoice-items
- the next invoice(after the trial) will automatically pull in those one-off items
that works but the drawback is the customer doesn't see the details of the one-off items in the Checkout page.
yes you are rigt karllekko, my roblem was just provide all information(how much exactly we are going to charge customer after free trial) at checkout page
can I create custom description on checkout page?
how flexible is checkout page configuration?
make sense, unfortunately I can't think of any good way to do this at all.
you can't really add any arbitrary description or text or so on
my only idea is you could add a Price for $0, and have it use a description to explain what it is, like "This will be charged after the trial", if you know what I mean? Just so that you can have a line item in the Checkout page with your own description but not actually charge anything extra. It's a bit hacky.
yes, better then nothing))