Hello
I am an Software Developer in asp.net, Currently i am in need of doing an application in PHP, So can any one please let me know how to call a class in PHP. in asp we used to call the class as
************************************************** *****************************
Dim oPostLib
Set oPostLib = New PostLib
************************************************** *****************************
And i want to know the code conversion of
************************************************** *****************************
oMerchant.setMerchantDetails "","","","",
oBTA.setAddressDetails "1",2,3,4,5,6,7,8,
oSTA.setAddressDetails 1,2,3,4,5,6,
oCI.setCardDetails "1","2","3","4","5","6","7"
Dim oPGResp
Set oPGResp=oPostLib.postSSL (oMPI,oMerchant,oBTA,oSTA)
If oPGResp.getRedirectionUrl() <> "" Then
strResponseURL=oPGResp.getRedirectionUrl()
Response.Redirect strResponseURL
else
Response.Write "Response code:" & oPgResp.getRespCode() & "<br>"
Response.Write "Response message:" & oPgResp.getRespMessage() & "<br>"
End If
************************************************** *****************************
Please Help me on this
Thanking you
With Regards
RoopaMahalakshmi