All my appwrite cloud variables
So what are you actually trying to do?
Endpoints, function project ids
I'm trying to get a subscriptionId
Everything works normally but I'm trying to handle payment on the cloud
I see, As long the payment handling process is just a REST requests, it should work.
Weird
Not sure what to do
Are you getting the results you wants from here?
Nope
Those are only function variables, maybe I need to add some urls to my firewall?
So what you get back?
I get my function variables
Like api key, endpoint, project id
Are you sure you're not returning those anywhere else in your Function?
I gave up guys. I went back to the in client solution since it works and doesn't complicate things
I don't think so. I think it's a firewall thing
Not sure how a firewall would make you get back Appwrite env vars
Not sure either
How to send and receive function data.
so it sounds like you're getting an error client side, not server side, right?
can you check what response.response before decoding it?
it might be helpful if you shared your full function code and the full (redacted) logs and stderr from the execution
Nope I have a working version that doesn't use functions. When I try to run that same code server side it doesn't complete payment and it didn't give me the subscriptionId
I'll send those in
Recommended threads
- HUGE OUTRAGE IN APPWRITE, I CANNOT ACCES...
I have 2k users trying to access, sending me messages. What am I supposed to do? Please solve this asap.
- All my apps are not opening now
All my apps are not opening now 200+ apps are not opening plz fast
- Dotnet functions on cloud
I'm trying to deploy my .Net8 functions to my project on cloud.appwrite through the CLI. I'm getting this error.