2017 © Pedro Peláez
 

symfony-bundle payment-mollie-bundle

A Symfony2 Bundle that provides access to the Mollie API. Based on JMSPaymentCoreBundle.

image

ruudk/payment-mollie-bundle

A Symfony2 Bundle that provides access to the Mollie API. Based on JMSPaymentCoreBundle.

  • Tuesday, May 29, 2018
  • by ruudk
  • Repository
  • 4 Watchers
  • 15 Stars
  • 15,177 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 17 Forks
  • 5 Open issues
  • 20 Versions
  • 2 % Grown

The README.md

RuudkPaymentMollieBundle

A Symfony2 Bundle that provides access to the Mollie API. Based on JMSPaymentCoreBundle., (*1)

Installation

Step1: Require the package with Composer

composer require ruudk/payment-mollie-bundle

Step2: Enable the bundle

Enable the bundle in the kernel:, (*2)

``` php <?php // app/AppKernel.php, (*3)

public function registerBundles() { $bundles = array( // ..., (*4)

    new Ruudk\Payment\MollieBundle\RuudkPaymentMollieBundle(),
);

}, (*5)


### Step3: Configure Add the following to your routing.yml: ```yaml ruudk_payment_mollie_notifications: pattern: /webhook/mollie defaults: { _controller: ruudk_payment_mollie.controller.notification:processNotification } methods: [GET, POST]

Add the following to your config.yml:, (*6)

ruudk_payment_mollie:
    api_key:  Your API key
    logger:   true/false   # Default true
    methods:
      - ideal
      - mistercash
      - creditcard
      - sofort
      - banktransfer
      - belfius
      - kbc
      - inghomepay
      - bitcoin
      - paypal
      - paysafecard
      - ...

See the Mollie API documentation for all available methods., (*7)

Make sure you set the return_url in the predefined_data for every payment method you enable:, (*8)

$form = $this->getFormFactory()->create('jms_choose_payment_method', null, array(
    'amount'   => $order->getAmount(),
    'currency' => 'EUR',
    'predefined_data' => array(
        'mollie_ideal' => array(
            'return_url' => $this->generateUrl('order_complete', array(), true),
        ),
    ),
));

It's also possible to set a description for the transaction in the predefined_data., (*9)

To use the Mollie Webhook you should also set the notify_url for every transaction. You can use the default processNotification route ruudk_payment_mollie_notifications for this url., (*10)

See JMSPaymentCoreBundle documentation for more info., (*11)

The Versions

29/05 2018

dev-master

9999999-dev https://github.com/ruudk/PaymentMollieBundle

A Symfony2 Bundle that provides access to the Mollie API. Based on JMSPaymentCoreBundle.

  Sources   Download

MIT

The Requires

 

by Ruud Kamphuis

payment mollie

29/05 2018

7.0

7.0.0.0 https://github.com/ruudk/PaymentMollieBundle

A Symfony2 Bundle that provides access to the Mollie API. Based on JMSPaymentCoreBundle.

  Sources   Download

MIT

The Requires

 

by Ruud Kamphuis

payment mollie

17/05 2018

6.3.1

6.3.1.0 https://github.com/ruudk/PaymentMollieBundle

A Symfony2 Bundle that provides access to the Mollie API. Based on JMSPaymentCoreBundle.

  Sources   Download

MIT

The Requires

 

by Ruud Kamphuis

payment mollie

17/05 2018

6.3.0

6.3.0.0 https://github.com/ruudk/PaymentMollieBundle

A Symfony2 Bundle that provides access to the Mollie API. Based on JMSPaymentCoreBundle.

  Sources   Download

MIT

The Requires

 

by Ruud Kamphuis

payment mollie

09/05 2018

6.2.0

6.2.0.0 https://github.com/ruudk/PaymentMollieBundle

A Symfony2 Bundle that provides access to the Mollie API. Based on JMSPaymentCoreBundle.

  Sources   Download

MIT

The Requires

 

by Ruud Kamphuis

payment mollie

08/05 2018

6.1.2

6.1.2.0 https://github.com/ruudk/PaymentMollieBundle

A Symfony2 Bundle that provides access to the Mollie API. Based on JMSPaymentCoreBundle.

  Sources   Download

MIT

The Requires

 

by Ruud Kamphuis

payment mollie

09/06 2017

6.1.1

6.1.1.0 https://github.com/ruudk/PaymentMollieBundle

A Symfony2 Bundle that provides access to the Mollie API. Based on JMSPaymentCoreBundle.

  Sources   Download

MIT

The Requires

 

by Ruud Kamphuis

payment mollie

11/01 2017

6.1.0

6.1.0.0 https://github.com/ruudk/PaymentMollieBundle

A Symfony2 Bundle that provides access to the Mollie API. Based on JMSPaymentCoreBundle.

  Sources   Download

MIT

The Requires

 

by Ruud Kamphuis

payment mollie

26/07 2016

6.0.0

6.0.0.0 https://github.com/ruudk/PaymentMollieBundle

A Symfony2 Bundle that provides access to the Mollie API. Based on JMSPaymentCoreBundle.

  Sources   Download

MIT

The Requires

 

by Ruud Kamphuis

payment mollie

20/06 2016

5.0.0

5.0.0.0 https://github.com/ruudk/PaymentMollieBundle

A Symfony2 Bundle that provides access to the Mollie API. Based on JMSPaymentCoreBundle.

  Sources   Download

MIT

The Requires

 

by Ruud Kamphuis

payment mollie

14/01 2016

4.0.1

4.0.1.0 https://github.com/ruudk/PaymentMollieBundle

A Symfony2 Bundle that provides access to the Mollie API. Based on JMSPaymentCoreBundle.

  Sources   Download

MIT

The Requires

 

by Ruud Kamphuis

payment mollie

24/10 2015

4.0.0

4.0.0.0 https://github.com/ruudk/PaymentMollieBundle

A Symfony2 Bundle that provides access to the Mollie API. Based on JMSPaymentCoreBundle.

  Sources   Download

Apache2

The Requires

 

by Ruud Kamphuis

payment mollie

30/07 2015

3.0.4

3.0.4.0 https://github.com/ruudk/PaymentMollieBundle

A Symfony2 Bundle that provides access to the Mollie API. Based on JMSPaymentCoreBundle.

  Sources   Download

Apache2

The Requires

 

by Ruud Kamphuis

payment mollie

22/01 2015

3.0.3

3.0.3.0 https://github.com/ruudk/PaymentMollieBundle

A Symfony2 Bundle that provides access to the Mollie API. Based on JMSPaymentCoreBundle.

  Sources   Download

Apache2

The Requires

 

by Ruud Kamphuis

payment mollie

07/10 2014

3.0.2

3.0.2.0 https://github.com/ruudk/PaymentMollieBundle

A Symfony2 Bundle that provides access to the Mollie API. Based on JMSPaymentCoreBundle.

  Sources   Download

Apache2

The Requires

 

by Ruud Kamphuis

payment mollie

21/07 2014

3.0.1

3.0.1.0 https://github.com/ruudk/PaymentMollieBundle

A Symfony2 Bundle that provides access to the Mollie API. Based on JMSPaymentCoreBundle.

  Sources   Download

Apache2

The Requires

 

by Ruud Kamphuis

payment mollie

16/06 2014

3.0.0

3.0.0.0 https://github.com/ruudk/PaymentMollieBundle

A Symfony2 Bundle that provides access to the Mollie API. Based on JMSPaymentCoreBundle.

  Sources   Download

Apache2

The Requires

 

by Ruud Kamphuis

payment mollie

14/04 2014

2.0

2.0.0.0 https://github.com/ruudk/PaymentMollieBundle

A Symfony2 Bundle that provides access to the Mollie API. Based on JMSPaymentCoreBundle.

  Sources   Download

Apache2

The Requires

 

by Ruud Kamphuis

payment mollie

21/01 2014

dev-omnipay

dev-omnipay https://github.com/ruudk/PaymentMollieBundle

A Symfony2 Bundle that provides access to the Mollie API. Based on JMSPaymentCoreBundle.

  Sources   Download

Apache2

The Requires

 

by Ruud Kamphuis

payment mollie

24/10 2013

1.0.0

1.0.0.0 https://github.com/ruudk/PaymentMollieBundle

A Symfony2 Bundle that provides access to the Mollie API. Based on JMSPaymentCoreBundle.

  Sources   Download

Apache2

The Requires

 

by Ruud Kamphuis

payment mollie