Posted: May 31, 2014 at 3:06 pm
|
I’ve tried multiple browsers, deactivated plugins, even reinstalled, but cannot get the payment settings set up, because it won’t slide open on any of the payment options. It shows the payment options, but I can’t select open the paypal payments to “Activate” as shown in the directions. I’m in a bit of a time crunch, and this is just one of the multiple issues I’m having with this plugin already. I paid for the VIP support, but don’t see any special place to go for that? |
|
Hi, That sounds like a JavaScript error, most likely from another plugin or the theme. Can you open up the console by right clicking, clicking Inspect Element and then clicking the console tab (that’s for Chrome, it’s similar in other browsers). Then can you screenshot or copy the content of the console and paste it here? |
|
TypeError: e is undefined Hope this helps… |
|
when I click on the linked wp-auth…js it shows: |
Hi Tomah, You may need to deactivate other plugins and possibly switch to one of the default WordPress themes, that may help. |
|
|
are you serious?! I’m paying extra for you to tell me to ditch the theme I spent months designing and customizing? I don’t think so! That is ridiculous! Please send someone into the discussion who knows coding better. Otherwise, I’m paying for a coder from Fiverr.com and asking for a refund from this month’s VIP support! Good grief! |
Hi Tomah, I am serious. Temporarily switching to a default theme is a standard troubleshooting step. If you find that everything works after the theme is switched over, then we know where to look next. If it doesn’t work with the default theme, then we know it’s not the theme that’s causing the issue, and we’ll continue investigating other potential causes for breakage. |
|
|
Ok. Sorry for the blowup. rough day of design and coding as it was. Your second explanation made more sense, so I tried it first, and temporarily changed the theme to see if that would allow me to make changes on the payment settings. Sure enough. It did. I I was able to make changes and activate the Paypal, but as soon as I switched back to my original theme it was back to being “stuck.” |
|
Hi, What theme is it? (theme name and developer name please). If you can send us a copy of the theme to support@eventespresso.com (include a link to this forum thread) we can see if it is an obvious issue or not. We may still refer you back to the theme developer, if the issue is not directly related to Event Espresso. |
|
I have sent the information to the support email address you gave me. Thanks. |
Hi there, We were able to investigate the error on the Manage Payment Gateways page, and the first error that it fails on is this:
It’s crashing on line 103 of the Galaxy theme’s /core/page-builder/js/pb.js file. Ideally this script should only load where the page builder function is being used, not across the entire WordPress admin. The simplest option to fix this is prevent the theme’s scripts from loading on every admin page. The theme author may have instructions on how to do this, if they do not, the following can be added to near the end of the theme’s functions.php file, just before the closing ?> tag: // remove pb.js from WordPress admin pages where we don't want it to load add_action('admin_init', 'remove_pb_js'); function remove_pb_js() { if (isset($_REQUEST['page'])) { $espresso_pages = apply_filters('filter_hook_espresso_admin_pages_list',array( 'event_espresso', 'discounts', 'groupons', 'event_categories', 'admin_reports', 'form_builder', 'form_groups', 'my-events', 'event_emails', 'event_venues', 'event_staff', 'events', 'espresso_reports', 'support', 'template_confg', 'payment_gateways', 'members', 'admin_addons', 'espresso_calendar', 'event_tickets', 'espresso-mailchimp', 'espresso_social', 'espresso_permissions', 'roles', 'event_locales', 'espresso-system-status', 'event_groups' )); if (in_array($_REQUEST['page'], $espresso_pages)) { // if this is *any* of the above pages, remove the Galaxy /core/page-builder/js/pb.js script from the queue wp_dequeue_script('admin'); } } } You’ll find that without the above script in place, many other pages in the admin will have broken JavaScript functionality. One example is the promocode box wouldn’t work either. The above script takes care of that too. |
|
The support post ‘Can't add Paypal (or any other) Payment Option – Won't open’ 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.