Support

Home Forums Event Espresso Premium Sagepay setup

Sagepay setup

Posted: March 7, 2019 at 10:06 am


chcc

March 7, 2019 at 10:06 am

Hi, we’ve just bought your Sagepay plugin and want to complete the settings and test it before making it live to the public. But it seems I can’t access the settings without making it live. Please tell me how I can set this up and test it on a live site.

It also appears that the plugin doesn’t offer the off-site ‘form’ method and I think this should have been made clearer before we actually purchased it.

Thanks.


Josh

  • Support Staff

March 7, 2019 at 12:43 pm

Hi,

May I ask what’s preventing you from accessing the settings? Normally if you go to Event Espresso > Payment Settings, click the button to Activate, then input the settings. To make test payments, set “Debug Mode” to “On”. When you’re ready to go live, you set “Debug Mode” to “Off”.

With regards to the onsite form vs. off-site form, the sales team does maintain a chart on the Payment Options sales page that shows which add-ons use off-site forms vs. on-site forms, but maybe that chart can include some additional information?


chcc

March 8, 2019 at 2:50 am

Thanks Josh,
Clicking the Activate button also causes the Sagepay option to appear in the checkout immediately ie. before we’ve had a chance to configure it. Surely it would be better to enable configuration before activating, or am I missing something?


Josh

  • Support Staff

March 8, 2019 at 1:45 pm

One option is put Event Espresso into maintenance mode while testing the gateway. When logged in as administrator, you’ll still be able to test the gateway, but non-admins will see a “please check back in a moment” message if they view an event page.

Maintenance mode is also recommended while editing an event that’s open for registration and while doing plugin updates. You can put Event Espresso into maintenance mode by changing the setting on the Event Espresso > Maintenance page.

If you require allowing live registrations to happen at the same time while you’re testing the gateway, another option is hide the Sagepay option from everyone except for logged in administrators of the site.

The following code will do just that:

function temp_hide_sagepay() {
  if(!current_user_can('manage_options')){
    wp_add_inline_style( 
        'single_page_checkout',
        '#ee-available-payment-method-inputs-sage_pay_onsite-lbl {
          display: none !important;
        }'
    );
  }  
}
add_action( 'wp_enqueue_scripts', 'temp_hide_sagepay', 11 );

You can add the above to a functions plugin or added to your WordPress theme’s functions.php file.

The support post ‘Sagepay setup’ 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 2 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!