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.setMe rchantDetails "","","","" ,
oBTA.setAddress Details "1",2,3,4,5,6,7 ,8,
oSTA.setAddress Details 1,2,3,4,5,6,
oCI.setCardDeta ils "1","2","3","4" ,"5","6","7"
Dim oPGResp
Set oPGResp=oPostLi b.postSSL (oMPI,oMerchant ,oBTA,oSTA)
If oPGResp.getRedi rectionUrl() <> "" Then
strResponseURL= oPGResp.getRedi rectionUrl()
Response.Redire ct strResponseURL
else
Response.Write "Response code:" & oPgResp.getResp Code() & "<br>"
Response.Write "Response message:" & oPgResp.getResp Message() & "<br>"
End If
*************** *************** *************** *************** *************** ****
Please Help me on this
Thanking you
With Regards
RoopaMahalakshm i
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.setMe rchantDetails "","","","" ,
oBTA.setAddress Details "1",2,3,4,5,6,7 ,8,
oSTA.setAddress Details 1,2,3,4,5,6,
oCI.setCardDeta ils "1","2","3","4" ,"5","6","7"
Dim oPGResp
Set oPGResp=oPostLi b.postSSL (oMPI,oMerchant ,oBTA,oSTA)
If oPGResp.getRedi rectionUrl() <> "" Then
strResponseURL= oPGResp.getRedi rectionUrl()
Response.Redire ct strResponseURL
else
Response.Write "Response code:" & oPgResp.getResp Code() & "<br>"
Response.Write "Response message:" & oPgResp.getResp Message() & "<br>"
End If
*************** *************** *************** *************** *************** ****
Please Help me on this
Thanking you
With Regards
RoopaMahalakshm i
Comment