Skip to content

Latest commit

 

History

History
55 lines (41 loc) · 1.04 KB

symfony3.md

File metadata and controls

55 lines (41 loc) · 1.04 KB

Installation steps for Symfony 3

Require the package

$ composer require ekyna/payum-monetico-bundle

Register the bundle

Add the bundle to the kernel:

// app/Kernel.php
public function registerBundles()
{
    $bundles = [
        // ...
        new \Ekyna\Bundle\PayumMoneticoBundle\EkynaPayumMoneticoBundle(),
    ];
    
    // ...
}

Configure Monetico

Declare the Monetico gateway:

# app/config/config.yml
payum:
    gateways:
        ...
    
        monetico:
            factory: monetico

Setup the API parameters:

# app/config/config.yml
ekyna_payum_monetico:
    api:
        mode : 'TEST'    # enum from Ekyna\Component\Payum\Monetico\Api\Api
        tpe : 'your-tpe' # value from your Monetico account
        key : 'your-key' # value from your Monetico account
        company : 'acme' # value from your Monetico account
        debug : true

Next steps

Implement convert action and notify controller