WilliamDASILVA / nuxt-stripe-module

A NuxtJS module to import Stripe client script.
MIT License
114 stars 20 forks source link

Card element is now legacy, use Payment #59

Open sts-ryan-holton opened 1 year ago

sts-ryan-holton commented 1 year ago

Hi, just opening this up here to everyone and also to figure out whether any changes need to be made to this repo. I'm currently using Nuxt JS 2 and am using the card element, however, the Payment Element is now the recommended way to utilise Stripe.

Wondering whether there's anyone else that have implemented this and could share some code for initialising the setup intent, the element and equally how they're confirming the payment?

I'm using Laravel Cashier as my backend too