I have this coded in CFML but i need to port it over to a PHP platform. How can i make the same calls in PHP? Any help would be much appreciated!!!!!
<CFOBJECT ACTION="Create" Here is where we call the object.
NAME="FAC"
CLASS="FAC.cGateSecureX">
This is where we set the variables
<cfset FAC.HostName = ""> Hostname is static
<cfset FAC.PortName = ""> Portname is static
<cfset FAC.CardNumber = ""> CardNumber is Dynamic
<cfset FAC.Expiry = ""> Expiry is Dynamic
<cfset FAC.Amount = ""> Amount is Dynamic
<cfset FAC.Merchant = > Merchant is Static
<cfset FAC.Timeout = ""> Time out is static
<cfset FAC.Invoice = ""> Invoice is Dynamic
<cfset execute = FAC.authorize ()>
Calling an object in PHP?
Moderator: General Moderators
http://us3.php.net/manual/en/language.oop.php
Once you have the class ported to php, the above URL will help with instantiating the object and using it's methods.
Caio,
BDKR
Once you have the class ported to php, the above URL will help with instantiating the object and using it's methods.
Caio,
BDKR