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
- How to use dart workspaces to deploy a f...
Hello, I'm developing a Flutter application and I would like to leverage dart pub workspaces to deploy a function with a dart runtime as advertised here : http...
- [SOLVED] Unable to push function from AP...
When trying to push functions from Gitlab CI (with an API KEY and using the CLI), i saw that i was unable to push functions. ``` $ appwrite client --endpoint $...
- Appwrite Functions not executing with a ...
I have multiple functions running with a CRON Job however, they all stopped executing around 35 mins ago from this post. Project ID:6a4a03920012bede992d Region:...