Recommend this page to a friend! |
Download .zip |
Info | Example | View files (422) | Download .zip | Reputation | Support forum | Blog | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2015-06-23 (1 year ago) | Not yet rated by the users | Total: 110 | All time: 8,416 This week: 1,068 |
Version | License | PHP version | Categories | |||
authorize-net-sim 1.0.0 | GNU General Publi... | 5 | HTML, PHP 5, E-Commerce |
Description | Author | |
This class can generate payment forms for Authorize.net SIM API. Recommendations Authorize.net complete class for SIM method |
|************************************************************************************************| |* CLASS NAME : PHP SECURE PAYMENT GATEWAY *| |* DEVELOPER : Samuel Adeshina <samueladeshina73@gmail.com> *| |* LICENSE : GPL(Generic Public License) *| |* DATE : 23 June 2015 *| |* DESCRIPTION : This class uses the Authorize.Net SIM API to provide *| |* a secure payment platform on any website. It provides methods *| |* for customizing the payment page to suite the merchant's website *| |* in terms of color and layout. *| |* It also provides methods for changing form labels, this would make *| |* it easy to translate the payment form into different languages *| |* depending on the customers locale. *| ************************************************************************************************ CLASS OBJECTIVE: Provide A PHP Interface / Object Oriented Implementation For The Authorize.Net SIM API CLASS ATTRIBUTES: private $login; The API_LOGIN_ID, set this value in the auth.ini file, if you want to use it in a production environment private $key; The TRANSACTION_KEY, also set this value in the auth.ini file private $amount; Total recurring cost of the transaction to be made private $sequence; A uniquely generated value, required for figerprint hash generation private $timestamp; private $fingerprint; A Uniquely generated Hashed value as certificate private $customerid; Customer's ID private $receiptlinkmethod; Method for receipt generation (GET, LINK or POST) private $receiptlinktext; Text to show on receipt generation link button or anchor private $receiptlinkurl; URL of the page containing the generated receipt CLASS METHODS: __Construct(): Method responsible for the instantiation of the class, it accepts an array parameter _initializeGateway(): Accepts 5 parameters and is private method, the user need not worry about this method __keyExists(): checks if a key exists in an array, returns a boolean value and is a private method customizeForm(): for changing the look and feel of the generated form. Accepts a single parameter which must be an array renameFormFields(): for changing the label texts on the generated form. It accepts an array which contains the field label to change and the value to change to. ALL OTHER METHODS BELOW EXCEPT THE COMPLETE TRANSACTION METHOD, GENERATES AN HTML FORM WHICH IS NEEDED TO PROCESS PAYMENT ON THE AUTHORIZE.NET PLATFORM. THEY ARE ALL PRIVATE METHODS _initGateway(); _postData(); _merchantCustomizationInterface(); _merchantCustomizationDisplay(); completeTransaction(): This method, completeTransaction(), displays and hidden form and a button which takes the user to the payment page ***ADDITIONAL INFORMATION: You should register on the Authorize.Net website if you want to use this class in a production environment in order to get your developer API_LOGIN_ID and your TRANSACTION_KEY. Once you get them, edit the auth.ini file and insert them into the right field. HAVE FUN WHILE CODING, DON'T FORGET TO RATE THIS PACKAGE ON THE PHPCLASSES SITE AND YOU CAN ALWAYS FIND ME ON ONE OF THE ADDRESSES BELOW IF YOU HAVE A QUESTION OR YOU JUST WANT TO TALK ABOUT ENNGINEERING SOFTWARES! facebook => email => samueladeshina73@gmail.com twitter => whatsapp => +23408139344522 |
Files |
File | Role | Description | ||
---|---|---|---|---|
sdk (9 files, 4 directories) | ||||
auth.ini | Data | First Commit | ||
AuthorizePayment.class.php | Class | First Commit | ||
AuthorizeTest.php | Example | First Commit | ||
composer.json | Data | First Commit | ||
LICENSE | Lic. | First Commit | ||
readme.txt | Doc. | First Commit |
Files | / | sdk |
File | Role | Description | ||
---|---|---|---|---|
doc (8 files) | ||||
lib (8 files, 3 directories) | ||||
resources (1 file) | ||||
scripts (3 files) | ||||
.scrutinizer.yml | Data | First Commit | ||
.travis.yml | Data | First Commit | ||
autoload.php | Aux. | First Commit | ||
classmap.php | Aux. | First Commit | ||
composer.json | Data | First Commit | ||
genclass.sh | Data | First Commit | ||
license.md | Lic. | First Commit | ||
phpunit.xml.dist | Data | First Commit | ||
README.md | Doc. | First Commit |
Files | / | sdk | / | doc |
File | Role | Description |
---|---|---|
AIM.markdown | Data | First Commit |
ARB.markdown | Data | First Commit |
CIM.markdown | Data | First Commit |
CP.markdown | Data | First Commit |
DPM.markdown | Data | First Commit |
SIM.markdown | Data | First Commit |
SOAP.markdown | Data | First Commit |
TD.markdown | Data | First Commit |
Files | / | sdk | / | lib |
File | Role | Description | ||
---|---|---|---|---|
net (1 directory) | ||||
shared (5 files) | ||||
ssl (1 file) | ||||
AuthorizeNetAIM.php | Class | First Commit | ||
AuthorizeNetARB.php | Class | First Commit | ||
AuthorizeNetCIM.php | Class | First Commit | ||
AuthorizeNetCP.php | Class | First Commit | ||
AuthorizeNetDPM.php | Class | First Commit | ||
AuthorizeNetSIM.php | Class | First Commit | ||
AuthorizeNetSOAP.php | Class | First Commit | ||
AuthorizeNetTD.php | Class | First Commit |
Files | / | sdk | / | scripts |
File | Role | Description |
---|---|---|
generateControllersFromTemplate.sh | Data | First Commit |
generateObjectsFromXsd.sh | Data | First Commit |
masterUpdate.sh | Data | First Commit |
authorize-net-sim-2015-06-23.zip 298KB | |
authorize-net-sim-2015-06-23.tar.gz 121KB | |
Install with Composer |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.