#cdric-chevillard_webhooks
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1301102167758999594
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- cdric-chevillard_subscription-billing-anchor, 17 hours ago, 15 messages
Hi there, is it about how to set up a local webhook endpoint?
I do this for the start : stripe trigger checkout.session.completed
It works, but it doesn't suit the situations where I act next.
So it's for that, i try to create a specific checkout
What are you trying to achieve exactly?
I'm trying to create a full paid checkout session page with a subscription type product.
And what is the exact technical issue you're facing?
I can't create the correct cmd cli:
stripe checkout.sessions.create
--success_url="https://test.local/mes-cabinets/"
--cancel_url="https://test.local/mes-cabinets/"
--mode="subscription"
--line_items[0][quantity]=1
--line_items[0][price]="price_1QF93RJD16ieXYBwtbiC76HT"
--client="cus_R7Vmu77mwnurqv"
--allow_promotion_codes=true
--billing_address_collection="required"
--custom_text[submit][message]="Membership from 01/01/2024 to 12/31/2025"
Nested parameters should be provided like this: https://docs.stripe.com/api/checkout/sessions/create?lang=cli
-d "line_items[0][quantity]"=2
ok i will try thx