#afenster

1 messages · Page 1 of 1 (latest)

waxen bisonBOT
fervent drum
#

What's the usecase for using the new version? You should be able to continue with the old version if you like

lapis star
#

We want to switch to using the Payment Element. In the sample code it has a switch statement based on the PaymentIntent status. The old PaymentIntent statuses aren't in the switch statement.

I could modify the switch to look for the old statuses. But if I'm making something new, shouldn't I use the latest? Is there a problem with using the old one?

#

Is there a compliance issue with using the 2016 version? Am I missing out on any features? I'm 7 versions behind. I must be missing out on something.

fervent drum
#

Yeah a ton has changed since 2016. But, if your organization isn't ready to migrate to a new version for whatever reason, then you will have to adjust your code to work with the older api version

#

I do recommend using the latest version

#

But I get that that's a business decision and comes with tradeoffs

lapis star
#

Is it possible to run one version for new things: Terminal and Payment Element and another version for older things: Card Element?

#

Can we set the version in our code? Or is there only the one setting in the Dashboard that will apply to everything?

fervent drum
lapis star
#

OK, I'll read through that. Thank you. Have a good weekend.