#catsupcat

1 messages · Page 1 of 1 (latest)

austere loomBOT
zealous bison
#

It sounds like you're trying to fetch() a Stripe resource.

#

Which isn't possible for CORS reasons

#

Unless that's showing up in the console?

#

Do you have a screenshot?

dusky prawn
#

and the warning before the error messasges I'm getting "options.clientSecret is not a mutable property"

#

and before that I'm getting warning " Unsupported prop change on Elements: You cannot change the 'stripe' prop after setting it

#

OH I figured it out. It's because my environment variable for the Public Key

#

I was supposed to have it named NEXT_PUBLIC_STRIPE_PUBLIC_KEY

#

it was Next js environment variable issue

austere loomBOT