Support » Plugin: Paid Memberships Pro » Fatal Error

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author Jason Coleman


    What other plugin are you using that uses Stripe?

    It will need code like this wrapped around the Stripe include/declaration:

    if(!class_exists("Stripe")) { ... }

    I also have Jigoshop for the store but that is using a different Stripe account. I have 2 separate strip accounts so i know which department the money is coming in from, sales or subscriptions.

    Where does the code above go? what is the declaration?

    I tried it again and I keep getting this message: Please complete all required fields.

    Even though all fields ARE filled in properly the system is not recognizing it. I did it 4 times and each time it says the same thing.

    Plugin Author Jason Coleman


    I’ve updated PMPro. The next version will have the proper check to avoid conflicts. I’m also submitting a patch request to Jigoshop RE their Stripe gateway plugin.

    Here are the edits you will have to make:
    * Change line 3 of paid-memberships-pro/classes/gateways/class.pmprogateway_stripe.php to:

    	require_once(dirname(__FILE__) . "/../../includes/lib/Stripe/Stripe.php");

    * Change line 34 of jigoshop-gateway-stripe/stripe.php to:


    RE the requirements issue. I would need more information and/or access to the site. Please sign up for support at and contact me by email.

    Thank you. I will make these changes now. When will the updated files be available on wordpress?

    oh and do the blank lines count as a line?

    I made the changes you suggested and as soon as I pulled up the site I got this error

    Parse error: syntax error, unexpected T_PUBLIC in /home/content/45/9493245/html/wp-content/plugins/jigoshop-gateway-stripe/stripe.php on line 82

    ok, I fixed the issue above but it has not fixed the website. changing those lines did not do anything 🙁

    Plugin Author Jason Coleman


    Blank lines will count.

    Are you still getting this error?

    Fatal error: Cannot redeclare class Stripe in /home/content/68/9327668/html/wp-content/plugins/paid-memberships-pro/includes/lib/Stripe/Stripe/Stripe.php on line 4

    The code changes above really should fix that one.

    Plugin Author Jason Coleman


    It’s possible that you have yet another plugin that is loading the Stripe library. You’ll need to make a similar change to that plugin.

    thanks, yes that error message is fixed. The main issue is that Stripe won’t accept the payment. Once I add all the credit card information and confirm, the system shoots back this message: Please complete all required fields.

    But all the fields HAVE been filled. I tried it 4 times, and I keep getting the same message. For some reason it is not connecting the payment.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Fatal Error’ is closed to new replies.