#tronix-discord-payment

1 messages ยท Page 1 of 1 (latest)

shy totemBOT
serene inlet
#

Hey @sturdy dome! Do you have more details about what that could mean?

sturdy dome
#

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

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

sturdy dome
#

I just want to enter the amount and then generate a link

serene inlet
#

What have you tried? Did you look at the docs?

sturdy dome
serene inlet
#

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

sturdy dome
#

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.

serene inlet
#

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

sturdy dome
#

ohk. So how do we take the customer to the payment gateway?

serene inlet
#

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

sturdy dome
#

Okay ill read the docs and get back to you. Thank you for your help ๐Ÿ’™

serene inlet
sturdy dome
#

Okay thanks so much