ectoflow / vue-stripe-elements

A Vue 2 component collection for Stripe.js
MIT License
530 stars 124 forks source link

Support for Stripe Payment Intents #66

Closed CromonMS closed 5 years ago

CromonMS commented 5 years ago

Hi,

Great little component here, saving my bacon right now, any thoughts about supporting Stripe PaymentIntents?

https://stripe.com/docs/payments/payment-intents/quickstart https://stripe.com/docs/stripe-js/reference#stripe-handle-card-payment

Seems you'd need support for the stripe.handleCardPayment() function.

Thanks

CromonMS commented 5 years ago

take a look here if you get a chance, I'm not entirely sure I have nailed it, and wont have a chance to test it right now: https://github.com/CromonMS/vue-stripe-elements/tree/adding-new-functions

KaisNeffati commented 5 years ago

This is a very important feature as it would takes effect starting septembre in all europe ! @sedrickcz when could we have this please ^^ !!

stevehayles commented 5 years ago

Please see pull request at https://github.com/fromAtoB/vue-stripe-elements/pull/74

Limited testing but working very well with the 2 main possible flows within the Payments Intent API

coryrose1 commented 5 years ago

Just checking to see if there has been any update in integrating Payment Intents?

Laravel Cashier v10 no longer accepts a Stripe Token to create a card source.

Denoder commented 5 years ago

You also need to add handleCardAction

sedrickcz commented 5 years ago

With v.0.3.0 we are using Payment Intent API