#Manu.El
1 messages ยท Page 1 of 1 (latest)
Hi! Let me help you with this.
You can follow this guide: https://stripe.com/docs/payments/checkout/cross-sells
ok nice! im gonna check it out and if i have any question ill text you again ๐
Sure. Happy to help.
So the only way to activate cross-selling is through the dashboard?
Is there a way that, for example, I can choose an amount from my page and thus tell stripe the amount that I want from that cross sale?
Hi ๐ jumping in as my teammate needed to step away. Yes, cross-sell functionality is currently only available to set up through the dashboard.
Oh๐๐ตโ๐ซ
But the quantity of that product can be modified? Or just 1?
It cannot be adjusted, it is only allowed to be 1 currently.
https://stripe.com/docs/payments/checkout/cross-sells#:~:text=The quantity of cross-sell line items cannot be adjusted. The current maximum is 1.
Will you know whether you want to include an additional item before you create the Checkout Session? If so, you could include that item when creating the Checkout Session.
Yes, because the idea is that the client can choose a plan for his subscription and then choose a certain amount of an extra product (which would be cross-selling).
so i want to know if that i can modify that amount of that "extra product"
Alright, if you know you want to include additional items when creating the Checkout Session, then you can provide multiple items in the line_items array. If the additional offerings are not already associated with a Price and Product in your Stripe account, then you can use price_data and product_data to provide the necessary information to create those objects in an adhoc fashion:
https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-line_items-price_data
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! ill check it