2017 © Pedro Peláez
 

library authorizenet_fork

Authorize.net API wrapper, includes Laravel 5 support.

image

adipasanta/authorizenet_fork

Authorize.net API wrapper, includes Laravel 5 support.

  • Tuesday, April 10, 2018
  • by adipasanta
  • Repository
  • 1 Watchers
  • 0 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 4 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

Authorize.net

Basic abstraction with Laravel integration for Authorize.net, (*1)

## Notice, (*2)

Namespace of package has been updated from Pseudocody to Codylewis to reflect github name update, this is a one time change., (*3)

Installation

  • composer require codylewis/authorizenet
  • For Laravel 5 support:
    • Add the service provider to config/app.php: Codylewis\AuthorizeNet\AuthorizeNetServiceProvider
    • Register the facade: 'AuthorizeNet' => Codylewis\AuthorizeNet\AuthorizeNetFacade::class,
    • Add .env value for AUTHORIZE_NET_LOGIN (Login ID) and AUTHORIZE_NET_TRANSACTION_KEY (Transaction Key)
    • Optionally create the config file: config/authorizenet.php

Usage

  • Within Laravel 5, instantiate using the API key in the constructor: $authorizeNet = new Codylewis\AuthorizeNet\AuthorizeNet($loginId, $transactionKey)
  • AuthorizeNet::authorizeCreditCard($order) attempts authorize cards with provided information, returns response
  • AuthorizeNet::capturePreviouslyAuthorizedCreditcard($transactionId, $amount) attempts to capture previously authorized credit card

The Versions

10/04 2018

dev-master

9999999-dev

Authorize.net API wrapper, includes Laravel 5 support.

  Sources   Download

MIT

The Requires

 

by Cody Lewis

laravel authorize.net

21/11 2017

v2.1

2.1.0.0

Authorize.net API wrapper, includes Laravel 5 support.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Cody Lewis

laravel authorize.net

05/09 2017

v1.1

1.1.0.0

Authorize.net API wrapper, includes Laravel 5 support.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Cody Lewis

laravel authorize.net

26/08 2017

v1.0

1.0.0.0

Authorize.net API wrapper, includes Laravel 5 support.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Cody Lewis

laravel authorize.net