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
- Function running for more than 2 hours i...
This is my projectID: 669fe01b003800dd0503 Cloud functionID is 696ea05400147eb8eb3b I hope this doesn't count against my GB-hours?
- Session not found. Please run appwrite l...
I have encounter an issue with appwrite CLI They asking for a login session but in the doc, itβs mention that only setup client with endpoint / api key is enou...
- AppwriteException - Transaction with the...
I am using "node-appwrite" module and I have successfully created transaction id but when passing it to tablesDB.createRow function with some other required dat...