When you click the ‘confirm registration button’ it forwards briefly to a page with “Your registration is not complete until payment is received” before forwarding to PayPal. How can we stop that from happening? It should go immediately to PayPal when the user clicks the confirm registration button.
In this case, is the option to bypass the payment page option enabled? It sounds like it’s taking a long time before it redirects.
What happens is the registration page loads up the template from /gateways/gateway_display.php. If there are several payment options enabled they’ll be listed there to choose from. If only one payment option is enabled, this page can be set to auto-direct off to the gateway page. There’s code in the off-site gateway files that does a check for that “bypass_payment_page” setting. An example of this is in the PayPal gateway on line 46 of paypal_vars.php
Is the page loading up a fair number of larger sized files (mostly images and JavaScript) ? If so, these may be slowing the process down, so you could try customizing the page template for the page that has the [ESPRESSO_EVENTS] shortcode on it and remove some of these elements.
As a quick little alternative fix, you could add a line of jQuery somewhere in the payment_overview.php page template:
<script>jQuery('body').hide();</script>
or if within php tags:
echo '<script>jQuery("body").hide();</script>';
This should only be used in the case where the Bypass payment page option is set to Yes. Otherwise the payment page will not display any content.
Viewing 1 reply thread
The support post ‘Problem when purhcasing’ 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.