#tronix-discord-payment
1 messages ยท Page 1 of 1 (latest)
Hey @sturdy dome! Do you have more details about what that could mean?
Yes, I am making a discord bot for a freelancing server. We basically want to make the bot generate a link. When the buyers click the link they are taken to stripe's interface where they make their payment. So how can I make it generate such URLs?
@serene inlet
tronix-discord-payment
@sturdy dome what have you tried? Our docs are pretty exhaustive. We don't have a Discord integration but you would build your own bot and handle what you need. I'm not sure what's blocking you here yet
I wanted to know how can we generate such a link
I just want to enter the amount and then generate a link
What have you tried? Did you look at the docs?
like this is a Checkout URL and we have detailed and complete docs on Checkout: https://stripe.com/docs/payments/checkout
Well the docs were hard to navigate. But this is what I have done so far. (removed api key for ss)
this is just a picture
You're a developer, you're building a Discord bot. Let's talk developer to developer. What is your exact question because this is just a picture of code with no info
My question is how do i make the api generate a link for me. The success_url is needed when I run the code. How do I get a success_url.
did you read the doc?
this is the URL where we send the customer after the payment succeeds
you don't "get" a success url, you build it as the developer
ohk. So how do we take the customer to the payment gateway?
I don't know what that means either. What's a "payment gateway"? I'm sorry to keep pushing but did you take 5 minutes to read the Checkout guide end to end? ๐
we're spending more time with the back and forth than if you just read the doc
1/ Create a Checkout Session
2/ Get the Checkout URL to your client and show it to your customer
3/ Customer clicks the URL, gets to Stripe, pays there
4/ Customer gets redirected back to your success URL and has paid
Okay ill read the docs and get back to you. Thank you for your help ๐
https://stripe.com/docs/checkout/quickstart start there, implement this end to end, this should "click" a lot faster for you
Okay thanks so much