
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 stuck on 'processing' forever i...
I've made an image to zip convertor function, when I execute it through console it's forever stuck on 'processing' but when I try to execute it through postman ...
- Is it possible to change the model to a ...
Is it possible to change the model to a custom model, like: https://chatgpt.com/g/g-rmdbtMF7a-expedia , or only the base 3.5 turbo is possible for chatting?
- How many functions can I run simultaneou...
I want to konw, how many functions can I can simultaneously in appwrite cloud? I want to make a chat app where user sends text and text is processed using funct...
