ruudk / mollie-bundle
A Symfony2 bundle for working with Mollie
Installs: 307
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 3
Forks: 1
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=5.3.2
- amnl/mollie: 1.0.*
- symfony/framework-bundle: >=2.1,<3.0
README
A Symfony2 bundle for working with the old iDEAL Mollie API.
This bundle uses AMNL\Mollie created by Arno Moonen.
Deprecated!
If you start a new project today, don't use this bundle, but use RuudkPaymentMollieBundle which is powered by JMSPaymentCorebundle and Omnipay/Mollie and support the new Mollie API that supports ideal, credit cards, mister cash and more.
Installation
Step1: Require the package with Composer
php composer.phar require ruudk/mollie-bundle
Step2: Enable the bundle
Enable the bundle in the kernel:
<?php // app/AppKernel.php public function registerBundles() { $bundles = array( // ... new Ruudk\MollieBundle\RuudkMollieBundle(), ); }
Step3: Configure
Finally, add the following to your config.yml
# app/config/config_prod.yml ruudk_mollie: partner_id: # Your partner ID profile_key: ~ # Optional profile key testmode: true buzz_client: # Optional Buzz client, can be file_get_contents or curl
Congratulations! You're ready.
Use the API
$ideal = $this->container->get('mollie.ideal'); $minitix = $this->container->get('mollie.minitix'); $ivr = $this->container->get('mollie.ivr');
For full usage of the Mollie API see the documentation.