I want to connect razorpay payment gateway's webhook to Appwrite functions, but it's a
- 0
- 5
- Functions
- REST API
Hi everyone, I want to connect razorpay payment gateway's webhook to Appwrite functions, but it's a POST request from payment gateway server but they are only asking the endpoint URL there is no way i can pass headers of Appwrite, how can i do this
I’m not sure what you mean here by “pass headers of Appwrite”?
I think the project ID header and API key
That's why Appwrite has custom function domains now: https://appwrite.io/docs/products/functions/execution#domains
ya you are right, later i understood that , Thanks for help
one thing am not sure, i had purchased my domain in bigrock.in, there i had added CName called myfunction.appwrite -> appwrite.gagan.in and my Appwrite server is linked with domain appwrite.gagan.in it has been 2days still inside the functions it's still showing that domain not verified i had tried clicking on retry button so many times. did i do anything wrong on verifying it. i had added the same custom domain in Appwrite function's custom domain as myfunction.appwrite.gagan.in
What happens when you browse to the function domain?
it's working fine with http url
but there is no https
ssl is not added
inside Appwrite functions it's showing like "verification status" as "failed" , certificate status as blocked by verification
i didn't set anything over there sir
That might be the problem then
i linked my Appwrite domain by setting the Appwrite ip address to the DNS, it has added the SSL certificate for the browser URL, but for function URL ssl is not there
am a newbie, am sorry if i was wrong
sir thanks it worked after setting the .env things, am really new to this, it would be better if there are some documentation about this, it would be helpful for any beginners.
after setting the domain it is working so perfect 😀
Hi there, can you share how did you implement the payments gateway, any guide or the function template, anything would be a great help.
Thanks
Recommended threads
- executeFunction intermittently throws Fo...
Environment: Flutter app using the Appwrite Flutter SDK, calling executeFunction for [describe endpoint, e.g. live-stream-related function]. *Description*: Int...
- HTTP Error 500 ''
Hello to everyone, I'm a Flutter developer and actually I'm developing an app using Appwrite.. during my tests and also massive ones I've noticed something we...
- Function's Static IP
Is it possible to have static. IP Address instead of Dynamic IP for getting the IP Address whitelist