#zenoitulos

1 messages · Page 1 of 1 (latest)

plush valeBOT
reef ravine
#

hi! there's really no reason to be using stripe.js v2 today.

#

so you'd just use v3 really. Did you have a specific reason for thinking you need to use v2?

stiff bane
#

I know.. we really would like to keep our UI as it is, for the short term. Eg not use the Elements...

#

that is the reason I am looking into V2

reef ravine
stiff bane
#

ok, let me try that then...

reef ravine
#

yeah I'm not seeing any way to pass that, if you're using that library you'd have to use the legacy Connect approach of using the API key. I'll emphasize again this is not recommended!

There's also a way to use stripe.js v3 but without Elements for the inputs. You need to contact our support/sales teams to get access to that though.

stiff bane
#

oh..nice

#

so for the v2... is there a timeline for this to go "away"?

#

just curious..

reef ravine
#

no timeline. But in 2022 2023 you should not be building a new integration using it.

As we would see it, the options would be

  • use Elements (99% of Stripe merchants)
  • if you are an advanced/larger/multiprocessor merchant and understand the PCI implications of building your own card inputs, you can work with your Stripe account manager etc to get access to that "v3 without Elements" flow I referenced.