Documentation

How do we resolve Direct HTTP server-to-server request issues?

You may have encountered an error on your site where your orders are always marked as pending or cancelled. In this case, you’ll have to enable the Direct HTTP server-to-server request in the Transaction feedback section following the steps to set up our webhook. However, following the steps on the article still did not resolve the pending/cancelled order issue.
Likely, the Direct HTTP server feature does not work properly because of the settings that you have on your server.

How can you find out that there is an issue with the server?

Issue# 1: The server responds with a 403 error.

You can get in touch with the ePDQ support team and report them about your current situation. The ePDQ team will send requests to your server, and if your server responses with a 403 error: Forbidden message, this means that your server is refusing the request.

Your hosting provider might be blocking this request when Barclays try to make it.
Once they allow this

Note
https://yourwebsiteurl.com/wc-api/epdq_checkout_webhook/?PARAMVAR=<PARAMVAR>

<PARAMVAR> is replaced by the ePDQ system with the order ID number, so this will change.
The function will work as intended no matter what the customer does after payment has been logged on the ePDQ system.

Issue# 2: Server responds with a timeout

Same as issue#1, you can ask the ePDQ support team to have them take a look at your current situation. To make a successful webhook notification, your website and ePDQ would need to “communicate” with one other by sending “requests.” If there are no responses from your website, a timeout may be registered on their end (i.e., no response from your site for 20 seconds). A timeout usually indicates a firewall blocking the request.

Also, the Request is being made by something that’s not a browser so that the User-agent won’t be the same, and it won’t act the same depending on how the WAF (which is different from a traditional Firewall) is configured, such as automated requests might be blocked by your host. This could be for a range of reasons, from the endpoint to the user agent.

How can we resolve these issues?

Hosting providers may not be able to whitelist URLs, but you can ask them to whitelist the Barclaycard’s IP addresses below for the request not to be blocked.

185.8.52.254
185.8.53.254
185.8.54.254
212.23.45.97
212.35.124.164
91.208.214.40
91.208.214.41

Note
As per the article’s posting date, the above is what the ePDQ team has sent. You can ask the ePDQ team for any updates on their IP addresses that you could whitelist.

 

You can also send this firewall guide from the ePDQ team to your hosting provider – https://support.epdq.co.uk/en/integration/firewall-configuration/guide

Was this helpful?

Barclays ePDQ

Don't already have the plugin? Get access now.

Still need help?

Our team are on hand to provide fast, helpful and professional support.

Support request

Front End Demo

Test drive our plugin on the demo site.

View Demo

AG Bot (BETA) - Not live chat

Ask our bot about our products.

Welcome to our AG Bot, powered by OpenAI and trained on our documents and product pages. By continuing to use this service, please keep in mind:

Your continued use indicates acceptance of these terms. We hope you find our AI Chatbot useful!

Hello! I am AG Bot, how can I help you? (Not live chat)