bennypowers / stripe-elements

Custom Element Wrapper for Stripe.js v3 Elements
https://stripe-elements.netlify.app/
79 stars 20 forks source link

Is the Payment Element supported? #102

Open mumispb opened 2 years ago

mumispb commented 2 years ago

I would like to know whether the <stripe-elements> supports the Payment Element (https://stripe.com/docs/payments/payment-element), i.e. if it supports all payment methods available or if it only supports the old card element. Following the React example, I was able to get the card form, but not the payment one.

bennypowers commented 2 years ago

does <stripe-payment-request> suit your needs?

mumispb commented 2 years ago

I am considering that one, but for now I would prefer to only be able to save a payment method token to be used later in a transaction just so I can unify user experience with another payment processor. As far as I know, the payment request asks for a payment method, but also triggers the transaction, correct?

baptisteArno commented 1 year ago

Do you have any plan on integrating the Payment Element? How hard would it be? I'm willing to contribute.

bennypowers commented 1 year ago

no plans, but would review a PR

baptisteArno commented 1 year ago

It is probably too hard for me to understand how it works at the moment 😢