prometee/sylius-payum-monetico-plugin

This package is abandoned and no longer maintained. The author suggests using the flux-se\sylius-payum-monetico-plugin package instead.

Payum Monetico gateway plugin for Sylius

Installs: 10 071

Dependents: 0

Suggesters: 0

Security: 0

Stars: 6

Watchers: 1

Forks: 1

Open Issues: 2

Type:sylius-plugin


README

Latest Version on Packagist Software License Build Status Quality Score

Sylius Payum Monetico gateway plugin

This plugin is designed to add a new gateway to Payum to support Monetico over Sylius plugin

See https://www.monetico-paiement.fr/ for more information.

Installation

Install using Composer :

$ composer require flux-se/sylius-payum-monetico-plugin

Enable this plugin :

<?php

# config/bundles.php

return [
    // ...
    FluxSE\SyliusPayumMoneticoPlugin\FluxSESyliusPayumMoneticoPlugin::class => ['all' => true],
    // ...
];

Enable the required route for Monetico notify :

# config/routes/flux_se_sylius_payum_monetico.yaml

flux_se_sylius_payum_monetico_notify:
  resource: "@FluxSESyliusPayumMoneticoPlugin/Resources/config/routing/notify.yaml"

Configuration

Monetico notify URL

Contact Monetico to add a "notify URL" corresponding to the route named flux_se_sylius_payum_monetico_notify example :

https://my_domain.tld/monetico/notify

Monetico credentials

Get your TPE number, your KEY and your COMPANY name on your Monetico merchant portal :

https://www.monetico-services.com/fr/test/identification/authentification.html

Then click on the "Paramétrage" menu item, and finally on the sub menu item named "CLÉ DE SÉCURITÉ". You will be able to send an email to the owner of the account to get your credentials.

TIPS: TPE number can be chosen into the select menu in the right sidebar of your Monetico merchant portal

Sylius configuration

Go to the admin area, log in, then click on the left menu item "CONFIGURATION > Payment methods". Create a new payment method type "Monetico" :

Create a new payment method

Then a form will be displayed, fill-in the required fields :

  1. the "code" field (ex: "monetico").

  2. choose which channels this payment method will be affected to.

  3. the gateway configuration (need info from here) :

    Gateway Configuration

    NOTE1: the screenshot contains false test credentials.

  4. give to this payment method a display name (and a description) for each language you need

Finally, click on the "Create" button to save your new payment method.