Just in case anyone is having problems with the Protx VSP Server Gateway.

There is a problem with the Protx supplied Coldfusion kit.

When 3D secure is enabled, in vps_handle_protx_response.cfm a check is made
for response.cavv regardless of whether it was sent.

Amended code as follows:

        <cfif Response.3DSecureStatus is "">
                <cfset   message =
                #VPSTxId# &
                #Response.VendorTxCode# &
                "OK" &
                #Response.TxAuthNo# &
                #vendor# &
                #Response.AVSCV2# &
                #SecurityKey# &
                #Response.AddressResult# &
                #Response.PostCodeResult# &
                #Response.CV2Result# &
                #Response.GiftAid#
                >
        <cfelse>
<cfif isdefined("response.cavv")>
<cfset   message =
                #VPSTxId# &
                #Response.VendorTxCode# &
                "OK" &
                #Response.TxAuthNo# &
                #vendor# &
                #Response.AVSCV2# &
                #SecurityKey# &
                #Response.AddressResult# &
                #Response.PostCodeResult# &
                #Response.CV2Result# &
                #Response.GiftAid# &
                #Response.3DSecureStatus# &
                #Response.CAVV#
                >
<cfelse>
<cfset   message =
                #VPSTxId# &
                #Response.VendorTxCode# &
                "OK" &
                #Response.TxAuthNo# &
                #vendor# &
                #Response.AVSCV2# &
                #SecurityKey# &
                #Response.AddressResult# &
                #Response.PostCodeResult# &
                #Response.CV2Result# &
                #Response.GiftAid# &
                #Response.3DSecureStatus#
                >
</cfif>
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.476 / Virus Database: 269.11.10/943 - Release Date: 08/08/2007
17:38



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Enterprise web applications, build robust, secure 
scalable apps today - Try it now ColdFusion Today
ColdFusion 8 beta - Build next generation apps

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:285792
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to