Roots & Wishlist Member Stripe Form Error

My website is built with Roots theme.
I use Wishlist Member as my membership plugin
I use the Stripe payment feature of wishlist member to signup users.

the Wishlist Member 2.80.* versions work fine
but when I upgrade to 2.90.* the stripe payment doesnt go through, it gives the error

“… You passed an empty string for card. We assume empty values are an attempt to unset a parameter; however card cannot be unset. You should remove card from your request or supply a non-empty value”

If I use ANY OTHER THEME, the problem is solved, only the Roots theme is breaking this feature

please help

The answer of Benword on this post worked for me. He said

Maybe that plugin isn’t compatible with the latest jQuery? Try adding jQuery Migrate7 into the mix and see if that works. If it doesn’t, you can always just disable the Google CDN jQuery2 in lib/config.php to load the default jQuery from WordPress.

I simply commented out the jQuery CDN line in config.php
and the problem was solved.

Note: I realized that the default Wordpress jQuery comes with backward compatibility of older versions of jQuery as well. Since Roots Theme enforces the use of newer jQuery edition, the plugins (such as Wishlist member in my case) would not work.