Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shivella/ideal-bundle
Symfony3 iDEALBundle for online iDEAL Mollie Payments
https://github.com/shivella/ideal-bundle
bundle ideal mollie php symfony symfony-bundle
Last synced: 3 months ago
JSON representation
Symfony3 iDEALBundle for online iDEAL Mollie Payments
- Host: GitHub
- URL: https://github.com/shivella/ideal-bundle
- Owner: Shivella
- License: mit
- Created: 2014-12-04T21:27:46.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2018-12-03T09:09:45.000Z (about 6 years ago)
- Last Synced: 2024-10-10T13:04:05.626Z (3 months ago)
- Topics: bundle, ideal, mollie, php, symfony, symfony-bundle
- Language: PHP
- Homepage:
- Size: 63.5 KB
- Stars: 4
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
THIS BUNDLE IS DEPRECATED
=========================Please consider using: https://github.com/ruudk/PaymentMollieBundle
Mollie iDeal bundle
===================This Symfony3 bundle adds support for [iDEAL](https://www.mollie.com/ideal/) payments by Mollie.
It is using [Mollie-php-api](https://github.com/mollie/mollie-api-php/). A Mollie account is required.For more information see [Mollie](https://www.mollie.com/)
[![Latest Stable Version](https://poser.pugx.org/shivella/ideal-bundle/v/stable)](https://packagist.org/packages/shivella/ideal-bundle) [![License](https://poser.pugx.org/shivella/ideal-bundle/license)](https://packagist.org/packages/shivella/ideal-bundle) [![Total Downloads](https://poser.pugx.org/shivella/ideal-bundle/downloads)](https://packagist.org/packages/shivella/ideal-bundle) [![Coverage Status](https://coveralls.io/repos/github/Shivella/ideal-bundle/badge.svg)](https://coveralls.io/github/Shivella/ideal-bundle) [![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/Shivella/ideal-bundle/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/Shivella/ideal-bundle/?branch=master)
Installation
------------
Installation is a quick 3 step process: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:
``` bash
$ composer require shivella/ideal-bundle
```### Step 2: Enable the Bundle in AppKernel.php
``` php
createForm(IdealType::class);
$form->handleRequest($request);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()]);
}/**
* @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...
}
}
```