2017 © Pedro Peláez
 

library bplib

Sample Laravel Integration of BluePay API

image

margules/bplib

Sample Laravel Integration of BluePay API

  • Tuesday, February 20, 2018
  • by ericmargules
  • Repository
  • 1 Watchers
  • 0 Stars
  • 16 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 23 % Grown

The README.md

Bluepay Package for Laravel 5.6.x

1. Require BluePay package via composer.

composer require margules/bplib

2. Copy your BluePay credentials to .env file

BP_ACCOUNT_ID="Merchant's Account ID Here"
BP_SECRET_KEY="Merchant's Secret Key Here"
BP_MODE="TEST"

3. Add Service Provider and Facade to config/app.php.

"Margules\bplib\BluePayServiceProvider::class," to "providers" array
"'BluePay' => Margules\bplib\Facades\BluePay::class," to "aliases" array

4. Test transaction using sample file

Ex. 'require_once(base_path() . '/vendor/margules/bplib/src/Samples/Transactions/Charge_Customer_CC.php');'

5. Include namespace to run a transaction

Place 'use Margules\bplib\BluePay;' at the top of files you wish to run transactions.

The Versions

20/02 2018

dev-master

9999999-dev

Sample Laravel Integration of BluePay API

  Sources   Download

MIT