[s2If current_user_can(access_s2member_level1)]
[s2Member-Pro-Stripe-Form cancel="1" desc="This will cancel your account. Are you sure?" unsub="0" captcha="0" /]
[/s2If]
Throws JS error in js.stripe.com/v3/:
Uncaught IntegrationError: The selector you specified (#s2member-pro-stripe-form-card-element)
applies to no DOM elements that are currently on the page.
Make sure the element exists on the page before calling mount().
at t.<anonymous> ((index):1:282684)
at t.mount ((index):1:76459)
at setupProForms (s2member-o.php?
ws_plugin__s2member_js_w_globals=b6d35f98c64b94683d04c44dd10424fe&qcABC=1&ver=230815-230815-205266519:829:18)
at stripeCheck (s2member-o.php?
ws_plugin__s2member_js_w_globals=b6d35f98c64b94683d04c44dd10424fe&qcABC=1&ver=230815-230815-205266519:51:6)
In s2member-o.php, you need to check if #s2member-pro-stripe-form-card-element exists before running scripts on it.