Stripe CardFeild Doesn't Work on Flutter Web

42 views Asked by At

I have both the flutter_stripe and the flutter_stripe_web packages added to pubspec.yaml and payments works fine for Android using the CardFeild widget but for Web I always get the following error :

You may test your Stripe.js integration over HTTP. However, live Stripe.js integrations must use HTTPS.

and the payment fails, I have tested this on test mode and live mode and it doesnt work on both... for android it works on both!

also my website does have an https certificate but i am still getting the same error

0

There are 0 answers