nikjaysix / laravel-pinpayments
Laravel service provider for the Pin Payments API using the neotix/pin-php API.
Installs: 37
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:package
Requires
- php: >=5.4.0
- illuminate/support: 4.*|5.*
- noetix/pin-php: 2.0.1
README
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.+
-
Install the
nikjaysix/laravel-pinpayments
package$ composer require nikjaysix/laravel-pinpayments
-
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 )
-
Generate a PinPayments config file
$ php artisan vendor:publish
-
Update
app/config/chargify.php
with your Pin Payments API credentialsreturn array( 'key' => '' );