Download the PHP package apvanlaan/usaepay without Composer

On this page you can find all versions of the php package apvanlaan/usaepay. 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 usaepay

USAePay Rest API Package for Laravel

Latest Version on Packagist Build Status

Project was created by, and is maintained by Aaron VanLaan.

Usage

Table Of Content

  1. Requirements
  2. Installation
  3. EpayCustomer Class
    • Parameters
    • Methods
  4. EpayTransaction Class
    • Parameters
    • Methods
    • EpayTransaction Child Classes
      • EpayAmountDetail Class
      • EpayCreditCard Class
      • EpayCustomerAddress Class
      • EpayCustomField Class (COMING SOON)
      • EpayLineItem Class
      • EpayTrait Class
  5. EpayBatch Class
    • Parameters
    • Methods
  6. EpayProduct Class
    • Parameters
    • Methods
  7. EpayCategory Class
    • Parameters
    • Methods
  8. EpayInventory Class (COMING SOON)
    • Parameters
    • Methods
  9. Examples
    • Example View
    • Example Vue Component

      Requirements

This library uses PHP 7.4+ and Laravel 6+

You can find the USAePay Rest API docs here : https://help.usaepay.info/api/rest/

Installation

Require via Composer

Publish Assets

Add required ENV variables to .env

Note: In the following sections, the included routes relate to the controllers I have included in the package. If you end up rolling your own then obviously you can ignore those. The required fields, however, are required via the USAePay API, so those must remain.

EpayCustomer Class

The EpayCustomer Class handles the creation of the Customer object and the associated api calls.

Parameters

EpayCustomer parameters are: (note: all listed required are the minimum required by the USAePay API)

EpayCustomer Methods w/ default required params and Examples

(note: there are two ways to instantiate the epay classes, you can pass an array/object with the paramters or you can instantiate an empty class and manually set the parameters as needed.)

getCustomer()

listCustomers()

addCustomer()

updateCustomer()

deleteCustomer()

EpayTransaction Class

The EpayTransaction Class handles the creation of the Transaction object and the associated api calls.

Parameters

EpayTransaction parameters are:

EpayTransaction Methods w/ default required params

listAuthorized()

listAuthorized()

createSale()

createRefund()

createVoid()

authorizeTransaction()

captureTransaction()

EpayTransaction Child Classes

EpayAmountDetail Class & Parameters

EpayCreditCard Class & Parameters

EpayCustomerAddress Class & Parameters

EpayLineItem Class & Parameters

EpayTrait Class & Parameters

The EpayBatch Class handles the creation of the Batch object and the associated api calls.

Parameters

EpayBatch parameters are:

EpayBatch Methods w/ default required params

listBatches()

currentBatch()

retrieveBatch()

getCurrentBatchTransactions()

getTransactionsByBatch()

closeBatch()

EpayProduct Class

The EpayProduct Class handles the creation of the Product object and the associated api calls.

Parameters

EpayProduct Methods w/ default required params

listProducts()

createProduct()

getProduct()

updateProduct()

deleteProduct()

EpayCategory Class

The EpayCategory Class handles the creation of the Category object and the associated api calls.

Parameters

EpayCategory Methods w/ default required params

listCategories()

createCategory()

getCategory()

updateCategory()

deleteCategory()

EpayInventory Class

(COMING SOON)

Parameters (COMING SOON)

EpayInventory Methods w/ default required params (COMING SOON)

Examples

The following is an example of creating a View in Laravel that utilizes a Vue Component

Example View

Example Vue Component

Change log

Please see the changelog for more information on what has changed recently.

Contributing

Please see contributing.md for details and a todolist.

Credits

License

The USAePay REST API Package for Laravel is open-sourced software licensed under the MIT license.


All versions of usaepay with dependencies

PHP Build Version
Package Version
Requires illuminate/support Version ~5|~6|~7|~8|~9
usaepay/usaepay-php Version ^2.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 apvanlaan/usaepay contains the following files

Loading the files please wait ....