Barclays ePDQ Extra Plus Gateway Guide

close

Services and Compatibility

Payment Gateway Company Name:
Barclays ePDQ Extra Plus
Services that work with Spreedly:
  • Barclays ePDQ Extra Plus
Services that do not work with Spreedly:
  • ePDQ essential
  • ePDQ extra
Supported operations:
Purchase, Authorize, Capture, Refund, Void
Regions:
Europe

Authentication and Security

Specific names for credentials:
default mode:
Pspid, Signature Strength, Userid, Password, Signature
no_signature mode:
Pspid, Userid, Password

Onboarding Merchants in:

Default Mode

To add a Barclays ePDQ Extra Plus gateway you need to supply a pspid, a userid, a password, a signature, and a signature strength:


curl https://core.spreedly.com/v1/gateways.xml \
  -u 'Ll6fAtoVSTyVMlJEmtpoJV8S:RKOCG5D8D3fZxDSg504D0IxU2XD4Io5VXmyzdCtTivHFTTSy' \
  -H 'Content-Type: application/xml' \
  -d '<gateway>
        <gateway_type>barclays_epdq_extra_plus</gateway_type>
        <pspid>psp</pspid>
        <userid>user</userid>
        <password>password</password>
        <signature>sig</signature>
        <signature_strength>sha512</signature_strength>
      </gateway>'

The signature_strength can be any of sha1, sha256, or sha512, and will have to match the strength set in the Barclays ePDQ Extra Plus backend.

Core will give you back the token:


<gateway>
  <token>Lu9zHBxsGTSzxaurHY3Qk0oLZKb</token>
  <gateway_type>barclays_epdq_extra_plus</gateway_type>
  <name>Barclays ePDQ Extra Plus</name>
  <description nil="true"/>
  <pspid>psp</pspid>
  <userid>user</userid>
  <signature_strength>sha512</signature_strength>
  <characteristics>
    <supports_purchase type="boolean">true</supports_purchase>
    <supports_authorize type="boolean">true</supports_authorize>
    <supports_capture type="boolean">true</supports_capture>
    <supports_credit type="boolean">true</supports_credit>
    <supports_general_credit type="boolean">false</supports_general_credit>
    <supports_void type="boolean">true</supports_void>
    <supports_verify type="boolean">false</supports_verify>
    <supports_reference_purchase type="boolean">false</supports_reference_purchase>
    <supports_purchase_via_preauthorization type="boolean">false</supports_purchase_via_preauthorization>
    <supports_offsite_purchase type="boolean">false</supports_offsite_purchase>
    <supports_offsite_authorize type="boolean">false</supports_offsite_authorize>
    <supports_3dsecure_purchase type="boolean">false</supports_3dsecure_purchase>
    <supports_3dsecure_authorize type="boolean">false</supports_3dsecure_authorize>
    <supports_store type="boolean">false</supports_store>
    <supports_remove type="boolean">false</supports_remove>
    <supports_fraud_review type="boolean">false</supports_fraud_review>
    <supports_disburse type="boolean">false</supports_disburse>
  </characteristics>
  <credentials>
    <credential>
      <name>pspid</name>
      <value>psp</value>
    </credential>
    <credential>
      <name>userid</name>
      <value>user</value>
    </credential>
    <credential>
      <name>signature_strength</name>
      <value>sha512</value>
    </credential>
  </credentials>
  <gateway_specific_fields>
  </gateway_specific_fields>
  <payment_methods>
    <payment_method>credit_card</payment_method>
  </payment_methods>
  <state>retained</state>
  <redacted type="boolean">false</redacted>
  <created_at type="dateTime">2016-08-11T17:14:01Z</created_at>
  <updated_at type="dateTime">2016-08-11T17:14:01Z</updated_at>
  <mode>default</mode>
</gateway>


env = Spreedly::Environment.new('Ll6fAtoVSTyMlJEm', 'RKcG5D8D3fZxDSg504U2XD4Io5VXz')
env.add_gateway(:barclays_epdq_extra_plus, pspid: 'psp', userid: 'user',
                password: 'password', signature: 'sig', signature_strength: 'sha512')

The signature_strength can be any of sha1, sha256, or sha512, and will have to match the strength set in the Barclays ePDQ Extra Plus backend.

Core will give you back the token:


#<Spreedly::Gateway:0x007fbe54101bd8
 @created_at="2016-08-11T17:14:02Z",
 @credentials=
  {"pspid"=>"psp", "userid"=>"user", "signature_strength"=>"sha512"},
 @gateway_type="barclays_epdq_extra_plus",
 @name="Barclays ePDQ Extra Plus",
 @state="retained",
 @token="NARZt6QGhomiYbSMr4WHAyt6dew",
 @updated_at="2016-08-11T17:14:02Z">

No Signature Mode

Some Barclays ePDQ Extra Plus accounts may not require or use a signature; for these you can specify the no_signature mode:


curl https://core.spreedly.com/v1/gateways.xml \
  -u 'Ll6fAtoVSTyVMlJEmtpoJV8S:RKOCG5D8D3fZxDSg504D0IxU2XD4Io5VXmyzdCtTivHFTTSy' \
  -H 'Content-Type: application/xml' \
  -d '<gateway>
        <gateway_type>barclays_epdq_extra_plus</gateway_type>
        <mode>no_signature</mode>
        <pspid>psp</pspid>
        <userid>user</userid>
        <password>password</password>
      </gateway>'

<gateway>
  <token>K5kkDlZnMKjzBOrddrHHhYASJaj</token>
  <gateway_type>barclays_epdq_extra_plus</gateway_type>
  <name>Barclays ePDQ Extra Plus</name>
  <description nil="true"/>
  <pspid>psp</pspid>
  <userid>user</userid>
  <characteristics>
    <supports_purchase type="boolean">true</supports_purchase>
    <supports_authorize type="boolean">true</supports_authorize>
    <supports_capture type="boolean">true</supports_capture>
    <supports_credit type="boolean">true</supports_credit>
    <supports_general_credit type="boolean">false</supports_general_credit>
    <supports_void type="boolean">true</supports_void>
    <supports_verify type="boolean">false</supports_verify>
    <supports_reference_purchase type="boolean">false</supports_reference_purchase>
    <supports_purchase_via_preauthorization type="boolean">false</supports_purchase_via_preauthorization>
    <supports_offsite_purchase type="boolean">false</supports_offsite_purchase>
    <supports_offsite_authorize type="boolean">false</supports_offsite_authorize>
    <supports_3dsecure_purchase type="boolean">false</supports_3dsecure_purchase>
    <supports_3dsecure_authorize type="boolean">false</supports_3dsecure_authorize>
    <supports_store type="boolean">false</supports_store>
    <supports_remove type="boolean">false</supports_remove>
    <supports_fraud_review type="boolean">false</supports_fraud_review>
    <supports_disburse type="boolean">false</supports_disburse>
  </characteristics>
  <credentials>
    <credential>
      <name>pspid</name>
      <value>psp</value>
    </credential>
    <credential>
      <name>userid</name>
      <value>user</value>
    </credential>
  </credentials>
  <gateway_specific_fields>
  </gateway_specific_fields>
  <payment_methods>
    <payment_method>credit_card</payment_method>
  </payment_methods>
  <state>retained</state>
  <redacted type="boolean">false</redacted>
  <created_at type="dateTime">2016-08-11T17:14:02Z</created_at>
  <updated_at type="dateTime">2016-08-11T17:14:02Z</updated_at>
  <mode>no_signature</mode>
</gateway>


env = Spreedly::Environment.new('Ll6fAtoVSTyMlJEm', 'RKcG5D8D3fZxDSg504U2XD4Io5VXz')
env.add_gateway(:barclays_epdq_extra_plus, mode: 'no_signature', pspid: 'psp',
                userid: 'user', password: 'password')


#<Spreedly::Gateway:0x007ffb02831e40
 @created_at="2016-08-11T17:14:03Z",
 @credentials={"pspid"=>"psp", "userid"=>"user"},
 @gateway_type="barclays_epdq_extra_plus",
 @name="Barclays ePDQ Extra Plus",
 @state="retained",
 @token="4FgndskUNBlELwfPobFh3QAeGqU",
 @updated_at="2016-08-11T17:14:03Z">