teamzac/laravel-bluepay

A Laravel package to integrate BluePay payments

0.0.1 2019-06-04 21:33 UTC

This package is auto-updated.

Last update: 2024-03-05 08:11:32 UTC


README

Latest Version on Packagist Build Status Quality Score Total Downloads

If you need to reach the BluePay API in Laravel 5.8+ but don't particularly care for the official SDK, this might be for you.

This package is not yet ready for production use. It does not yet have tests and the API should be considered unstable. Use at your own risk.

Installation

You can install the package via composer:

composer require teamzac/laravel-bluepay

The service provider and BluePay facade will be automatically registered for you.

Usage

Using the facade to create save customer information and return a token for future use

BluePay::tokens()->setCustomer([
  // data
])->setCard([
  // data
])->create();

Using the facade to charge a token

BluePay::tokens()->setToken($token)->charge(100.00);

Testing

composer test

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email chad@zactax.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.