VPOS

VPOS

Postby betoncu » Thu Jun 24, 2010 5:30 pm

Is it possible to implement the .net code below in fwh

Thanks in advance,
Birol Betoncu

Code: Select all  Expand view
cc5payment mycc5pay = new cc5payment();

mycc5pay.host = "hostname";
mycc5pay.name = "name";
mycc5pay.password = "password";
mycc5pay.clientid = "clientId";

mycc5pay.orderresult=0;

mycc5pay.cardnumber = "CCNumber";
mycc5pay.cv2 = "CCVNumber";

mycc5pay.expmonth = "01";
mycc5pay.expyear = "06";

mycc5pay.taksit = "3";
mycc5pay.subtotal = "1.43";
mycc5pay.currency = "949";
mycc5pay.chargetype = "Auth";

mycc5pay.bname = "Sender name";
mycc5pay.baddr1 = "Sender Address";
mycc5pay.baddr2 = "senderEMail";

result = mycc5pay.processorder();
error =mycc5pay.errmsg;
oid = mycc5pay.oid;
approved = mycc5pay.appr;

if(result == "1")
{
if(!approved.Equals("Approved"))
{
return ;
}
}
else
{
return;
}
Birol Betoncu
birol.betoncu@gmail.com
Using Harbour, FWH 19.05, BCC7
User avatar
betoncu
 
Posts: 126
Joined: Sat Oct 08, 2005 9:38 pm
Location: Cyprus (North)

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Marc Venken and 75 guests