You are correct, it doesn't look too hard either.

Robert Everland III
Dixon Ticonderoga
Web Developer Extraordinaire

-----Original Message-----
From: Peter Dray" <[EMAIL PROTECTED]> [mailto:Peter Dray"
<[EMAIL PROTECTED]>]
Sent: Friday, January 04, 2002 8:44 AM
To: CF-Talk
Subject: CFHTTP? was RE: Cybercash / Barclays in the UK


Thanks for the mails.

I talked to Barclays EPDQ and they said that yes, you can use Coldfusion but
they won't support it as nobody there knows anything about it. In fact
nobody there knows anything apart from Perl or ASP so that's handy!

Anyhow, they gave me the following code and said 'if you can translate that
to CF then you can use that'.

<%
Const Request_POST = 1
Const Request_GET = 2
Set objTear = CreateObject("SOFTWING.ASPtear")
On Error Resume Next
Response.ContentType = "text/html"
Dim strEPDQ

strEPDQ = objTear.Retrieve( _
 "http://secure2.epdq.co.uk/cgi-bin/CcxBarclaysEpdqEncTool.e";, Request_POST,
_
 "clientid=3&password=pd&chargetype=Auth&currencycode=826&total=1.23", "",
"")

If Err.Number <> 0 Then
   Response.Write "<b>"
   If Err.Number >= 400 Then
      Response.Write "Server returned error: " & Err.Number
   Else
      Response.Write "Component/WinInet error: " & Err.Description
   End If
   Response.Write "</b>"
   Response.End
End If
%>

<FORM action="https://secure2.epdq.co.uk/cgi-bin/CcxBarclaysEpdq.e";
method="POST">
<%= strEPDQ %>
<INPUT type="hidden" name="returnurl" value="http://www.store.co.uk/";>
<INPUT type="hidden" name="merchantdisplayname" value="My Store">
<INPUT TYPE="submit" VALUE="purchase">
</FORM>



Now, I'm not an ASP person whatsoever but to my layman eye this looks like a
job for a simple CFHTTP tag.

Am I right?

Pete



-----Original Message-----
From: Kola Oyedeji <[EMAIL PROTECTED]> [mailto:Kola Oyedeji
<[EMAIL PROTECTED]>]
Sent: 04 January 2002 12:51
To: CF-Talk
Subject: RE: Cybercash / Barclays in the UK


Peter

When they say they no longer accept connections from cf sites did they say
why is it for technical reasons?

Judging from some text on their site:

"using the HTTP "POST" protocol from a known fixed URL to the server using
128 bit SSL. The storefront must also be capable of handling data returned
from ePDQ via the HTTP "POST" protocol."

You just need to securely post the details to one of their servers. Do they
actually check to determine if it was posted from a cf site? Perhaps they
have had problems receiving posts from cf sites using cfhttp?

Kola

Kola Oyedeji |Web Developer |ekeda
elthorne gate |64 high street |pinner |middx |ha55qa
t +44(208)429 7333 f +44(208)429 7339 |www.ekeda.co.uk


> -----Original Message-----
> From: Peter Dray <[EMAIL PROTECTED]> [mailto:Peter Dray
> <[EMAIL PROTECTED]>]
> Sent: 04 January 2002 09:50
> To: CF-Talk
> Subject: Cybercash / Barclays in the UK
>
>
> Hi all,
>
> I have heard from some sources that the demise of cybercash
> has no effect on
> e-commerce sites that are/were running the cfx tags to connect to that
> system. Whereas Barclays EPDQ told me that they no longer
> accept connections
> from CF sites at all.
>
> Can anyone shed any light on this for me ?
>
> Many thanks
>
> Pete Dray
>
>


______________________________________________________________________
Why Share?
  Dedicated Win 2000 Server � PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation � $99/Month � Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to