ezet / stripe-sdk

A simple and flexible Stripe library for Flutter with complete support for SCA and PSD2.
https://pub.dev/packages/stripe_sdk
Other
137 stars 137 forks source link

confirmPayment on Android showed the following error: HandshakeException: Handshake error in client (OS Error: CERTIFICATE_VERIFY_FAILED: certificate is not yet valid #160

Closed gorillatapstudio closed 1 year ago

gorillatapstudio commented 2 years ago

Has anyone met the following issue?

When calling Stripe.instance.confirmPayment(..) on Android, I received the following error.

HandshakeException: Handshake error in client (OS Error: CERTIFICATE_VERIFY_FAILED: certificate is not yet valid

sttripe-sdk Version: ^5.0.0-nullsafety.1

I don't have this error before upgrading to v5. The whole checkout workflow works in iOS and Web. I did add the intent-filter to the MainActivity as instructed in the example.

ezet commented 1 year ago

SSL issue with your server