DEV Community

Discussion on: Accepting payments with Stripe, Nuxt. js and vercel

Collapse
 
aiyasahmed profile image
Aiyash Ahmed

// eslint-disable-next-line no-undef
stripe.value = Stripe(
'pk_test_ZaFKDdkCzVR4hCmDsUKWodm200fZIzrcmf'
)

OR

check you nuxt.config.js file whether the script is inside the head.

I had the same problem. but I fixed it through my above solution.