#lewibs_webhooks

1 messages ¡ Page 1 of 1 (latest)

unborn lintelBOT
#

👋 Welcome to your new thread!

⏱️ We automatically close idle threads, which makes them read-only. Make sure you stick around to chat in realtime!

🔗 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/1212443201433247834

📝 Have more to share? You can add more detail below, including code, screenshots, videos, etc.

⏲️ 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. Thank you for your patience!

hard krakenBOT
#

Hello! We'll be with you shortly. 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.

orchid warren
#

Hello! What you're describing is not possible. Payment Links are designed to be shared with many different people, but Customers are designed to represent a single person. Once a Payment Link creates a Checkout Session for a specific transaction it might create a Customer and asssociate it with that Checkout Session, but you can't specify an existing Customer.

#

Regarding your previous threads being closed, we help in realtime here and close idle threads. If you would prefer async support via email you can contact Stripe support instead: https://support.stripe.com/contact/email

atomic pecan
#

so once i make a session how would i start a payment?

#

would this work for passing in the customer id?

orchid warren
#

No, buy buttons aren't going to work, those use Payment Links.

#

You'll need to write custom code to use Checkout Sessions directly.

#

Once you create the Checkout Session there will be a url property that you redirect your customer to.

atomic pecan
#

ahh i see

#

so im using react,

I could make a hook which returns a url that I could attach to the button ibe been using and then since im using the api I can add customer id and stuff like that?

orchid warren
atomic pecan
#

cool ill check that out

#

it looks like i need to set the quantity. Can I pass a flag that allows the user to change it?

orchid warren
#

Checkout does give you the ability to let your customers adjust the quanity, yeah, you can set that if you want.

atomic pecan
#

attempting now be back in a sec

orchid warren
#

@atomic pecan You around? This thread has been idle for a while and will be closed soon.