RE: Linkpoint API Host not responding problem.

2004-03-23 Thread Ian Skinner
Here is an example from the documentation.I'm not sure exactly where you would put this in our code, quite possibly you would put it in multiple locations of your code.

 
blockquote
*	You can nest cftry blocks. For example, the following structure is valid:
cftry

code that may cause an exception

cfcatch ...

cftry

First level of exeption handling code

cfcatch ...

Second level of exception handling code

/cfcatch

/cftry

/cfcatch

/cftry



If an exception occurs in the first level of exception-handling code, the inner cfcatch block can catch and handle it. (An exception in a cfcatch block cannot be handled by cfcatch blocks at the same level as that block.)

/blockquote

This shows the concept of putting nested try-catch blocks inside the the catch block of other try-catch blocks. (That is not an awkward sentence!)Anyway, you can use something like this to try a piece of code as many times as you like, then still have an out of none of the trays work.

What I would probably do is put the code I'm trying in some kind of included source (cfinclude, custom tag, UDF or CFC) then I could call the code in multiple locations of the nested try-catch blocks without having to re-code it every time.

HTH

--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

C code. C code run. Run code run. Please!
- Cynthia Dunning
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Linkpoint API Host not responding problem.

2004-03-23 Thread Bailey, Neal
Thanks Ian,

 
I will try this... I still have yet to get an answer from LinkPoint. Gosh
the sad thing is I have heard they are supposed to be pretty good. If that
true I can't imagine what others are like. I guess since they no longer
support ColdFusion it's not going to be easy to get help from them. 

 
Neal Bailey
Internet Marketing Manager
E-mail:mailto:[EMAIL PROTECTED] [EMAIL PROTECTED]

 
_

From: Ian Skinner [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 23, 2004 8:53 AM
To: CF-Talk
Subject: RE: Linkpoint API Host not responding problem. 

 
Here is an example from the documentation.I'm not sure exactly where you
would put this in our code, quite possibly you would put it in multiple
locations of your code.

blockquote
* You can nest cftry blocks. For example, the following structure is valid:
cftry

code that may cause an exception

cfcatch ...

cftry

First level of exeption handling code

cfcatch ...

Second level of exception handling code

/cfcatch

/cftry

/cfcatch

/cftry

If an exception occurs in the first level of exception-handling code, the
inner cfcatch block can catch and handle it. (An exception in a cfcatch
block cannot be handled by cfcatch blocks at the same level as that block.)

/blockquote

This shows the concept of putting nested try-catch blocks inside the the
catch block of other try-catch blocks. (That is not an awkward sentence!)
Anyway, you can use something like this to try a piece of code as many times
as you like, then still have an out of none of the trays work.

What I would probably do is put the code I'm trying in some kind of included
source (cfinclude, custom tag, UDF or CFC) then I could call the code in
multiple locations of the nested try-catch blocks without having to re-code
it every time.

HTH

--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

C code. C code run. Run code run. Please!
- Cynthia Dunning
_
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Linkpoint API Host not responding problem.

2004-03-22 Thread Bryan Stevenson
How about a conditional loop 

Bryan Stevenson B.Comm.
VP  Director of E-Commerce Development
Electric Edge Systems Group Inc.
t. 250.920.8830
e. [EMAIL PROTECTED]

-
Macromedia Associate Partner
www.macromedia.com
-
Vancouver Island ColdFusion Users Group
Founder  Director
www.cfug-vancouverisland.com
- Original Message - 
From: Bailey, Neal 
To: CF-Talk 
Sent: Monday, March 22, 2004 10:06 AM
Subject: Linkpoint API Host not responding problem. 

Hello cfersall/cfers,

I am having an issue with my credit card merchant gateway, I used the
Linkpoint API and I have it working great except one little problem. About
30 percent of the time I seem to get a cannot resolve host error. This
will happen the instance someone places an order or I run a post order
authentication against the order number. If you go back and run the order
again it will go through with no problems. It seems like the
secure.linkpoint.com sites does not respond quickly enough or is just not
available. 

I was wondering if there is a way to make my processing code re-run if the
Host is not responding. I was thinking of some type code that would loop
through for maybe 5 times before it gave an error. 

Or maybe this is an issue with the merchant and they need to fix it... I'm
not sure what to do or how to make it re-run the card if the host is not
responding. What do you guys think I should do? I would think that the
com object that it uses would already check for this. 

Thanks,

Neal Bailey
Internet Marketing Manager
E-mail:mailto:[EMAIL PROTECTED] [EMAIL PROTECTED]
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Linkpoint API Host not responding problem.

2004-03-22 Thread Bryan Stevenson
Oh yadoesn't LinkPoint have a custom tag already built for you?I would think that it would return an error code which you could use to inform the customer that the payment server is down (not ideal but at least you could handle it).That said there is no way a p[ayment gateway should be down 30 percent of the time (if they want to stay in business).I know LinkPoint is merging with SharePay and YourPaybut it is associated with Chase Manhattan and I would expect top notch service (although I've chatted with them and didn't get said service).

my 2 cents

Bryan Stevenson B.Comm.
VP  Director of E-Commerce Development
Electric Edge Systems Group Inc.
t. 250.920.8830
e. [EMAIL PROTECTED]

-
Macromedia Associate Partner
www.macromedia.com
-
Vancouver Island ColdFusion Users Group
Founder  Director
www.cfug-vancouverisland.com
- Original Message - 
From: Bailey, Neal 
To: CF-Talk 
Sent: Monday, March 22, 2004 10:06 AM
Subject: Linkpoint API Host not responding problem. 

Hello cfersall/cfers,

I am having an issue with my credit card merchant gateway, I used the
Linkpoint API and I have it working great except one little problem. About
30 percent of the time I seem to get a cannot resolve host error. This
will happen the instance someone places an order or I run a post order
authentication against the order number. If you go back and run the order
again it will go through with no problems. It seems like the
secure.linkpoint.com sites does not respond quickly enough or is just not
available. 

I was wondering if there is a way to make my processing code re-run if the
Host is not responding. I was thinking of some type code that would loop
through for maybe 5 times before it gave an error. 

Or maybe this is an issue with the merchant and they need to fix it... I'm
not sure what to do or how to make it re-run the card if the host is not
responding. What do you guys think I should do? I would think that the
com object that it uses would already check for this. 

Thanks,

Neal Bailey
Internet Marketing Manager
E-mail:mailto:[EMAIL PROTECTED] [EMAIL PROTECTED]
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Linkpoint API Host not responding problem.

2004-03-22 Thread Ian Skinner
Sounds like and ideal situation for a try-catch block.You can build just such a try catch system, that retries x number of times than if no luck, displays a friendly type message that hopefully encourages the user to try their purchase again in the near future.
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Linkpoint API Host not responding problem.

2004-03-22 Thread Bailey, Neal
Yeah I am using their custom tag/dlls to connect to their system. I also
thought that it should loop a few times before it errors out. I think the
problem is with the creation of the com object or something, I'm not sure
though. It seems to respond way to fast like it did not even try. Like I
said before if I backup and try to process the order again it will work. It
seem to happen way too often... 2 out of 5 orders will show a Cannot
resolve Host error. 

 
Here is the code that I think is responsible... it pull our store number,
host and port number from another file. 

 
!--- CONNECT TO THE COM OR CREATE IT IF NO CONNECTION EXISTS---

 
CFTRY
CFOBJECT 
ACTION="" 
CLASS=LpiCom_6_0.LinkPointTxn 
NAME=LPI_CFX_COM 
TYPE=COM

!--- ELSE CREATE THE OBJECT ---

 
CFCATCH
 CFOBJECT 
ACTION="" 
CLASS=LpiCom_6_0.LinkPointTxn 
NAME=LPI_CFX_COM 
TYPE=COM 
/CFCATCH
/CFTRY

 
!--- SEND THE TRANSACTION USING THE COM ---
cfset resp = LPI_CFX_COM.send(keyfile,host,port,outXML) 

 
!--- RETRIEVE THE RESPONSE XML, CREATE A DOC ROOT ---

 
!--- SET THE STANDARD RESPONSE FOR TELECHECK ---
cfif listcontainsnocase(outxml, telecheck, )

 
!--- RESPONSE CONTAINS WHITE SPACE WHICH CAUSES AN ERROR SO TRIM IT ---
CFSET resp = #trim(resp)#

 
!--- CREDIT CARD RESPONSES NEED A DOC ROOT, WRAP RESPONSE ---
cfelse
CFSET resp = 'response#resp#/response'
/cfif

 
!--- SET THE XML DOC IN A VARIABLE ---
CFSET XMLResp = XmlParse(resp) 

 
!--- SET THE DOC ROOT TO A VARIABLE ---
CFSET rootResp = XMLResp.XmlRoot 

!--- USED TO SEE THE XML DOCUMENT STRUCTURE (NOT FOR LIVE SITE) ---
!--- cfdump var=#XMLResp# ---

 
!--- LOOP THROUGH THE RETURN ELEMENTS ---
CFLOOP FROM=1 TO=#arrayLen(rootResp)# index=i

 
!--- CHECK IF THE SPECIFIED ELEMENT EXISTS. SET IT'S VALUE ---
cfif isDefined('rootResp.r_error')Cfset r_error =
#rootResp[i].r_error.xmltext#cfelsecfset r_error = /cfif
cfif isDefined('rootResp.r_approved')Cfset r_approved =
#rootResp[i].r_approved.xmltext#cfelsecfset r_approved = /cfif
cfif isDefined('rootResp.r_ordernum')Cfset r_ordernum =
#rootResp[i].r_ordernum.xmltext#cfelsecfset r_ordernum = /cfif
cfif isDefined('rootResp.r_code')Cfset r_code =
#rootResp[i].r_code.xmltext#cfelsecfset r_code = /cfif
cfif isDefined('rootResp.r_tdate')Cfset r_tdate =
#rootResp[i].r_tdate.xmltext#cfelsecfset r_tdate = /cfif
cfif isDefined('rootResp.r_time')cfset r_time =
#rootResp[i].r_time.xmltext#cfelsecfset r_time = /cfif
cfif isDefined('rootResp.r_ref')cfset r_ref =
#rootResp[i].r_ref.xmltext#cfelsecfset r_ref=/cfif
cfif isDefined('rootResp.r_authresponse')cfset r_authresponse =
#rootResp[i].r_authresponse.xmltext#cfelsecfset r_authresponse =
/cfif
cfif isDefined('rootResp.r_message')cfset r_message =
#rootResp[i].r_message.xmltext#cfelsecfset r_message = /cfif
cfif isDefined('rootResp.r_avs')cfset r_avs =
#rootResp[i].r_avs.xmltext#cfelsecfset r_avs = /cfif
cfif isDefined('rootResp.r_csp')cfset r_csp =
#rootResp[i].r_csp.xmltext#cfelsecfset r_csp = /cfif
cfif isDefined('rootResp.r_vpasresponse')cfset r_vpasresponse=
#rootResp[i].r_vpasresponse.xmltext#cfelsecfset r_vpasresponse =
/cfif
cfif isDefined('rootResp.r_score')cfset r_score =
#rootResp[i].r_score.r_providerone.xmltext#cfelsecfset r_score =
/cfif
cfif isDefined('rootResp.r_shipping')cfset r_shipping =
#rootResp[i].r_shipping.xmltext#cfelsecfset r_shipping = /cfif
cfif isDefined('apiversion')cfset r_apiversion =
#apiversion#cfelsecfset apiversion = /cfif
!--- END THE LOOP ---
/cfloop

Any ideas on what I could do to make it retry again?...

 
Thnaks,
Neal Bailey
Internet Marketing Manager
E-mail:mailto:[EMAIL PROTECTED] [EMAIL PROTECTED]
_

From: Bryan Stevenson [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 22, 2004 12:19 PM
To: CF-Talk
Subject: Re: Linkpoint API Host not responding problem. 

 
Oh yadoesn't LinkPoint have a custom tag already built for you?I would
think that it would return an error code which you could use to inform the
customer that the payment server is down (not ideal but at least you could
handle it).That said there is no way a p[ayment gateway should be down 30
percent of the time (if they want to stay in business).I know LinkPoint is
merging with SharePay and YourPaybut it is associated with Chase
Manhattan and I would expect top notch service (although I've chatted with
them and didn't get said service).

my 2 cents

Bryan Stevenson B.Comm.
VP  Director of E-Commerce Development
Electric Edge Systems Group Inc.
t. 250.920.8830
e. [EMAIL PROTECTED]

-
Macromedia Associate Partner
www.macromedia.com
-
Vancouver Island ColdFusion Users Group
Founder  Director
www.cfug-vancouverisland.com
- Original Message - 
From: Bailey, Neal 
To: CF-Talk 
Sent: Monday, March 22, 2004 10:06 AM
Subject: Linkpoint API Host not responding problem. 

Hello cfersall/cfers,

I am having an issue with my credit card merchant gateway, I used the

RE: Linkpoint API Host not responding problem.

2004-03-22 Thread Bailey, Neal
Yeah I was thinking of adding more try-catch to my file but I'm not sure
where I would put this as I don't really know were the problem is happing. I
think the com object is having the problem and it already has a try
statement around it. 

 
Linkpoint had me copy two .dll files to my system32 dir. I wonder if I need
to register these? The instructions to this are all messed up as I have
three versions that our completely different. I think I am using the most
current code though. 

 
Neal Bailey
Internet Marketing Manager
E-mail:mailto:[EMAIL PROTECTED] [EMAIL PROTECTED]

This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
If you are not the named addressee you should not disseminate, distribute or
copy this e-mail.Please notify the sender immediately by e-mail if you
have received this e-mail by mistake and delete this e-mail from your
system.If you are not the intended recipient you are hereby notified that
disclosing, copying, distributing or taking any action in reliance on the
contents of this information is strictly prohibited.Thank you.
_

From: Ian Skinner [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 22, 2004 1:23 PM
To: CF-Talk
Subject: RE: Linkpoint API Host not responding problem. 

 
Sounds like and ideal situation for a try-catch block.You can build just
such a try catch system, that retries x number of times than if no luck,
displays a friendly type message that hopefully encourages the user to try
their purchase again in the near future.
_
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Linkpoint API Host not responding problem.

2004-03-22 Thread Bryan Stevenson
I would think you could put all that code inside a CFLOOP that loops say 5 times.

-if you get a success cfbreak out of the loop
-if it fails the first time it tries 4 more times or until successful

That said...2 out of 5 times is totally unacceptable and I'd be riding someones hiney over at LinkPoint ;-)

Cheers

Bryan Stevenson B.Comm.
VP  Director of E-Commerce Development
Electric Edge Systems Group Inc.
t. 250.920.8830
e. [EMAIL PROTECTED]

-
Macromedia Associate Partner
www.macromedia.com
-
Vancouver Island ColdFusion Users Group
Founder  Director
www.cfug-vancouverisland.com
- Original Message - 
From: Bailey, Neal 
To: CF-Talk 
Sent: Monday, March 22, 2004 2:49 PM
Subject: RE: Linkpoint API Host not responding problem. 

Yeah I am using their custom tag/dlls to connect to their system. I also
thought that it should loop a few times before it errors out. I think the
problem is with the creation of the com object or something, I'm not sure
though. It seems to respond way to fast like it did not even try. Like I
said before if I backup and try to process the order again it will work. It
seem to happen way too often... 2 out of 5 orders will show a Cannot
resolve Host error. 

Here is the code that I think is responsible... it pull our store number,
host and port number from another file. 

!--- CONNECT TO THE COM OR CREATE IT IF NO CONNECTION EXISTS---

CFTRY
 CFOBJECT 
 ACTION="" 
 CLASS=LpiCom_6_0.LinkPointTxn 
 NAME=LPI_CFX_COM 
 TYPE=COM

!--- ELSE CREATE THE OBJECT ---

CFCATCH
CFOBJECT 
 ACTION="" 
 CLASS=LpiCom_6_0.LinkPointTxn 
 NAME=LPI_CFX_COM 
 TYPE=COM 
/CFCATCH
/CFTRY

!--- SEND THE TRANSACTION USING THE COM ---
cfset resp = LPI_CFX_COM.send(keyfile,host,port,outXML) 

!--- RETRIEVE THE RESPONSE XML, CREATE A DOC ROOT ---

!--- SET THE STANDARD RESPONSE FOR TELECHECK ---
cfif listcontainsnocase(outxml, telecheck, )

!--- RESPONSE CONTAINS WHITE SPACE WHICH CAUSES AN ERROR SO TRIM IT ---
CFSET resp = #trim(resp)#

!--- CREDIT CARD RESPONSES NEED A DOC ROOT, WRAP RESPONSE ---
cfelse
CFSET resp = 'response#resp#/response'
/cfif

!--- SET THE XML DOC IN A VARIABLE ---
CFSET XMLResp = XmlParse(resp) 

!--- SET THE DOC ROOT TO A VARIABLE ---
CFSET rootResp = XMLResp.XmlRoot 

!--- USED TO SEE THE XML DOCUMENT STRUCTURE (NOT FOR LIVE SITE) ---
!--- cfdump var=#XMLResp# ---

!--- LOOP THROUGH THE RETURN ELEMENTS ---
CFLOOP FROM=1 TO=#arrayLen(rootResp)# index=i

!--- CHECK IF THE SPECIFIED ELEMENT EXISTS. SET IT'S VALUE ---
cfif isDefined('rootResp.r_error')Cfset r_error =
#rootResp[i].r_error.xmltext#cfelsecfset r_error = /cfif
cfif isDefined('rootResp.r_approved')Cfset r_approved =
#rootResp[i].r_approved.xmltext#cfelsecfset r_approved = /cfif
cfif isDefined('rootResp.r_ordernum')Cfset r_ordernum =
#rootResp[i].r_ordernum.xmltext#cfelsecfset r_ordernum = /cfif
cfif isDefined('rootResp.r_code')Cfset r_code =
#rootResp[i].r_code.xmltext#cfelsecfset r_code = /cfif
cfif isDefined('rootResp.r_tdate')Cfset r_tdate =
#rootResp[i].r_tdate.xmltext#cfelsecfset r_tdate = /cfif
cfif isDefined('rootResp.r_time')cfset r_time =
#rootResp[i].r_time.xmltext#cfelsecfset r_time = /cfif
cfif isDefined('rootResp.r_ref')cfset r_ref =
#rootResp[i].r_ref.xmltext#cfelsecfset r_ref=/cfif
cfif isDefined('rootResp.r_authresponse')cfset r_authresponse =
#rootResp[i].r_authresponse.xmltext#cfelsecfset r_authresponse =
/cfif
cfif isDefined('rootResp.r_message')cfset r_message =
#rootResp[i].r_message.xmltext#cfelsecfset r_message = /cfif
cfif isDefined('rootResp.r_avs')cfset r_avs =
#rootResp[i].r_avs.xmltext#cfelsecfset r_avs = /cfif
cfif isDefined('rootResp.r_csp')cfset r_csp =
#rootResp[i].r_csp.xmltext#cfelsecfset r_csp = /cfif
cfif isDefined('rootResp.r_vpasresponse')cfset r_vpasresponse=
#rootResp[i].r_vpasresponse.xmltext#cfelsecfset r_vpasresponse =
/cfif
cfif isDefined('rootResp.r_score')cfset r_score =
#rootResp[i].r_score.r_providerone.xmltext#cfelsecfset r_score =
/cfif
cfif isDefined('rootResp.r_shipping')cfset r_shipping =
#rootResp[i].r_shipping.xmltext#cfelsecfset r_shipping = /cfif
cfif isDefined('apiversion')cfset r_apiversion =
#apiversion#cfelsecfset apiversion = /cfif
!--- END THE LOOP ---
/cfloop

Any ideas on what I could do to make it retry again?...

Thnaks,
Neal Bailey
Internet Marketing Manager
E-mail:mailto:[EMAIL PROTECTED] [EMAIL PROTECTED]
 _

From: Bryan Stevenson [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 22, 2004 12:19 PM
To: CF-Talk
Subject: Re: Linkpoint API Host not responding problem. 

Oh yadoesn't LinkPoint have a custom tag already built for you?I would
think that it would return an error code which you could use to inform the
customer that the payment server is down (not ideal but at least you could
handle it).That said there is no way a p[ayment gateway should be down 30
percent of the time (if they want to stay in busine

RE: Linkpoint API Host not responding problem.

2004-03-22 Thread Bailey, Neal
Yeah I already have two phone calls into there support, but I have been
waiting for their ColdFusion expert to call me back. They actually stop
supporting ColdFusion at the beginning of this year for some insane reason.
Don't they know ColdFusion is going to take over the world as the preferred
language? Knuckle Heads...

 
Anyway its driving me crazy... they said their gateway is working fine, it's
supposedly the same gateway for everyone. I have another friend using them
with an asp site and he has reported no errors but he does not do much
business over the web. 

 
I will try to make some type of loop I guess... 

 
Neal Bailey
Internet Marketing Manager
E-mail:mailto:[EMAIL PROTECTED] [EMAIL PROTECTED]
_

From: Bryan Stevenson [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 22, 2004 4:57 PM
To: CF-Talk
Subject: Re: Linkpoint API Host not responding problem. 

 
I would think you could put all that code inside a CFLOOP that loops say 5
times.

-if you get a success cfbreak out of the loop
-if it fails the first time it tries 4 more times or until successful

That said...2 out of 5 times is totally unacceptable and I'd be riding
someones hiney over at LinkPoint ;-)

Cheers

Bryan Stevenson B.Comm.
VP  Director of E-Commerce Development
Electric Edge Systems Group Inc.
t. 250.920.8830
e. [EMAIL PROTECTED]

-
Macromedia Associate Partner
www.macromedia.com
-
Vancouver Island ColdFusion Users Group
Founder  Director
www.cfug-vancouverisland.com
- Original Message - 
From: Bailey, Neal 
To: CF-Talk 
Sent: Monday, March 22, 2004 2:49 PM
Subject: RE: Linkpoint API Host not responding problem. 

Yeah I am using their custom tag/dlls to connect to their system. I also
thought that it should loop a few times before it errors out. I think the
problem is with the creation of the com object or something, I'm not sure
though. It seems to respond way to fast like it did not even try. Like I
said before if I backup and try to process the order again it will work.
It
seem to happen way too often... 2 out of 5 orders will show a Cannot
resolve Host error. 

Here is the code that I think is responsible... it pull our store number,
host and port number from another file. 

!--- CONNECT TO THE COM OR CREATE IT IF NO CONNECTION EXISTS---

CFTRY
 CFOBJECT 
 ACTION="" 
 CLASS=LpiCom_6_0.LinkPointTxn 
 NAME=LPI_CFX_COM 
 TYPE=COM

!--- ELSE CREATE THE OBJECT ---

CFCATCH
CFOBJECT 
 ACTION="" 
 CLASS=LpiCom_6_0.LinkPointTxn 
 NAME=LPI_CFX_COM 
 TYPE=COM 
/CFCATCH
/CFTRY

!--- SEND THE TRANSACTION USING THE COM ---
cfset resp = LPI_CFX_COM.send(keyfile,host,port,outXML) 

!--- RETRIEVE THE RESPONSE XML, CREATE A DOC ROOT ---

!--- SET THE STANDARD RESPONSE FOR TELECHECK ---
cfif listcontainsnocase(outxml, telecheck, )

!--- RESPONSE CONTAINS WHITE SPACE WHICH CAUSES AN ERROR SO TRIM IT ---
CFSET resp = #trim(resp)#

!--- CREDIT CARD RESPONSES NEED A DOC ROOT, WRAP RESPONSE ---
cfelse
CFSET resp = 'response#resp#/response'
/cfif

!--- SET THE XML DOC IN A VARIABLE ---
CFSET XMLResp = XmlParse(resp) 

!--- SET THE DOC ROOT TO A VARIABLE ---
CFSET rootResp = XMLResp.XmlRoot 

!--- USED TO SEE THE XML DOCUMENT STRUCTURE (NOT FOR LIVE SITE) ---
!--- cfdump var=#XMLResp# ---

!--- LOOP THROUGH THE RETURN ELEMENTS ---
CFLOOP FROM=1 TO=#arrayLen(rootResp)# index=i

!--- CHECK IF THE SPECIFIED ELEMENT EXISTS. SET IT'S VALUE ---
cfif isDefined('rootResp.r_error')Cfset r_error =
#rootResp[i].r_error.xmltext#cfelsecfset r_error = /cfif
cfif isDefined('rootResp.r_approved')Cfset r_approved =
#rootResp[i].r_approved.xmltext#cfelsecfset r_approved = /cfif
cfif isDefined('rootResp.r_ordernum')Cfset r_ordernum =
#rootResp[i].r_ordernum.xmltext#cfelsecfset r_ordernum = /cfif
cfif isDefined('rootResp.r_code')Cfset r_code =
#rootResp[i].r_code.xmltext#cfelsecfset r_code = /cfif
cfif isDefined('rootResp.r_tdate')Cfset r_tdate =
#rootResp[i].r_tdate.xmltext#cfelsecfset r_tdate = /cfif
cfif isDefined('rootResp.r_time')cfset r_time =
#rootResp[i].r_time.xmltext#cfelsecfset r_time = /cfif
cfif isDefined('rootResp.r_ref')cfset r_ref =
#rootResp[i].r_ref.xmltext#cfelsecfset r_ref=/cfif
cfif isDefined('rootResp.r_authresponse')cfset r_authresponse =
#rootResp[i].r_authresponse.xmltext#cfelsecfset r_authresponse =
/cfif
cfif isDefined('rootResp.r_message')cfset r_message =
#rootResp[i].r_message.xmltext#cfelsecfset r_message = /cfif
cfif isDefined('rootResp.r_avs')cfset r_avs =
#rootResp[i].r_avs.xmltext#cfelsecfset r_avs = /cfif
cfif isDefined('rootResp.r_csp')cfset r_csp =
#rootResp[i].r_csp.xmltext#cfelsecfset r_csp = /cfif
cfif isDefined('rootResp.r_vpasresponse')cfset r_vpasresponse=
#rootResp[i].r_vpasresponse.xmltext#cfelsecfset r_vpasresponse =
/cfif
cfif isDefined('rootResp.r_score')cfset r_score =
#rootResp[i].r_score.r_providerone.xmltext#cfelsecfset r_score =
/cfif
cfif isDefined('rootResp.r_shippi

Re: Linkpoint API

2002-05-07 Thread Bud

On 5/6/02, Sean Daniels penned:
   They would be using the CFX tag.

I've used it for three different clients at this point. The way they have
the CF tag set up isn't exactly the way I would do it, but it works fine and
service wise I've not had any issues. Seems pretty fast to authorize as
well.

I was finding alot of long running pages on one site on my server in 
the server.log. I narrowed it down to it's always the connection to 
LinkPoint running 2 and 3 minutes. I actually had to pass a 
requesttimeout of 420 seconds to the page that calls the CFX tag. 
This is a site that does hundreds of orders a day and the long 
running pages only average a couple a day, so it's not too bad, but 
I've never had one show up on any of my authorize.net sites.
-- 

Bud Schneehagen - Tropical Web Creations

_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
ColdFusion Solutions / eCommerce Development
[EMAIL PROTECTED]
http://www.twcreations.com/
954.721.3452
__
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Linkpoint API

2002-05-06 Thread Kevin Langevin

I've used it a bit.  Are you going to use the ColdFusion app they've built,
or just the simple HTML version?  They also have Java and XML code you can
use.

-Kevin

 -Original Message-
 From: Joseph DeVore [mailto:[EMAIL PROTECTED]]
 Sent: Monday, May 06, 2002 2:11 PM
 To: CF-Talk
 Subject: Linkpoint API


 Anyone here ever used the Linkpoint API?

 Any feedback on Linkpoint's services?

 I have a client who might want to use them but, he would like
 some feedback
 first.

 Any comments/suggestions appreciated.


 Thank you,


 Joseph DeVore
 VeloxWeb Technologies



 
__
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Linkpoint API

2002-05-06 Thread Joseph DeVore

They would be using the CFX tag.


-Original Message-
From: Kevin Langevin [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 06, 2002 11:11 AM
To: CF-Talk
Subject: RE: Linkpoint API


I've used it a bit.  Are you going to use the ColdFusion app they've built,
or just the simple HTML version?  They also have Java and XML code you can
use.

-Kevin

 -Original Message-
 From: Joseph DeVore [mailto:[EMAIL PROTECTED]]
 Sent: Monday, May 06, 2002 2:11 PM
 To: CF-Talk
 Subject: Linkpoint API


 Anyone here ever used the Linkpoint API?

 Any feedback on Linkpoint's services?

 I have a client who might want to use them but, he would like
 some feedback
 first.

 Any comments/suggestions appreciated.


 Thank you,


 Joseph DeVore
 VeloxWeb Technologies





__
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Linkpoint API

2002-05-06 Thread Sean Daniels

On 5/6/02 2:23 PM Joseph DeVore wrote:

 They would be using the CFX tag.

I've used it for three different clients at this point. The way they have
the CF tag set up isn't exactly the way I would do it, but it works fine and
service wise I've not had any issues. Seems pretty fast to authorize as
well.

- Sean

~~
Sean Daniels
  Director, Engineering
  Marketplace Technologies, Inc
(T): 207.363.7374
(C): 207.332.6340
(F): 240.269.6319
~~
  http://www.dealforce.com
  http://www.mergernetwork.com



__
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Linkpoint API

2002-05-06 Thread Justin Scott

I use the LinkPoint API and CFX tag on the DtDNS site and have never had any
major issues with them.  They do take their reports, etc down now and then
for maintenance, which is mildly annoying.  They also only maintain reports
online for 3 months, so if you get a chargeback from before that far back,
you must have your own records on the transaction.

Aside from that, their support is very good thus far and the transaction
processing is pretty quick.  Since I don't do a high volume of sales I don't
know how well it will stand up to pressure though.

-Justin Scott, Lead Developer
 Sceiron Internet Services, Inc.
 http://www.sceiron.com


- Original Message -
From: Joseph DeVore [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Monday, May 06, 2002 2:10 PM
Subject: Linkpoint API


 Anyone here ever used the Linkpoint API?

 Any feedback on Linkpoint's services?

 I have a client who might want to use them but, he would like some
feedback
 first.

 Any comments/suggestions appreciated.


 Thank you,


 Joseph DeVore
 VeloxWeb Technologies



 
__
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Linkpoint API

2002-05-06 Thread mynews

Does anyone know which cf-hosts support the LinkPoint API?

BJ

= = = Original message = = =

I use the LinkPoint API and CFX tag on the DtDNS site and have 
never had any
major issues with them.  They do take their reports, etc down 
now and then
for maintenance, which is mildly annoying.  They also only maintain 
reports
online for 3 months, so if you get a chargeback from before that 
far back,
you must have your own records on the transaction.

Aside from that, their support is very good thus far and the 
transaction
processing is pretty quick.  Since I don't do a high volume of 
sales I don't
know how well it will stand up to pressure though.

-Justin Scott, Lead Developer
 Sceiron Internet Services, Inc.
 http://www.sceiron.com


- Original Message -
From: Joseph DeVore [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Monday, May 06, 2002 2:10 PM
Subject: Linkpoint API


 Anyone here ever used the Linkpoint API?

 Any feedback on Linkpoint's services?

 I have a client who might want to use them but, he would like 
some
feedback
 first.

 Any comments/suggestions appreciated.


 Thank you,


 Joseph DeVore
 VeloxWeb Technologies



 

__
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Linkpoint API

2002-05-06 Thread Justin Scott

Funny you should ask as a reply to my post.  Sceiron provides hosting
services and we have the tag here on our servers since we use it internally.
There's a toll free number on the web site if you want to call and discuss
pricing (all hosting packages are custom priced).

-Justin Scott, Lead Developer
 Sceiron Internet Services, Inc.
 http://www.sceiron.com


- Original Message -
From: [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Monday, May 06, 2002 4:29 PM
Subject: Re: Linkpoint API


 Does anyone know which cf-hosts support the LinkPoint API?

 BJ

 = = = Original message = = =

 I use the LinkPoint API and CFX tag on the DtDNS site and have
 never had any
 major issues with them.  They do take their reports, etc down
 now and then
 for maintenance, which is mildly annoying.  They also only maintain
 reports
 online for 3 months, so if you get a chargeback from before that
 far back,
 you must have your own records on the transaction.

 Aside from that, their support is very good thus far and the
 transaction
 processing is pretty quick.  Since I don't do a high volume of
 sales I don't
 know how well it will stand up to pressure though.

 -Justin Scott, Lead Developer
  Sceiron Internet Services, Inc.
  http://www.sceiron.com


 - Original Message -
 From: Joseph DeVore [EMAIL PROTECTED]
 To: CF-Talk [EMAIL PROTECTED]
 Sent: Monday, May 06, 2002 2:10 PM
 Subject: Linkpoint API


  Anyone here ever used the Linkpoint API?
 
  Any feedback on Linkpoint's services?
 
  I have a client who might want to use them but, he would like
 some
 feedback
  first.
 
  Any comments/suggestions appreciated.
 
 
  Thank you,
 
 
  Joseph DeVore
  VeloxWeb Technologies
 
 
 
 

 
__
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists