lolautruche/payline-bundle

Symfony integration for Payline payment system

v1.1.2 2017-11-27 20:40 UTC

README

SensioLabsInsight Build Status

Integrates Payline payment solution with Symfony.

Features

  • Service integration and simple semantic configuration
  • Simplified API for web payments
  • Automatically validates web payments
  • Extensibility using events

Prerequisites

Payline account

You will of course need a valid Payline account.

Mandatory elements from you Payline account are:

  • Merchant ID
  • Access key, which you can generate in Payline admin
  • Contract number, related to the means of payment you configured in Payline admin

PHP

Symfony

Symfony 2.7.10+ / 3.0.3+

Installation

This bundle is available on Packagist. You can install it using Composer.

composer require lolautruche/payline-bundle

Then add it to your application:

// app/AppKernel.php

public function registerBundles()
{
    $bundles = [
        // ...
        new Lolautruche\PaylineBundle\LolautruchePaylineBundle,
        // ...
    ];
}

Add the routes to your routing.yml:

LolautruchePaylineBundle:
    resource: "@LolautruchePaylineBundle/Resources/config/routing.yml"
    prefix:   /

Documentation

See Resources/doc/