Integrating ePDQ

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
abhilashss
Forum Newbie
Posts: 3
Joined: Wed Mar 14, 2007 2:29 am

Integrating ePDQ

Post 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]
Last edited by abhilashss on Wed Mar 14, 2007 11:55 pm, edited 1 time in total.
User avatar
mikeq
Forum Regular
Posts: 512
Joined: Fri May 03, 2002 3:33 am
Location: Edinburgh, Scotland

Post 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.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

abhilashss, don't hijack someone else's thread again please.
abhilashss
Forum Newbie
Posts: 3
Joined: Wed Mar 14, 2007 2:29 am

Post 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
User avatar
mikeq
Forum Regular
Posts: 512
Joined: Fri May 03, 2002 3:33 am
Location: Edinburgh, Scotland

Post 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 ^^^^^
User avatar
onion2k
Jedi Mod
Posts: 5263
Joined: Tue Dec 21, 2004 5:03 pm
Location: usrlab.com

Post 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.
User avatar
mikeq
Forum Regular
Posts: 512
Joined: Fri May 03, 2002 3:33 am
Location: Edinburgh, Scotland

Post 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:
Post Reply