WPPizza – ePDQ Gateway

Barclaycard ePDQ Gateway for Integration with WPPizza.

Note: this is an ePDQ Essential integration. I.e the user will be redirected to ePDQ to make his payment and then returned to your website. This should also work if you have a ePDQ Extra or ePDQ Extra Plus account.

Installation

  • install by uploading the zip file in the normal wordpress manner from withing the plugin screen (add new->upload) and activate
  • go to wppizza->gateways and set options as required

Requirements

  • WPPizza 2.15+
  • you must (obviously) have a ePDQ account
  • the currency set in WPPizza->Order Settings must be accepted by ePDQ and be enabled in your ePDQ account
  • at a minimum you must set your PSPID, SHA-IN PASSPHRASE, SHA-OUT PASSPHRASE, SHASIGN to correspond with the settings in your ePDQ account as well as setting up your account details in your ePDQ account as explained below
  • PHP >5.2. 5.3+ recommended

Setup

  • install as referred to above

 

  • login to your ePDQ account and go to configuration ->technical information

 

  • click on the tab “Global transaction parameters” (screenshot)
    • set default ECI value to “7 – Ecommerce with SSL encryption” (Default operation code will always be dynamically set to Sale by the plugin). Set Payment retry and Processing for individual transactions as you wish or use defaults (see screenshot here)
    • save

 

  • click on the “Global security parameters” tab (screenshot)
    • set the Hash algorithm to be used or leave as is. However, make a note of it as you will need this in the WPPizza ePDQ gateway administration
    • if you are using templates set required settings here and in the wppizza gateway administration . Make sure you follow the guidelines as set out by ePDQ regarding usage of templates
    • save

 

  • click on the “Data and origin verification” tab (screenshot)
    • set your SHA-IN passphrase and make a note of it as you will need to enter it into the corresponding field in the WPPizza ePDQ gateway administration
    • save

 

  • click on the “Transaction feedback” tab (screenshot)
    • under “HTTP redirection in the browser” leave Accept, Decline, Exception and Cancel Urls blank (these are set dynamically)
    • under “Direct HTTP server-to-server request” set “Timing of the request to always online”
    • also under “Direct HTTP server-to-server request” set BOTH urls to point to the ipn.php of the plugin. Typically this would be something like
      • http://www.my-domain.com/wp-content/plugins/wppizza-gateway-epdq/ipn/ipn.php (where my-domain is your domain name)
    • ideally set the Request method to POST, but GET will work too
    • under “All transaction submission modes” set your SHA-OUT passphrase and make a note of it as you will need this in the WPPizza ePDQ gateway administration
    • you can accept default for all other settings or change as you see fit
    • save

 

  • go to wppizza->gateways , and click on “show options” next to the ePDQ gateway (screenshot)
  • set your PSPID / account ID , both SHA PASSPHRASES and SHA SIGN to the equivalent values you have set in your ePDQ account
  • enter any other optional info as required
  • save

 

Troubleshooting

  • if you still have problems, please enable logging and contact me at : dev[at]wp-pizza.com with the domain you are having problems with. Please attach all your logfiles (if any) that reside under the logs directory