NikJaySix / Laravel-PinPayments by NikJaySix

Laravel service provider for the Pin Payments API using the neotix/pin-php API.
36
0
1
Package Data
Maintainer Username: NikJaySix
Maintainer Contact: hello@nikjaysix.com.au (Nicole Jay)
Package Create Date: 2017-09-11
Package Last Update: 2019-01-13
Language: PHP
License: MIT
Last Refreshed: 2024-04-26 03:12:26
Package Statistics
Total Downloads: 36
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 0
Total Watchers: 1
Total Forks: 0
Total Open Issues: 0

Pin Payments Wrapper for Laravel 5.+

This is a wrapper using the noetix/pin-php library for the Pin Payments API. It creates a service provider and facade for autoloading into laravel.

How to Install

Laravel 5.+

  1. Install the nikjaysix/laravel-pinpayments package

    $ composer require nikjaysix/laravel-pinpayments
    
  2. Update config/app.php to activate the LaravelPinPayments package

    # Add `LaravelPinPaymentsServiceProvider` to the `providers` array
    'providers' => array(
        ...
        NikJaySix\LaravelPinPayments\LaravelPinPaymentsServiceProvider::class,
    )
    
    # Add the `LaravelPinPaymentsFacade` to the `aliases` array
    'aliases' => array(
        ...
        'PinPayments' => NikJaySix\LaravelPinPayments\LaravelPinPaymentsFacade::class
    )
    
  3. Generate a PinPayments config file

    $ php artisan vendor:publish
    
  4. Update app/config/chargify.php with your Pin Payments API credentials

    return array(
        'key' => ''
    );
    

Example Usage