2017 © Pedro Peláez
 

library larapay

Laravel 5 pay.nl provider

image

cannonb4ll/larapay

Laravel 5 pay.nl provider

  • Saturday, June 24, 2017
  • by Cannonb4ll
  • Repository
  • 3 Watchers
  • 3 Stars
  • 495 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 0 Open issues
  • 4 Versions
  • 7 % Grown

The README.md

LaraPay

This class makes it more easy to integrate the payment provider Pay.nl into your website., (*1)

Requirements

  • Laravel 5.x
  • Pay.nl account

Installation

Require this package by doing:, (*2)

composer require cannonb4ll/larapay, (*3)

After installing, register the service provider inside config/app.php:, (*4)

LaraPay\ServiceProvider::class,, (*5)

Now you can publish the configuration file with the following command:, (*6)

php artisan vendor:publish --provider="LaraPay\ServiceProvider", (*7)

After this you have to setup 2 variables inside your .env file:, (*8)

PAY_TOKEN=
PAY_SERVICE_ID=

You can get these credentials fromout https://admin.pay.nl, (*9)

Available methods:

$larapay = new LaraPay;

$larapay->methods(); // Returns list of payment methods

$larapay->banks(); // Returns list of banks (iDEAL)

// Starts a transaction, you can apply more data here according to the pay's API documentation.
$larapay->startTransaction([
   'amount' => $total,      
   'returnUrl' => 'http://www.example.com/thanks',      

   'exchangeUrl' => 'http://www.example.com/webhook',       
   'paymentMethod' => 138,
   'description' => 'ORder',        
   'testmode' => 1
]);

$larapay->getTransaction($id); // Returns a transaction

The Versions

24/06 2017

dev-master

9999999-dev

Laravel 5 pay.nl provider

  Sources   Download

MIT

The Requires

 

laravel

24/06 2017

1.1

1.1.0.0

Laravel 5 pay.nl provider

  Sources   Download

MIT

The Requires

 

laravel

13/01 2017

1.0.1

1.0.1.0

Laravel 5 pay.nl provider

  Sources   Download

MIT

The Requires

 

laravel

13/01 2017

1.0

1.0.0.0

Laravel 5 pay.nl provider

  Sources   Download

MIT

The Requires

 

laravel