#ferb0000
1 messages · Page 1 of 1 (latest)
HellO! Do you have a question about that error?
hello
yes
i have just modified a cloud function to include the setup_future_usage: off_session
and receive this error
here is the function
The error means your client-side code is trying to set setup_future_usage to a value other than off_session which isn't allowed since you're setting it server-side.
You need to either not set it server-side or not have your client-side code try to set it (or not use our client-side libraries/SDKs in ways that try to set it) to different values.
ahhh weird
ok thank you, will check this out
any chance i can override this here
perhaps by setting it to none then setting it to off_session
What do you mean by "here"?
sorry that wasnt clear, I am refering to a initStripePayment js Google CloudFunction
If you wrote the code for it yeah, you could change it to not change setup_future_usage at all.
thats the thing, i didnt
i am using flutterflow.
and am trying to override their payment integration
with stripe
to use off_session
Sounds like flutterflow might be changing it, you would need to talk to the people who wrote/maintain that code about this issue.
I'm sorry, but I can't help with code we don't own or control.
no problem