2017 © Pedro Peláez
 

symfony-bundle payment-adyen-bundle

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

image

ruudk/payment-adyen-bundle

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

  • Sunday, October 25, 2015
  • by ruudk
  • Repository
  • 3 Watchers
  • 6 Stars
  • 1,706 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 7 Forks
  • 1 Open issues
  • 7 Versions
  • 0 % Grown

The README.md

RuudkPaymentAdyenBundle

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

Installation

Step1: Require the package with Composer

php composer.phar require ruudk/payment-adyen-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\AdyenBundle\RuudkPaymentAdyenBundle(),
);

}, (*5)


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

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

ruudk_payment_adyen:
    merchant_account:  Your merchant account
    skin_code:         Your skin code
    secret_key:        Your secret key
    test:              true/false                  # Default true
    logger:            true/false                  # Default true
    timeout:           the timeout in seconds      # Default 5
    shopper_locale:    the locale Adyen should use # Default null
    methods:
        - ideal
        - mister_cash
        - giropay
        - direct_ebanking
        - credit_card      # amex,visa,mc

Make sure you set the return_url 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(
        'adyen_ideal' => array(
            'return_url' => $this->generateUrl('order_complete', array(), true),
        ),
        'adyen_giropay' => array(
            'return_url' => $this->generateUrl('order_complete', array(), true),
        ),
        // etc...
    ),
));

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

The Versions

25/10 2015

dev-master

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

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

  Sources   Download

MIT

The Requires

 

by Ruud Kamphuis

payment adyen

25/10 2015

1.2.0

1.2.0.0 https://github.com/ruudk/PaymentAdyenBundle

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

  Sources   Download

MIT

The Requires

 

by Ruud Kamphuis

payment adyen

07/11 2014

1.1.0

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

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

  Sources   Download

Apache2

The Requires

 

by Ruud Kamphuis

payment adyen

03/10 2014

1.0.3

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

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

  Sources   Download

Apache2

The Requires

 

by Ruud Kamphuis

payment adyen

11/07 2014

1.0.2

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

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

  Sources   Download

Apache2

The Requires

 

by Ruud Kamphuis

payment adyen

12/04 2014

1.0.1

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

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

  Sources   Download

Apache2

The Requires

 

by Ruud Kamphuis

payment adyen

24/10 2013

1.0.0

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

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

  Sources   Download

Apache2

The Requires

 

by Ruud Kamphuis

payment adyen