#drakhaon

1 messages · Page 1 of 1 (latest)

distant dirgeBOT
unreal glacier
#

I don't think so but I am double checking and will get back to you

#

Unfortunately it looks like Checkout does not support this at the moment, but I will put in feedback for this as I can definitely see the utility of showing a simplified Checkout page like that

proven jewel
#

Second question related to checkout, where can we choose to display option like upsell, free trial etc ?

#

And to bypass the current limitation, is it possible to create a subscription with our backend setting the price directly instead of using a priceId ?

unreal glacier
#

Upsells are a configuration on Price objects
https://stripe.com/docs/payments/checkout/upsells
Subscription settings like free trials can be set via the subscription_data parameter when creating your checkout session
https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-subscription_data-trial_end

And to bypass the current limitation, is it possible to create a subscription with our backend setting the price directly instead of using a priceId ?
You can specify a price like this, but it would be the same UI as far as I am aware. Unless you mean instead of multiple line items you just include one, that might get closer to what you are thinking of.

proven jewel
#

It was more something like: the pricing for this client is 75$, and for the other one it's 80$ and this us that calculate the price on our side and then use it on Stripe Checkout

unreal glacier
#

Gotcha, you can definitely do that with the price_data parameter when creating these subscriptions

#

Though I don't know if you can do an upsell from a price_data price to another predefined one. I can look in to that if you are interested in doing so

proven jewel
#

Thanks, it would be nice to know if we can make an upsell like this too. Either by passing two price or something like that ?

unreal glacier
proven jewel
#

Ok thanks you for all these answer. Have a good day !