2017 © Pedro Peláez
 

symfony-bundle payment-multisafepay-bundle

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

image

ruudk/payment-multisafepay-bundle

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

  • Tuesday, May 29, 2018
  • by ruudk
  • Repository
  • 2 Watchers
  • 1 Stars
  • 12,247 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 15 Versions
  • 5 % Grown

The README.md

RuudkPaymentMultisafepayBundle

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

Installation

Step1: Require the package with Composer

php composer.phar require ruudk/payment-multisafepay-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\MultisafepayBundle\RuudkPaymentMultisafepayBundle(),
);

}, (*5)


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

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

ruudk_payment_multisafepay:
    account_id:         Your account id
    site_id:            Your site id
    site_code:          Your secure site code
    test:               true/false   # Default true
    report_url:         http://host/webhook/multisafepay
    logger:             true/false   # Default true
    methods:
        - ideal
        - mister_cash
        - giropay
        - direct_ebanking
        - visa
        - mastercard
        - maestro
        - bank_transfer
        - direct_debit

Make sure you set the return_url, cancel_url and client_ip in the predefined_data for every payment method you enable:, (*7)

    $form = $this->getFormFactory()->create('jms_choose_payment_method', null, array(
        'amount'   => $order->getAmount(),
        'currency' => 'EUR',
        'predefined_data' => array(
            'multisafepay_ideal' => array(
                'return_url' => $this->generateUrl('order_complete', array(), true),
                'cancel_url' => $this->generateUrl('payment_cancelled', array(), true),
                'client_ip' => $request->getClientIp(),
            ),
            'multisafepay_mister_cash' => array(
                'return_url' => $this->generateUrl('order_complete', array(), true),
                'cancel_url' => $this->generateUrl('payment_cancelled', array(), true),
                'client_ip' => $request->getClientIp(),
            ),
            // etc...
        ),
    ));

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

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

The Versions

29/05 2018

dev-master

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

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

  Sources   Download

MIT

The Requires

 

by Ruud Kamphuis

payment multisafepay

29/05 2018

4.0

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

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

  Sources   Download

MIT

The Requires

 

by Ruud Kamphuis

payment multisafepay

25/05 2018

v3.x-dev

3.9999999.9999999.9999999-dev https://github.com/ruudk/PaymentMultisafepayBundle

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

  Sources   Download

MIT

The Requires

 

by Ruud Kamphuis

payment multisafepay

17/05 2018

3.1.0

3.1.0.0 https://github.com/ruudk/PaymentMultisafepayBundle

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

  Sources   Download

MIT

The Requires

 

by Ruud Kamphuis

payment multisafepay

26/07 2016

3.0.0

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

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

  Sources   Download

MIT

The Requires

 

by Ruud Kamphuis

payment multisafepay

24/10 2015

2.0.1

2.0.1.0 https://github.com/ruudk/PaymentMultisafepayBundle

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

  Sources   Download

MIT

The Requires

 

by Ruud Kamphuis

payment multisafepay

24/10 2015

2.0.0

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

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

  Sources   Download

MIT

The Requires

 

by Ruud Kamphuis

payment multisafepay

16/10 2014

1.1.0

1.1.0.0 https://github.com/ruudk/PaymentMultisafepayBundle

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

  Sources   Download

Apache2

The Requires

 

by Ruud Kamphuis

payment multisafepay

07/10 2014

1.0.6

1.0.6.0 https://github.com/ruudk/PaymentMultisafepayBundle

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

  Sources   Download

Apache2

The Requires

 

by Ruud Kamphuis

payment multisafepay

21/07 2014

1.0.5

1.0.5.0 https://github.com/ruudk/PaymentMultisafepayBundle

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

  Sources   Download

Apache2

The Requires

 

by Ruud Kamphuis

payment multisafepay

27/05 2014

1.0.4

1.0.4.0 https://github.com/ruudk/PaymentMultisafepayBundle

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

  Sources   Download

Apache2

The Requires

 

by Ruud Kamphuis

payment multisafepay

21/01 2014

1.0.3

1.0.3.0 https://github.com/ruudk/PaymentMultisafepayBundle

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

  Sources   Download

Apache2

The Requires

 

by Ruud Kamphuis

payment multisafepay

19/01 2014

1.0.2

1.0.2.0 https://github.com/ruudk/PaymentMultisafepayBundle

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

  Sources   Download

Apache2

The Requires

 

by Ruud Kamphuis

payment multisafepay

29/10 2013

1.0.1

1.0.1.0 https://github.com/ruudk/PaymentMultisafepayBundle

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

  Sources   Download

Apache2

The Requires

 

by Ruud Kamphuis

payment multisafepay

24/10 2013

1.0.0

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

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

  Sources   Download

Apache2

The Requires

 

by Ruud Kamphuis

payment multisafepay