Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

ravenshill's avatar

Vue interfering with Stripe checkout

I've used Laravel and Vue together in the past but with current version of both at Mar/2018 I have encountered a problem where Vue appears to be stopping the "pop-up" where Stripe collects the credit card, email, zip code from appearing. I don't need Vue in this project I've just cut it out. I removed window.Vue = require('vue'); from app.js

I was wondering if other have encountered, this? If you do, I hope this helps. I don't know what about Vue has caused the issue.

0 likes
2 replies
aurawindsurfing's avatar

I found similar issue trying to run a script inside a vue div, when I moved it outside it worked just fine. Try to see if this makes any difference maybe?

ravenshill's avatar

thanks aurawindsurfing, The stripe form was inside a div, id of app, which in turn vue was capturing stuff. I took the stripe form outside of Vue's scope and viola.

Thanks for you help. :-)

1 like

Please or to participate in this conversation.