Support

Home Forums Event Espresso Premium Connect Stripe button doesn't work

Connect Stripe button doesn't work

Posted: April 6, 2018 at 12:42 pm


Smartycat1

April 6, 2018 at 12:42 pm

We have the everything license for EE4 and have 4.9.58 Event Espresso and 1.1.2 Stripe plugins activated.


Smartycat1

April 6, 2018 at 12:45 pm

When we click the “Connect Stripe” button, it just scrolls back to the top of the page! What is going wrong and can you please help fix it. Thanks. https://smartycat.tarahollander.com/wp-admin/admin.php?page=espresso_payment_settings# This is where it goes when you click on the button to the top of the page with # added to the URL.


Josh

  • Support Staff

April 6, 2018 at 1:24 pm

Hi Smartycat1,

Usually there’s a pop up window that prompts you to connect to stripe after the button is clicked. So if the browser is blocking that pop up you’ll need to set an exception to allow pop ups from your domain.

If that’s not causing the issue then there may be a theme/plugin conflict, which can be troubleshot by following this guide:

https://eventespresso.com/wiki/troubleshooting-checklist/


Smartycat1

April 6, 2018 at 2:14 pm

Hi Josh, I don’t have any pop up preventions and tried in two browsers – Chrome and Safari. Doesn’t seem like I can troubleshoot theme conflict because it’s arising in the backend dashboard area of Event Espresso. The plugin list of known conflicts – none are installed or being used. What next? Thanks!


Josh

  • Support Staff

April 6, 2018 at 2:24 pm

Themes do load scripts in the WordPress Dashboard area, for example for theme options panels, and you may have a plugin that’s not known to cause a conflict.

Another way you can rule out a plugin or theme conflict is by installing the Health Check plugin, then go to WP > Dashboard > Heath Check > Troubleshooting. There you’ll Enable Troubleshooting Mode, then once that’s activated you’ll reactivate Event Espresso only via the Health Check’s Troubleshooting item in the WP admin bar. At that point, can you check to see if the issue persists?


Smartycat1

April 6, 2018 at 3:03 pm

I see orange in my query monitor – could this mean something? GET
https://smartycat.tarahollander.com/wp-admin/ cURL error 28: Operation timed out after 10000 milliseconds with 0 bytes received
+
Health_Check_Loopback::can_perform_loopback()
wp-content/plugins/health-check/includes/class-health-check-loopback.php:57
Plugin: health-check 10 10.0029

With Health Check troublshooting active, I was able to get the pop up window for connecting Stripe. Now I need the banking details from my client and can’t go further until I get that. Let me know if you can tell anything from the query monitor data above. thanks.


Josh

  • Support Staff

April 6, 2018 at 3:14 pm

With troubleshooting mode active, you can reactivate the deactivated plugins one-by-one until your find the one that was breaking the page.


Smartycat1

April 7, 2018 at 12:53 pm

With health check troubleshooting active I was able to connect Stripe because I was able to get the popup window for making the connection to function. I had only 1) EE4 core plugin 2) EE Stripe running. I also turned on 3) Query monitor and there were no problems. However, I activated my theme – Beaver Builder Child theme, and then the problem returned and the windows for connecting payment systems stopped working.

Will this information of some error being created with the theme create other problems I should be aware of right away now before going in deeper? I want to make sure we are fully prepared for creating a functioning smooth running system.

Thanks!


Smartycat1

April 7, 2018 at 1:07 pm

One other question related to your question/suggestion. I tried running Espresso Requirements Check plugin but didn’t get any report good or bad, no info at all. Why is that and what can I do?


Josh

  • Support Staff

April 9, 2018 at 7:47 am

The Espresso Requirements check plugin isn’t recommend. The Health Check plugin has all the recommendations you need.

With regards to the errors that happen while the child theme is activated, there could be other issues so it would be best to remove/fix the offending code in the child or parent theme. Quite likely there’s a script being loaded on every admin request that should only be loaded on a specific page. Is there any custom code within the child theme’s functions.php file?


Smartycat1

April 10, 2018 at 10:47 am

Here’s the code in the functions.php Child Theme directory at the moment. Does any of this look like ‘offending code’? Would appreciate extra eyes on the matter to resolve it. Thanks!

<?php

// Defines
define( ‘FL_CHILD_THEME_DIR’, get_stylesheet_directory() );
define( ‘FL_CHILD_THEME_URL’, get_stylesheet_directory_uri() );

// Classes
require_once ‘classes/class-fl-child-theme.php’;

// Actions
// TH added to style footer

add_action( ‘wp_enqueue_scripts’, ‘FLChildTheme::enqueue_scripts’, 1000 );

function my_after_footer() {
echo ‘<div id=”footer_copyright”> © Copyright 2018 Smartycat Kids LLC · All Rights Reserved · Website designed by Tara Hollander </div>’;
}
add_action( ‘fl_after_footer’, ‘my_after_footer’ );

//Gravity forms place names inside the boxes
add_filter( ‘gform_enable_field_label_visibility_settings’, ‘__return_true’ );

//Event Espresso items

//* Change sold out messaging in Event Espresso 4
function ee_custom_sold_out_messaging( $translated, $original, $domain ) {
$strings = array(
‘We\’re sorry, but all ticket sales have ended.’ => ‘Online registration for this program is closed.’,
);
if ( isset( $strings[$original] ) ) {
$translations = get_translations_for_domain( $domain );
$translated = $translations->translate( $strings[$original] );
}
return $translated;
}
add_filter( ‘gettext’, ‘ee_custom_sold_out_messaging’, 10, 3 );

//Event Espresso Locations (aka Venues) Customization
function ee_list_upcoming_events_for_a_venue( $post ) {
// query the events for this venue using EE_Venue’s events() method
$query_params = array(
‘order_by’ => ‘Datetime.DTT_EVT_start’,
‘order’ => ‘ASC’,
array(
‘status’ => ‘publish’,
// ‘Datetime.DTT_EVT_start’ => array(
// ‘>’,
// date( current_time( ‘mysql’ ) ),
‘Datetime.DTT_EVT_end’ => array(
‘>’,
date( current_time( ‘mysql’ ) )

)
)
);
$events = EEH_Venue_View::get_venue( $post->ID )->events( $query_params );
// start the output
echo ‘<h3>Programs at this location</h3>

‘;
remove_action( ‘AHEE__content_espresso_venues_details_template__after_the_content’, ‘ee_list_upcoming_events_for_a_venue’ );
// end the output
}
// next, add the above to an action found in the venue template
// you could instead use ‘AHEE__content_espresso_venues_details_template__before_the_content’ to put the list before the content
add_action( ‘AHEE__content_espresso_venues_details_template__after_the_content’, ‘ee_list_upcoming_events_for_a_venue’ );


Josh

  • Support Staff

April 10, 2018 at 11:10 am

Those are not scripts that load in the admin. Quite likely the script is coming from the parent theme.


Smartycat1

April 10, 2018 at 11:23 am

All I see in the parent theme functions.php file is the following. Would this be a problem? Thanks, Josh!

// Admin Actions
add_action( ‘admin_head’, ‘FLTheme::favicon’ );


Josh

  • Support Staff

April 10, 2018 at 11:49 am

It could be!


Smartycat1

April 10, 2018 at 4:43 pm

Does this “Broken Dependencies” give you any more information as to what is going on?
Script: espresso_payments
https://smartycat.tarahollander.com/wp-content/plugins/event-espresso-core-reg/admin_pages/payments/assets/espresso_payments_admin.js
Dependencies: ee-datepicker
espresso-ui-theme (missing)

https://www.dropbox.com/s/v9l1ljpgzboe4l8/Screen%20Shot%202018-04-10%20at%203.42.33%20PM.jpg?dl=0

Thanks!


Josh

  • Support Staff

April 11, 2018 at 10:19 am

No that doesn’t actually. Have you checked the browser’s console for JavaScript errors? You may need to deactivate the Query Monitor plugin while troubleshooting this.

The support post ‘Connect Stripe button doesn't work’ 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.

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: closed

Updated by  Josh 3 months, 1 week ago ago

Topic Tags

Notifications

This topic is: not resolved
Do NOT follow this link or you will be banned from the site!