This was a PR I'd submitted to the original stripe plugin, but never got accepted there before the code was merged here into the main camptix:
The Stripe plugin uses jQuery.uniqueSort(), however, that function only exists in jQuery 3.x which many themes and even WordPress itself doesn't use or include. Changing this to just .unique() which is aliased in 3.x and works in 2.x as well for greater compatibility. Otherwise lots of people will end up getting failures when trying to use Stripe.
This was a PR I'd submitted to the original stripe plugin, but never got accepted there before the code was merged here into the main camptix:
The Stripe plugin uses jQuery.uniqueSort(), however, that function only exists in jQuery 3.x which many themes and even WordPress itself doesn't use or include. Changing this to just .unique() which is aliased in 3.x and works in 2.x as well for greater compatibility. Otherwise lots of people will end up getting failures when trying to use Stripe.