Support

Home Forums Community Forum Credit Card Fields No Where to Be Found on Checkout with Stripe Gateway

Credit Card Fields No Where to Be Found on Checkout with Stripe Gateway

Posted: February 27, 2017 at 6:12 pm


ngibby1

February 27, 2017 at 6:12 pm

I recently purchased EE and the Stripe Gateway. When you get to the payment page of the event registration process, there are no fields to enter the credit card information. This is a problem as customers aren’t able to pay for events registered without these showing up.

You can try to register at: http://utahasla.org/events/2017-utah-asla-annual-meeting/

Please advise.


Josh

  • Support Staff

February 27, 2017 at 6:28 pm

It looks like there may be either a plugin or theme conflict on your site that involves JavaScript. You can rule out a potential theme or plugin conflict by following these steps:
1) A theme conflict. You can rule this out by temporarily switching to the default WordPress theme, then test. The theme test drive plugin allows for testing another theme without actually changing your site’s theme.
2) A plugin conflict. You can rule this out by temporarily deactivating any other installed WordPress plugins. Then you reactivate them one by one, while testing the error condition between each reactivation.


ngibby1

February 27, 2017 at 6:43 pm

I switched the theme and it worked just fine. So, how do I troubleshoot a conflict with the theme?


ngibby1

February 27, 2017 at 6:46 pm

I changed some things on the functions.php file of the theme, and now I’m getting an error message that reads, “Must provide source or customer.” What does that mean and how do I fix it?


Josh

  • Support Staff

February 27, 2017 at 7:09 pm

I don’t know what you changed in your theme to cause the error. I don’t know what the error means. You could probably change things back in functions.php to avoid the error though.

Where might I be able to download a copy of the theme?


Nathan Gibby

February 28, 2017 at 9:19 am

Here is where you can access a copy of the theme? http://utahasla.org/wp-content/themes/asla.tgz


Nathan Gibby

February 28, 2017 at 10:03 am

Sorry I meant put a colon (“:”) instead of a question mark (“?”).


Josh

  • Support Staff

February 28, 2017 at 3:33 pm

OK here’s the minimum of what needs to be fixed in your WordPress theme:

1) Rename or delete the registration_page_wrapper.template.php in your theme. Your theme’s copy of that template is breaking the Event Espresso single page checkout page.
2) Upload this fixed copy of header.php:
https://gist.github.com/joshfeck/e3b87a04a18f9569c0dae555e5736705
There were a number of fixes needed so I made a new file.
3) In functions.php, there appears to be a line of code missing that starts the register_my_menus() function. Here’s the suggested fix:

change this:

	add_theme_support( 'menus' );
	register_nav_menus( array(
    'primary' => __( 'Primary Menu', 'asla'),
    'secondary' => __( 'Secondary Menu', 'asla' ),
 ) );
add_action( 'init', 'register_my_menus' );

to be this:

function register_my_menus(){
	add_theme_support( 'menus' );
	register_nav_menus( array(
    'primary' => __( 'Primary Menu', 'asla'),
    'secondary' => __( 'Secondary Menu', 'asla' ),
 ) );
}
add_action( 'init', 'register_my_menus' );


Nathan Gibby

February 28, 2017 at 5:07 pm

That worked great. Thanks for going above and beyond to get it to work!


Josh

  • Support Staff

March 1, 2017 at 7:33 am

Great to hear, and we’re here to help. If you have a moment would you like to share your Event Espresso experience in a review? Thanks Nate!

The support post ‘Credit Card Fields No Where to Be Found on Checkout with Stripe Gateway’ 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