This class is meant to process credit card payments by connecting to a Java XPay transaction processing client provided by the SecureTrading company.
The XPay Java client must be running in the same machine as PHP or some other machine reachable via TCP connections.
The class establishes a connection with the XPay Java client and submits transaction authorization request in XPay XML request format. It passes a site reference and a certificate read from a given file.
Then it collects and processes the XML response to extract the transaction results. |