
Hello there!
I come from firebase background, and I'm new to appwrite. i need to implement the stripe payment gateway with my flutter appwrite app as well as https://payme.io/ payment gateway with appwrite and flutter app. i need little guidence from appwrite ninja (expert).

For you to be able to use Stripe with Appwrite you'll need a way to complete Stripe fulfillment process, this is probably true to other Payment gateways out there.
Meaning, you'll need to have some way to except data from the outside into your Appwrite, so your Appwrite instance will act as Webhook receiver. Which is not supported yet in Appwrite. (it will be in the next functions gen https://github.com/appwrite/appwrite/discussions/5016)
As of now you'll need to proxy somehow the incoming webhook to your Appwrite because you'll need to pass the headers somehow Check this: https://discord.com/channels/564160730845151244/564160731327758347/1126589863819489280

thank you so much for giving me some direction.

does this help at all? There's a few tutorials out there using appwrite functions, flutter, and stripe

Thanks for this article, I'm trying to do just payments, not subscriptions, let me see how this article can help me do that. but definitely I will need subscription too in future! Thanks to everyone for helping! really appreciated!

I think it's practically the same way

No much difference

good luck! 🙂

@Binyamin The functions v4 will not support stripe because it parses the request data for the function. Stripe security validation requires the function to have access to the raw unparsed request body. [EDIT: looks like it will and the github discussion wasn't updated]

I think it planned to pass also the raw data.
Check this for example in the node js v4


Check row 58 as well

great -- thanks for digging that out for me. The solution in the past as been to use Railway for a free proxy but railway just trashed their free tier, so I'm having to figure this out again.

Do you happen to know what the request size limit is? I think I remember meldiron telling me it was like 16MB or something but I could be wrong.

The request size is relevant for stripe because the request size has been too small for some stripe webhook events.

In the executor right now is 8MB

i currently use vercel

I've only used their static hosting -- looks like their serverless functions could work. Are you using vercel for stripe webhooks?

payment webhook, but not stripe. If you have any questions or need any more help, feel free to create a new post

Ohh i didn't realized that there's a question. Here's Steven solution with Vercel https://github.com/stnguyen90/appwrite-function-proxy
Recommended threads
- Unable to add permission when creating a...
I am creating a collection from a cloud function using the Appwrite Dart server SDK, and I want to add permissions so it can be accessed by users. I added code ...
- email verification error??
Hey, I'm trying email verificacion with this signup implementation using deep links on iOS, but when creating the account I get this exception: Exception: Erro...
- Resource limit on the free plan
I'm currently building a health-focused tech project as part of a student initiative, and I’ve been using Appwrite extensively for backend services. As part o...
