Back

Function Triggering

  • 0
  • Databases
  • Flutter
  • Functions
frankenstein
5 Feb, 2024, 10:03

I have a payment function from 3rd party provider who supports redirect url and webhooks when payment is done. How can i use to trigger a function that verifies a payment and update payment data in my database by using url or something?

TL;DR
Developers are wondering if they can use a redirect URL to trigger a function. It is possible to use the functions API to integrate it. They want to know if it's possible to make an API request once the payment is done. They have a payment function from a third-party provider that supports redirect URL and webhooks when the payment is done. They want to know how to use it to trigger a function that verifies the payment and updates payment data in their database using a URL or something similar. Solution: Yes, it is possible to use the redirect URL and webhooks to trigger a function. The developer can set up the payment function
D5
5 Feb, 2024, 10:20

Is it possible to make an API request with it once the payment has been done?

D5
5 Feb, 2024, 10:20

If so, you can use functions API to integrate it

frankenstein
5 Feb, 2024, 10:21

the 3rd api has a webhook option and redirect url

frankenstein
5 Feb, 2024, 10:22

i was thinking if i coud use a redirect url to trigger a function

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more