#rizvan_api

1 messages ¡ Page 1 of 1 (latest)

eternal wigeonBOT
#

👋 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/1234404295047385189

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

outer sailBOT
wary wing
spice idol
#

Okay I have tried downloading the library too but its not working

#

So how to just create a payment link using the API?

wary wing
#

What is not working? any error messages?

spice idol
#

Yes I have an error with using the library with my framework

#

We can hit an API to create a payment link right? where we can we just pass the amount as parameter

wary wing
#

I need to know the details of the error so that I can start the troubleshooting.

spice idol
#

I think its because I am using php5.5 and not 5.6

wary wing
spice idol
#

Can you just send me an API example of how to create one

wary wing
#

You can find example code in the API reference doc

spice idol
#

I should add the products first and then create the payment links?

wary wing
#

Yes you are right. you should create price/product before creating a payment link.