2017 © Pedro Peláez
 

symfony-bundle ideal-bundle

Symfony iDeal Bundle

image

shivella/ideal-bundle

Symfony iDeal Bundle

  • Thursday, March 23, 2017
  • by Shivella
  • Repository
  • 2 Watchers
  • 5 Stars
  • 2,399 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 7 Versions
  • 0 % Grown

The README.md

THIS BUNDLE IS DEPRECATED

Please consider using: https://github.com/ruudk/PaymentMollieBundle, (*1)

Mollie iDeal bundle

This Symfony3 bundle adds support for iDEAL payments by Mollie. It is using Mollie-php-api. A Mollie account is required., (*2)

For more information see Mollie, (*3)

Latest Stable Version License Total Downloads Coverage Status Scrutinizer Code Quality, (*4)

Installation

Installation is a quick 3 step process:, (*5)

  1. Download ideal-bundle using composer
  2. Enable the Bundle in AppKernel.php
  3. Configure your Mollie credentials

Step 1: Download ideal-bundle using composer

Add UsoftIDealBundle by running the command:, (*6)

``` bash $ composer require shivella/ideal-bundle, (*7)


### Step 2: Enable the Bundle in AppKernel.php ``` php <?php // app/AppKernel.php public function registerBundles() { $bundles = array( // ... new Usoft\IDealBundle\UsoftIDealBundle(), ); }

Step 3: Configure Mollie credentials

# app/config/config.yml

# ideal Mollie
usoft_i_deal:
    mollie:
        key: secret_mollie_key
        description: "Mollie payment"

Usage in Controller

``` php <?php // Acme/Bundle/OrderController.php, (*8)

public function paymentAction(Request $request) {
$form = $this->createForm(IdealType::class); $form->handleRequest($request);, (*9)

if ($form->isValid()) {

    $mollie = $this->get('mollie');
    $bank = new Bank($form->get('bank')->getData());
    $amount = (float) 120.99;

    return $mollie->execute($bank, $amount, 'route_to_confirm_action');
}

return $this->render('payment.html.twig', ['form' => $form->createView()]);

}, (*10)

/** * @Route("/order/confirm", name="route_to_confirm_action") * * @param Request $request */ public function confirmAction(Request $request) { if ($this->get('mollie')->confirm($request)) { // handle order.... } else { // Something went wrong... } } ```, (*11)

The Versions

23/03 2017

dev-master

9999999-dev https://github.com/Shivella/ideal-bundle

Symfony iDeal Bundle

  Sources   Download

MIT

The Requires

 

The Development Requires

by Wessel Strengholt

bundle symfony mollie ideal easy ideal

22/11 2016
19/11 2016

1.0.4

1.0.4.0 https://github.com/Shivella/ideal-bundle

Symfony iDeal Bundle

  Sources   Download

MIT

The Requires

 

The Development Requires

by Wessel Strengholt

bundle symfony mollie ideal easy ideal

18/11 2016

1.0.3

1.0.3.0 https://github.com/Shivella/ideal-bundle

Symfony iDeal Bundle

  Sources   Download

MIT

The Requires

 

The Development Requires

by Wessel Strengholt

bundle symfony mollie ideal easy ideal

17/11 2016

1.0.2

1.0.2.0 https://github.com/Shivella/ideal-bundle

Symfony iDeal Bundle

  Sources   Download

MIT

The Requires

 

The Development Requires

by Wessel Strengholt

bundle symfony mollie ideal easy ideal

17/11 2016

1.0.1

1.0.1.0 https://github.com/Shivella/ideal-bundle

Symfony iDeal Bundle

  Sources   Download

MIT

The Requires

 

The Development Requires

by Wessel Strengholt

bundle symfony mollie ideal easy ideal

15/11 2016

1.0

1.0.0.0 https://github.com/Shivella/ideal-bundle

Symfony iDeal Bundle

  Sources   Download

MIT

The Requires

 

The Development Requires

by Wessel Strengholt

bundle symfony mollie ideal easy ideal