
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
- Can't specify $id when creating a row th...
When executing ```python tablesDB.create_row( database_id, table_id, row_id, { rels=[ { $id=id1, node1=id2, node2=id3, }, ...
- Is NextJs middleware deployed over the e...
As the question says is NextJs middleware deployed over the edge in sites ? Also, are Apppwrite functions deployed over the edge?
- no. of rows selection
give option to select no. of rows to list per page
