#高飛-java
1 messages · Page 1 of 1 (latest)
hello @rich rampart ! we dropped support for java1.7 in Stripe SDK version 9.0.0. The Stripe SDK versions < 9.0.0 is really old, and if you look at the changelog : https://github.com/stripe/stripe-java/blob/master/CHANGELOG.md. There are many changes with regards to Checkout Sessions in later versions. I'd strongly recommend upgrading your java version.
Yes, I agree with the problem of too old versions
But this is the company's operating system version and there is nothing I can do to make the decision to upgrade it.
I had already succeeded in stringing the Session
Before going online, I reconfirmed that 1.7 does not seem to support
what's the error you're seeing out of curiosity?
I am not actually using 1.7 for my local development
It's the host that uses 1.7
When I was checking if 1.7 was supported, I found that it was dropped
so I downgraded Stripe from version 20 to 8.1.0
This prevented me from importing Stripe Session
ah yeah, cause Checkout Session was only included in 9.3.0 : https://github.com/stripe/stripe-java/blob/master/CHANGELOG.md#930---2019-04-16
unfortunately, yes, there's no way to move forward unless the company upgrades
Is stripe 8.1.0 still available?
If you want to use 8.1.0, what is the best way to run payments?
honestly, i don't recommend using 8.1.0 at all, there's a lot of improvements and changes made since then which is not supported by 8.1.0. You'll probably have to do various workarounds whereby you'd reinventing the wheel and would be opening yourself up to all sorts of unhandled edge cases and increasing problems as your integration gets more complex.
If you want to try though, you select the Custom Payment Flow and select the backend as java on this page : https://stripe.com/docs/payments/quickstart
I agree, I'm actually very reluctant to use old versions or things that are too old, and I'm very frustrated.
Thank you very much for your help!
Let me take a look at this page