This error is showed because flutter_stripe 1.3.0 is released. All of current project are still using 1.2.0. So, we can’t run our project no longer. So, this is quick work around solution to keep using with 1.2.0.

Add in app lib for stripe

You need to use in app packages to solve this issue as quick fix

  1. Download this package https://drive.google.com/file/d/1o5YHcYa8b7T5V54tl9eATUlvoijnwnx8/view?usp=sharing
  2. Unzip downloaded file
  3. Copy “flutter_stripe” folder to Project/packages/ folder

 

    4. After that, open pubspec.yaml

Copy to Clipboard

    

    5. Delete pubspec.lock file
    6. Run “flutter clean
    7. Run “flutter pub get

After that it should be ok to run without error.

If you like to know more about our products please check our portfolio (or) please send email to teamps.is.cool@gmail.com

Subscribe to our free newsletter