I'm encountering a persistent issue where one of my functions, acting as a webhook endpoint, is not executing the latest active deployment when triggered by an external service.
Environment:
Appwrite Version: Appwrite Cloud
Function Runtime: Node.js (using ES Modules)
Trigger Type: External HTTP POST request from the Razorpay payment gateway.
Problem Description: I have an Appwrite Function (verifyPayment) that serves as a webhook to confirm payments from Razorpay. The function has been deployed and has public execute access (any).
When I trigger the function manually from the Appwrite Console ("Execute now"), it correctly runs the latest active deployment.
However, when the function is triggered by the Razorpay webhook (an external POST request to the function's domain), it consistently executes an old, cached version of the code.
Recommended threads
- Locked out from my own account
I've create an appwrite account using onedevcontext@gmail.com and tried upgrading to Pro multiple times but failed as the Credit Card would not be accepted, I t...
- Not able to upgrade to Appwrite Pro
This is my project ID - 69f5bee60036512d2d52 I've tried multiple credit cards now and I still face the same error "Your card was declined". But I've used the s...
- Storage System
Hey guys, quick question regarding massive storage scaling. I’m working in digital forensics and I’m constantly dealing with huge binary disk images, usually be...