Uncaught ReferenceError: Stripe is not defined
-
The PMP plugin will not process credit cards using Stripe. When a user submits the form the validation fails giving the error “Please complete all required fields.” (All fields are complete.)
Console throws the following error on the checkout page load:
Uncaught ReferenceError: Stripe is not defined
at ?level=1:27Which points to:
=====<!–// this identifies your website in the createToken call below
Stripe.setPublishableKey(‘pk_live_CENSORED’);
pmpro_require_billing = true;
var tokenNum = 0;
======
Note the call to the Stripe function.
The Stripe JS is loading directly from https://js.stripe.com/v2/
Please help. Thank you
- The topic ‘Uncaught ReferenceError: Stripe is not defined’ is closed to new replies.