web_ICVerify (only on Windows)
Web+ has a custom tag for ICVerify for Credit Card transaction. It only supports "Retail Charge Card Authorization". Others like "Food Charge Card Authorization", "Hotel/ Lodging Charge Card Authorization" are not supported yet. We can easily work out <Web_ICFood ...>, <Web_ICHotel
..>
Syntax:
<Web_ICVerify Name="Test" IC_SHAREDIR=...
ACCOUNT=... AMOUNT=...
EXPIRES_MO=... EXPIRES_YR=...
TRANS_TYPE=...
CLERK=...
BILLING=...
ZIP=...
COMMENT=...
AUTHNO=...
>
Name: So you can refer the result of the execution of this tag by it.
For example:
#Test.Validate = "Y"# and #Test.Auth_No"# will have the approved
code.
IC_SHAREDDIR: ICVerify's request directory. So all the requests to
ICVerify will be dropped into this directory.
ACCOUNT: Credit Card Number
EXPIRES_MO: Expiry Month
TRANS_TYPE, it can be:
"C1" : sale
"C2" : void sale
"C3" : credit/return
"C4" : book
"C5" : force sale
"C6" : auth only
"Cr" : credit void
CLEARK: Cleark's name
COMMENT=Comments
If TRANS_TYPE is "C1" , "C5", the following two are needed
BILLING: Billing Address
ZIP=Zip code
For TRANS_TYPE "C6", the above two are optional.
AUTHNO: If TRANS_TYPE is "C2" , "C5", or "C6", this is the approved
code.
For example:
<Web_ICVerify Name="Test" IC_SHAREDIR="f:\icvwin20\visar"
ACCOUNT="12321312"
AMOUNT=123.32 EXPIRES_MO=10 EXPIRES_YR=99 TRANS_TYPE="C1"
CLERK="Mike">
<webPrint Query="Test">
<webIf #Validated = "Y"#>
Approved Code=#Auth_No#<BR>
<webElse>
#Error.ErrorMsg#<BR>
</webIf>
</webPrint>
|