#ferb0000

1 messages · Page 1 of 1 (latest)

digital etherBOT
paper glade
#

HellO! Do you have a question about that error?

misty girder
#

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

paper glade
#

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.

misty girder
#

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

paper glade
#

What do you mean by "here"?

misty girder
#

sorry that wasnt clear, I am refering to a initStripePayment js Google CloudFunction

paper glade
#

If you wrote the code for it yeah, you could change it to not change setup_future_usage at all.

misty girder
#

thats the thing, i didnt

#

i am using flutterflow.

#

and am trying to override their payment integration

#

with stripe

#

to use off_session

paper glade
#

Sounds like flutterflow might be changing it, you would need to talk to the people who wrote/maintain that code about this issue.

misty girder
#

😦

#

their support is nothing like stripe

paper glade
#

I'm sorry, but I can't help with code we don't own or control.

misty girder
#

no problem