Support

Home Forums Event Espresso Premium PayPal Payment Button Not Working

PayPal Payment Button Not Working

Posted: January 8, 2015 at 2:18 pm


Erin Delventhal

January 8, 2015 at 2:18 pm

I have enabled PayPal through the EE Payment Settings, but the PayPal Button is not showing on my Registration Form.

Example: http://paintthenightaway.net/classes/?ee=240

I had my developer check the source code, and found the following errors:

Failed to load resource: the server responded with a status of 404 (Not Found)
http://paintthenightaway.net/wp-content/plugins/paypal-payments/main.css?ver=4.1

I did not install a “PayPal Payments” plugin so I don’t know what this error is?

Also, when the “Submit” button is pressed, it generates an Internal Server Error.

I recently migrated my site to a new server, is there something I did not configure properly? I need my PayPal payments and Registration Form to work!

Wordpress version: 4.1
EE version: 3.1.36.6.P with Calendar, Mailchimp, Members and Social Media addons


Lorenzo Orlando Caum

  • Support Staff

January 8, 2015 at 2:47 pm

Hi Erin,

We are not affiliated with the PayPal-payments plugin. Please check with your developer to see if this is for a different area of your site. If it is not needed, then you can deactivate it through WP-admin –> Plugins.

Do you know how the site was migrated?

Was the entire database moved and then the entire wp-content folder which holds your theme, plugins, and uploads folder?


Lorenzo


Erin Delventhal

January 8, 2015 at 5:06 pm

There is no “PayPal Payments” plugin installed, so I don’t know why that error is happening.

Yes, the entire database was backed up and restored, and then the entire wp-content folder. My developer had to export the EE data separately (I made another support post about that).

Why am I getting an Internal Server Error?


Lorenzo Orlando Caum

  • Support Staff

January 8, 2015 at 5:59 pm

Hi, an internal server error is generic and could be caused by many things.

Try temporarily turning on WP debugging by adding this macro towards the middle of your wp-config.php file:

https://gist.github.com/lorenzocaum/848801a1173be464fbe7

It should replace any existing debugging macros. Then try registrations on a couple events (this should trigger the error).

Then go to /wp-content/debug.log

Open that file and you should see some entries related to the error.

If you don’t, then please switch the site into defaults (default theme and only Event Espresso running). Then again trigger the error and check the log again.

Please copy and paste an fatal errors in the debug log here.

The entire log is not needed, just any errors. Thanks.

Then go ahead and restore your site by reactivating your theme and other plugins. Then update WordPress debugging to off and save changes to your wp-config.php file:

https://gist.github.com/lorenzocaum/848801a1173be464fbe7#comment-1239850


Lorenzo


Erin Delventhal

January 8, 2015 at 8:15 pm

Hi Lorenzo,

The issue is with the Event Espresso – Members Addon plugin. It triggered this error:

Fatal error: Call to undefined function event_espresso_run_install() in /hermes/walnaweb02a/b952/moo.artworkbylauranet/paintthenightaway/wp-content/plugins/Archive-members1/espresso-members.php on line 73

Deactivating the plugin removed the 500 Server Error AND fixed the PayPal function.

I also found some other errors; what does this mean?

[09-Jan-2015 02:48:33 UTC] PHP Notice: Use of undefined constant WPLANG – assumed ‘WPLANG’ in /hermes/walnaweb02a/b952/moo.artworkbylauranet/paintthenightaway/wp-content/plugins/Archive/espresso.php on line 285

[09-Jan-2015 02:48:33 UTC] PHP Notice: Use of undefined constant WPLANG – assumed ‘WPLANG’ in /hermes/walnaweb02a/b952/moo.artworkbylauranet/paintthenightaway/wp-content/plugins/Archive/espresso.php on line 308

[09-Jan-2015 02:48:33 UTC] PHP Notice: Undefined index: QUERY_STRING in /hermes/walnaweb02a/b952/moo.artworkbylauranet/paintthenightaway/wp-content/plugins/espresso-social/espresso-social.php on line 154

Thanks for your help!


Dean

January 9, 2015 at 1:31 am

Hi Erin,

Regarding the fatal error, are all your EE plugins up to date? That issue should only be occurring if the plugins are not up to date. It is possible that automated updates might be failing. As such can you compare your version numbers with the versions in your account page and update, manually if needed.

If they are up to date already, then it might be worth removing WP User Integration (Members) and reinstalling it.

Regarding the PHP Notices, these can be safely ignored and will disappear once WP_DEBUG is disabled (WP_DEBUG should not be left on permanently!).

The support post ‘PayPal Payment Button Not Working’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso