Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dmyers/fuel-authorizenet
An Authorize.net Package for Fuel
https://github.com/dmyers/fuel-authorizenet
Last synced: about 1 month ago
JSON representation
An Authorize.net Package for Fuel
- Host: GitHub
- URL: https://github.com/dmyers/fuel-authorizenet
- Owner: dmyers
- License: mit
- Created: 2013-02-04T19:23:13.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2014-04-05T22:41:16.000Z (over 10 years ago)
- Last Synced: 2024-10-09T09:51:12.871Z (about 1 month ago)
- Language: PHP
- Size: 398 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Fuel AuthorizeNet Package
A super simple AuthorizeNet package for AuthorizeNet's PHP SDK for Fuel.
## About
* Version: 1.0.0
* License: MIT License
* Author: Derek Myers## Installation
Simply add the following to your composer.json require block:
'authorizenet/authorizenet'
### Git Submodule
If you are installing this as a submodule (recommended) in your git repo root, run this command:
$ git submodule add git://github.com/dmyers/fuel-authorizenet.git fuel/packages/authorizenet
Then you you need to initialize and update the submodule:
$ git submodule update --init --recursive fuel/packages/authorizenet/
### Download
Alternatively you can download it and extract it into `fuel/packages/authorizenet/`.
## Usage
```php
$cim = new AuthorizeNetCIM();
$customer = new AuthorizeNetCustomer();
$payment_profile = AuthorizeNetPaymentProfile ();
```For more examples, check out the [AuthorizeNet PHP SDK](http://developer.authorize.net/downloads/) and [AuthorizeNet PHP Sample Code](http://developer.authorize.net/downloads/samplecode/).
## Configuration
Configuration is easy. Copy the `config/authorizenet.php` from the package up into your `app/config/` directory. Open it up and enter your API login ID and transaction key.
## Updates
In order to keep the package up to date simply run:
$ git submodule update --recursive fuel/packages/authorizenet/