SELL YOUR ITEM

ERROR WITH PROCESSING ORDER

<%'######### CONTENT STARTS ##############%> <% '** Decode the crypt field that was sent back to us ** Decoded=SimpleXor(Base64Decode(Request.QueryString("Crypt")),EncryptionPassword) '** Split out the useful information into variables we can use ** VendorTxCode=getToken(Decoded,"VendorTxCode") Status=getToken(Decoded,"Status") StatusDetail=getToken(Decoded,"StatusDetail") VPSTxID=getToken(Decoded,"VPSTxId") Amount=getToken(Decoded,"Amount") AVSCV2=getToken(Decoded,"AVSCV2") ' ** protocol 2.22 fields AddressResult = getToken( Decoded, "AddressResult" ) PostCodeResult = getToken( Decoded, "PostCodeResult" ) CV2Result = getToken( Decoded, "CV2Result" ) GiftAid = getToken( Decoded, "GiftAid" ) VBVSecureStatus = getToken( Decoded, "3DSecureStatus" ) CAVV = getToken( Decoded, "CAVV" ) NewTxCode = Mid(VendorTxCode, 2, Len(VendorTxCode)-1) ' Update the order details SQLString = "UPDATE Forces_Items SET Status='"&Status&"', TxAuthNo= '"&TxAuthNo&"', "&_ " VPSTxID='"&VPSTxID&"', AVSCV2 ='"&AVSCV2&"', AddressResult='"&AddressResult&"', "&_ " PostCodeResult='"&PostCodeResult&"', CV2Result ='"&CV2Result&"', CAVV='"&CAVV&"', Paid='no', StatusDetail='"&StatusDetail&"' "&_ " WHERE ItemID='" & VendorTxCode &"'" MyConn.Execute(SQLString) %>
<% if (Status="ABORT") then %> You elected to cancel your online payment. <% elseif (Status="NOTAUTHED") then %> The VSP was unable to authorise your payment. <% else %> An error has occurred at protx. <% end if %>

Your transaction has failed.

<% if (Status="ABORT") then %> Any credit/debit card details you entered have not been sent to the bank. You will not be charged for this transaction. <% elseif (Status="NOTAUTHED") then %> The acquiring bank would not authorise your selected method of payment. You will not be charged for this transaction. <% else %> Because an error occurred in the payment process, you will not be charged for this transaction, even if an authorisation was given by the bank. <% end if %>

If you have any queries about your transaction, please phone our purchase helpline on +44 (0)7969694797 quoting reference <%=VendorTxCode%>.
<%'######### CONTENT ENDS ################%>