#jacko-setupintent-params

1 messages · Page 1 of 1 (latest)

thick chasm
#

hello! This is a picture of code, what do you need help with exactly

junior sluice
thick chasm
#

That can only be modified server-side. Also you should never trust the customer id from the client. An attacker could use someone else's id

junior sluice
#

Ok that answers my question thank you

thick chasm
#

So basically your line 70 is fine if you debug, but you never want this in your live application

junior sluice
#

Ok if I am deploying the stripe server on firebase functions Can I call a variable for the stripe customer id from my database? Will I need to keep deploying every-time the variable changes?

thick chasm
#

Well it doesn't make sense to have a variable like that