#cdric-chevillard_webhooks

1 messages ¡ Page 1 of 1 (latest)

toxic treeBOT
#

👋 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.

sterile crest
#

Hi there, is it about how to set up a local webhook endpoint?

idle olive
#

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

toxic treeBOT
livid fjord
#

What are you trying to achieve exactly?

idle olive
#

I'm trying to create a full paid checkout session page with a subscription type product.

livid fjord
#

And what is the exact technical issue you're facing?

idle olive
#

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"

livid fjord
#

Why exactly you can't do it?

#

Do you get an error?

idle olive
#

yes

#

zsh: no matches found: --line_items[0][quantity]=1

livid fjord
#

-d "line_items[0][quantity]"=2

idle olive
#

ok i will try thx