teamzac / laravel-bluepay

A Laravel package to integrate BluePay payments

Stars
0

A Laravel-oriented BluePay client

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 [email protected] instead of using the issue tracker.

Credits

License

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