developerlab/mollie-payment-bundle

A Symfony 4 Bundle to connect with Mollie PSP

dev-master 2018-07-27 08:24 UTC

This package is auto-updated.

Last update: 2024-04-24 04:07:25 UTC


README

This bundle provides an easy implementation of Mollie Payment Service Provider.

Getting Started

This installation requires the package with Composer

The bundle is still under heavy development. Do not use this bundle until a stable version is ready

php composer require developerlab/mollie-payment-bundle

Register the bundle

After you have installed the package, you just need to add the bundle to your AppKernel.php file:

// app/AppKernel.php
$bundles = array(
    // ...
    new Developerlab\MolliePaymentBundle\MolliePaymentBundle(),
    // ...
);

Configuration

MolliePaymentBundle requires initial configurations to get you started

These parameter names are required

// app/config/config.yml
mollie_payment:
    testmode: false
    api_key: 
    api_key_test: 

These parameters are not required unless you want to change them

// app/config/config.yml
mollie_payment:
    redirect_url: //default /mollie/redirect_url
    webhooks: //default /mollie/webhooks

Running the test

This bundle comes with a command named mollie:testrun

run this command to test your installation

php bin/console mollie:testrun

Commands

Export all existing customers from Mollie into mollie_customer table

php bin/console mollie:customers

Built With

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Authors

License

This project is licensed under the MIT License - see the LICENSE.md file for details