2017 © Pedro Peláez
 

library ifmb-bundle

Ifthensoftware IFmb integration into Symfony2

image

gordalina/ifmb-bundle

Ifthensoftware IFmb integration into Symfony2

  • Thursday, March 27, 2014
  • by gordalina
  • Repository
  • 2 Watchers
  • 2 Stars
  • 138 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 7 Versions
  • 0 % Grown

The README.md

IfmbBundle

The IfmbBundle provides integration of ifthensoftware's Multibanco Payments library into the Symfony2 framework., (*1)

Installation

Require gordalina/ifmb-bundle to your composer.json file:, (*2)

{
    "require": {
        "gordalina/ifmb-bundle": "~1"
    }
}

Register the bundle in app/AppKernel.php:, (*3)

// app/AppKernel.php
public function registerBundles()
{
    return array(
        // ...
        new Gordalina\Bundle\IfmbBundle\GordalinaIfmbBundle(),
    );
}

Enable the bundle's configuration in app/config/config.yml:, (*4)

``` yaml, (*5)

app/config/config.yml

gordalina_ifmb: anti_phishing_key: 0000-0000-0000-0000 backoffice_key: 15i6cnl28vj4ock84co0gssggo480cso8oo4wok8oso8c0w4s8 sandbox: false # it defaults to %kernel.debug%, (*6)



Configure the bundle's routing in `app/config/routing.yml`: ``` yaml # app/config/routing.yml gordalina_ifmb: resource: "@GordalinaIfmbBundle/Resources/config/routing.yml" prefix: /<your prefix>

The callback URL that you need to provide to ifthensoftware will be your http://domain.com/<your prefix>/ifmb/payment-notification, (*7)

Usage

This bundle registers a gordalina_ifmb.refmb service which is an instance of RefMb. You'll be able to generate Multibanco References from this service., (*8)

It also registers a gordalina_ifmb.client service which is an instance of Client you can use this service to fetch payments from the gateway., (*9)

Testing

Setup the test suite using Composer:, (*10)

$ composer install --dev

Run it using PHPUnit:, (*11)

$ vendor/bin/phpunit

The Versions

27/03 2014

dev-master

9999999-dev

Ifthensoftware IFmb integration into Symfony2

  Sources   Download

MIT

The Requires

  • php >=5.3

 

The Development Requires

by Avatar gordalina

27/03 2014

1.1.0

1.1.0.0

Ifthensoftware IFmb integration into Symfony2

  Sources   Download

MIT

The Requires

  • php >=5.3

 

The Development Requires

by Avatar gordalina

26/03 2014

1.0.4

1.0.4.0

Ifthensoftware IFmb integration into Symfony2

  Sources   Download

MIT

The Requires

  • php >=5.3

 

The Development Requires

by Avatar gordalina

26/03 2014

1.0.3

1.0.3.0

Ifthensoftware IFmb integration into Symfony2

  Sources   Download

MIT

The Requires

  • php >=5.3

 

The Development Requires

by Avatar gordalina

26/03 2014

1.0.2

1.0.2.0

Ifthensoftware IFmb integration into Symfony2

  Sources   Download

MIT

The Requires

  • php >=5.3

 

The Development Requires

by Avatar gordalina

26/03 2014

1.0.1

1.0.1.0

Ifthensoftware IFmb integration into Symfony2

  Sources   Download

MIT

The Requires

  • php >=5.3

 

The Development Requires

by Avatar gordalina

21/03 2014

1.0.0

1.0.0.0

Ifthensoftware IFmb integration into Symfony2

  Sources   Download

MIT

The Requires

  • php >=5.3

 

The Development Requires

by Avatar gordalina