Back

Is it possible to use the stripe webhook with appwrite?

  • 0
  • General
  • Webhooks
ianmont
18 Jun, 2023, 05:28

I have been using appwrite functions with the stripe api and so far it has worked perfectly, however now I need to receive real time updates that stripe provides through its webhook, I was wondering if there is a chance that I could run a function forever or if Is there a way to open an endpoint in my appwrite to receive real-time updates from stripe?

If they do not exist, what alternatives could I use?

thanks

TL;DR
Is it possible to use the stripe webhook with appwrite? An alternative solution is to use Cloudflare Workers, as suggested in this link: https://github.com/BoolCode/appwrite-funcover. In the future, Appwrite's gen 4 function will have this option. For now, there is a way for self-hosted solutions.
Binyamin
18 Jun, 2023, 05:31

In the future - Appwrite's gen 4 function - it will be an option.

For now there's a way for self-hosted

Binyamin
18 Jun, 2023, 05:31

You can use Funcover and flatten the headers from Stripe into your function

Binyamin
18 Jun, 2023, 05:32
Binyamin
18 Jun, 2023, 05:34

And if you look for a quick alternative. Before Funcover I've used Cloudflare Workers to achieve this exactly.

ianmont
18 Jun, 2023, 05:37

I'll take a look at it 👀 , thanks

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