Page 1 of 1

Integrating ePDQ

Posted: Wed Mar 14, 2007 3:34 am
by abhilashss
feyd | Please use

Code: Select all

,

Code: Select all

and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read:  [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]


Hi All,
I am trying to integrate ePDQ payment gateway with php .The code is given below.But I got the CPI error "Internal error.Please try later".
Anybody who have integrated epdq please help me.Is anything missing in form field?What you mean by "epdqdata" ?How I get client id and password?

Advance Thanks
Abhilash S S

[syntax="html"]<table>
<form method="post" action="https://secure2.epdq.co.uk/cgi-bin/CcxBarclaysEpdq.e" name="epdqform">
<input type="hidden" name="epdqdata" value="otx7cGHs8od9G3ZAsjO7gw3fJeTJ3Oy87if6">

<input type="hidden" name="clientid" value="3">

<input type="hidden" name="password" value="pwd">

<input type="hidden" name="oid" value="45">
<input type="hidden" name="chargetype" value="Auth">
<input type="hidden" name="currencycode" value="826">
<input<tr>
<input type="submit" value="submit">
</tr>

</form>

</table>

feyd | Please use[/syntax]

Code: Select all

,

Code: Select all

and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read:  [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]

Posted: Wed Mar 14, 2007 4:00 am
by mikeq
I would imagine you would have to contact Barclays to get a client ID and password. Surely you have to register with them etc as payment processing isn't free.

Posted: Wed Mar 14, 2007 7:49 am
by feyd
abhilashss, don't hijack someone else's thread again please.

Posted: Wed Mar 14, 2007 11:51 pm
by abhilashss
Hi feyd,

I got this code from google search engine.I have to test integartion of epdq before going to implement in live site.
I am trying to get a 'decline message' from epdq .If you know integration plz help me.

Regars
Abhilash S S

Posted: Thu Mar 15, 2007 3:26 am
by mikeq
abhilashss wrote:Hi feyd,

I got this code from google search engine.I have to test integartion of epdq before going to implement in live site.
I am trying to get a 'decline message' from epdq .If you know integration plz help me.

Regars
Abhilash S S
I think I have already answered your question, see above ^^^^^

Posted: Thu Mar 15, 2007 10:01 am
by onion2k
If you're using ClearCommerce then you'll have to pass a valid XML formatted stream to the gateway server. If you check page 13 of the XML_5.5.pdf XML integration guide you'll see a basic version of the layout. You'll need to use cURL to pass that to EPDQ.

If you're not an expert then I suggest you seek assistance. It's very complicated stuff, and potentially dangerous because you're passing people's credit card information around the internet. Getting that wrong could be disastrous.

Posted: Thu Mar 15, 2007 12:40 pm
by mikeq
Regardless of what you are trying to pass, based on the fact that you got this code off Google and you do not have a Client ID or Password, why are you trying to do this?

If you are doing it for a client then they should have already signed up for Barclays payment processing service so they will be able to give you the Client ID and Password. Barclays will also have a test server setup to allow you to test integration before going live.

Could be completely wrong, and apologies if I am, but I am immediately suspiscious of anyone trying to process any kind of financial information without the proper authority to do so.

but then maybe thats what comes with working for the Police :wink: