New Zenner
- Join Date:
- Nov 2006
- Posts:
- 56
- Plugin Contributions:
- 0
CODE showing up on ADMIN->MODULE->PAYMENTS????
When I go to:
ADMIN->MODULES->PAYMENT...
I see a bunch of PHP code displayed. Here's a brief sampe:
.authorize.net/gateway/transact.dll'; $this->gateway_mode = MODULE_PAYMENT_AUTHORIZENET_GATEWAY_MODE; $this->_logDir = DIR_FS_SQL_CACHE; // verify table structure if (IS_ADMIN_FLAG === true) $this->tableCheckup(); } // Authorize.net utility functions // DISCLAIMER: // This code is distributed in the hope that it will be useful, but without any warranty; // without even the implied warranty of merchantability or fitness for a particular purpose. // Main Interfaces: // // function InsertFP ($loginid, $txnkey, $amount, $sequence) - Insert HTML form elements required for SIM // function CalculateFP ($loginid, $txnkey, $amount, $sequence, $tstamp) - Returns Fingerprint. // compute HMAC-MD5 // Uses PHP mhash extension. Be sure to enable the extension // function hmac ($key, $data) { // return (bin2hex (mhash(MHASH_MD5, $data, $key))); //} // Thanks is lance from http://www.php.net/manual/en/function.
Not sure what this is from? I found the file for this in /includes/modules/payment/authorizenet.php
But, I have no idea why the code is being displayed?
ANY help?
Everything seems to work, but we haven't tested AUTHORIZE yet as the account isn't set up.
Thanks in advance...