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.
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"
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
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
Go to the admin area, log in, then click on the left menu item "CONFIGURATION > Payment methods". Create a new payment method type "Monetico" :
Then a form will be displayed, fill-in the required fields :
-
the "code" field (ex: "monetico").
-
choose which channels this payment method will be affected to.
-
the gateway configuration (need info from here) :
NOTE1: the screenshot contains false test credentials.
-
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.