Download the PHP package atacante/cashier-authorizenetpaisa without Composer

On this page you can find all versions of the php package atacante/cashier-authorizenetpaisa. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package cashier-authorizenetpaisa

Laravel Cashier-Authorize

Introduction

Laravel Cashier-Authorize provides an expressive, fluent interface to Authorize.net's subscription billing services. It handles almost all of the boilerplate subscription billing code you are dreading writing. In addition to basic subscription management, Cashier-Authorize can handle cancellation grace periods, and even generate invoice PDFs.

Basic Setup

Please read the following for the basic setup.

Composer Setup

composer require atacante/cashier-authorizenetpaisa

.env

ADN_ENV= ADN_LOG=authorize.log

ADN_API_LOGIN_ID= ADN_TRANSACTION_KEY= ADN_SECRET_KEY=Simon

ADN_ENV should be one of: sandbox, production

Migrations

You will need to make migrations that include the following:

Publish

You will need to publish the assets of this package.

php artisan vendor:publish --provider="Laravel\CashierAuthorizeNet\CashierServiceProvider"

Config

Below is an example config for a subscription with Authorize.net compatibility. You can define your subscriptions in this config.

'config/services.php'

You will need to add the following to your 'config/services.php' file, please make sure that the model matches your app's User class:

You can also set this value with the following .env variable: ADN_MODEL

Basic Usage

There are differences with Authorize.net vs services like Stripe. Authorize.net is a slighly slower and more restricted subscription provider. This means you cannot do things like swap subscriptions, or change quantity of subscriptions. You need to cancel, and create new subscriptions to handle those variations.

You can perform the following actions:

User::

Transaction Details

Enabling the API To enable the Transaction Details API: 1) Log on to the Merchant Interface at https://account.authorize.net . 2) Select Settings under Account in the main menu on the left. 3) Click the Transaction Details API link in the Security Settings section. The Transaction Details API screen opens. 4) If you have not already enabled the Transaction Details API, enter the answer to your Secret Question, then click Enable Transaction Details API. 5) When you have successfully enabled the Transaction Details API, the Settings page displays.

CRON job

You need to enable the following CRON job to check the status of your user's subscriptions. This can run as often as you like, and will check to confirm that your user's subscription is active. If the status is changed to cancelled or suspended - the system will disable their subscription locally. Your team will need to resolve the payment issue with Authorize.net and then move forward.

Limitations

Another limitation is time related. Due to the fact that Authorize.net uses a SOAP structure for its APIs, there needs to be a time delay between adding a customer with a credit card to their system and then adding a subscription to that user. This could be done easily in your app by having the user enter their credit card information, and then allowing a confirmation of the subscription they wish to purchase as another action. This time can be as little as a second, but all tests thus far with immediate adding of subscriptions fails to work, so please be mindful of this limitation when designing your app.

License

Laravel Cashier-Authorize is open-sourced software licensed under the MIT license


All versions of cashier-authorizenetpaisa with dependencies

PHP Build Version
Package Version
Requires authorizenet/authorizenet Version ^1.9.2
dompdf/dompdf Version ^0.6.1
illuminate/container Version ^5.2|^5.1
illuminate/database Version ~5.1
illuminate/support Version ~5.1
nesbot/carbon Version ~1.0
php Version >=5.5.9
symfony/http-kernel Version ~2.7|~3.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package atacante/cashier-authorizenetpaisa contains the following files

Loading the files please wait ....