Support

Home Forums Event Espresso Premium Problems with SAGEPAY gateway on a subdomain

Problems with SAGEPAY gateway on a subdomain

Posted: September 8, 2015 at 9:28 am


Kerry Gray

September 8, 2015 at 9:28 am

Has anyone had errors setting up event espresso on a subdomain using the sagepay gateway? We are continually getting errors.

Thanks


Tony

  • Support Staff

September 8, 2015 at 10:40 am

Hi Kerry,

Can you post up the errors you are getting please?


Kerry Gray

September 9, 2015 at 4:16 am

The error we have been told by sagepay is to do with the 3dsecure part of the payment and we get an error saying, EE_SPCO_Reg_Step_payment_options_process_payment_status – 1652

We can not take any bookings at the moment.


Kerry Gray

September 9, 2015 at 4:24 am

Have turned on debug mode and got a 4020 error code, could not copy it as it disappears when selected.


Dean

September 9, 2015 at 4:27 am

Hi,

When it appears, can you press the PrtScr (Print Screen) button on your keyboard. It should copy the entire screen to clipboard and you can paste it into Word, or an Art Program.

Seeing the error will assist us greatly in troubleshooting this issue.


Kerry Gray

September 9, 2015 at 4:46 am

http://www.c-r-y.org.uk/events/events is the url for the events part of the website.

Link to pic for error when in debug mode is http://www.c-r-y.org.uk/wp-content/uploads/2015/09/error1.jpg

The IP address and subnet mask ahve all be added correctly.


Tony

  • Support Staff

September 9, 2015 at 5:56 am

Hi Kerry,

That error message is the error returned from SagePay themselves rather than from Event Espresso. It means that SagePay is rejecting the payment call based on the IP address used to make that request.

Although you mention you have setup the IP Address and Subnet mask within SagePay sometimes the external IP address (which would be the address used when the server makes a curl request, which is what it is doing for the payment) of your server is different from the servers IP displayed within your control panel. I would recommend contacting your host provider and have them provide the true external IP address of your server.

Once that IP address has been added to your SagePay account the payments should work fine.


Kerry Gray

September 9, 2015 at 7:14 am

Just checked with the Hosts and we have the correct IP address. Would be great if the Sagepay gateway could choose between direct and form integration (onsite and offsite)


Kerry Gray

September 9, 2015 at 7:29 am

Fixed the 4020 error our IP addresses were not on our test server! But I am still getting this error pic uploaded here http://www.c-r-y.org.uk/events/wp-content/uploads/2015/09/Error2.jpg

any help is muchly appreciated

Thanks


Tony

  • Support Staff

September 9, 2015 at 8:31 am

Can you enable WP_DEBUG on the site please?

I’d like to run a registration and see if any errors are being thrown


Kerry Gray

September 9, 2015 at 8:34 am

I have set it to true, thanks for having a look.

http://www.c-r-y.org.uk/events/events

Thanks


Tony

  • Support Staff

September 9, 2015 at 8:42 am

Hi Kerry,

Do you have the mailchimp add-on active currently? If so please temporarily disable that add-on.


Kerry Gray

September 9, 2015 at 8:45 am

Have disabled the plugin.


Lorenzo Orlando Caum

  • Support Staff

September 9, 2015 at 9:08 am

Hi Kerry, I’ve sent through some registrations. Could you follow up with us here so we can check the payment logs?

https://eventespresso.com/send-login-details/


Lorenzo


Tony

  • Support Staff

September 9, 2015 at 9:09 am

Do you have any caching or security plugins enabled?

Does your host run server side caching at all?

There is an error being shown on your site currently:

Warning: stream_socket_client(): unable to connect to tcp://www.c-r-y.org.uk:80 (Connection timed out) in /events/wp-includes/class-http.php on line 1021

This would suggest a problem when connecting to your site, can you send that error to your host and have them investigate please? The error isn’t related to Event Espresso but could be connected to why SagePay payments are failing.


Kerry Gray

September 10, 2015 at 2:53 am

No security plugins enabled. Have contacted the host about server side caching. Will let you know.

Thanks


Kerry Gray

September 10, 2015 at 4:05 am

As the event is in 3 1/2 weeks were are going to try using paypal rather than Sage and comeback to fixing this issue after the event.

Thanks


Tony

  • Support Staff

September 10, 2015 at 8:01 am

Just let us know if you have any problems

Rather than PayPal I would recommend Stripe as it it much more reliable. You can setup a Stripe test account in minutes and see if all works well.

For that you’ll need to use the EE4 Stripe Add-on which you already have access to with your license.

The support post ‘Problems with SAGEPAY gateway on a subdomain’ 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