ruudk/mollie-bundle

This package is abandoned and no longer maintained. No replacement package was suggested.

A Symfony2 bundle for working with Mollie

Installs: 308

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 3

Forks: 1

Open Issues: 0

Type:symfony-bundle

0.1.6 2013-07-08 17:01 UTC

This package is auto-updated.

Last update: 2022-02-01 12:21:43 UTC


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.