#rizvan_api
1 messages ¡ Page 1 of 1 (latest)
đ 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.
I'm not familiar with codeigniter, but if you are looking for the Stripe PHP library, you can get it at https://github.com/stripe/stripe-php
Okay I have tried downloading the library too but its not working
So how to just create a payment link using the API?
What is not working? any error messages?
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
I need to know the details of the error so that I can start the troubleshooting.
I think its because I am using php5.5 and not 5.6
And no you can't pass amount to payment link API directly, refer to the API references for the list of supported params https://docs.stripe.com/api/payment_links/payment_links/create
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Can you just send me an API example of how to create one
You can find example code in the API reference doc
I should add the products first and then create the payment links?
Yes you are right. you should create price/product before creating a payment link.