Rafael (Alan Bleiweiss) wrote:
> We run CF_UPSPrice on several sites - however I need to know how to check
> it for having been processed - because once in a while the UPS site IS down
> or the connection in one of the hops to them or back from them is down and
> it results in a CF Error page on our site - the cart dies at that point.
>
> This same issue needs to be addressed for our Card validation code (we use
> AuthorizeNet on some sites, PlugNPay on others, and ProcessNet on yet
> others).
>
> Can anyone share the code or point me in the right direction on how to
> determine that the http call has not come back?
>
> THANKS A ZILLION
<cftry>
<CF_UPSPrice>
<cfcatch>
<!--- An error occurred, save details, --->
<!--- and try again later --->
</cfcatch>
</cftry>
Should do the trick.
You can use a schedulled template that will retry failed transmissions
every hour or so.
Jesse
______________________________________________________________________
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/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists