Download the PHP package lake-dynamics/sylius-monetico-plugin without Composer

On this page you can find all versions of the php package lake-dynamics/sylius-monetico-plugin. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package sylius-monetico-plugin

LakeDynamics Sylius Monetico Plugin

A Sylius plugin for integrating Monetico payment gateway into your e-commerce store.

Features

Requirements

Installation

  1. Install the plugin using Composer:

  2. Enable the plugin in your config/bundles.php:

  3. Import the plugin configuration in config/packages/_sylius.yaml:

  4. Import the plugin routes in config/routes.yaml:

  5. Clear the cache:

Configuration

1. Create Payment Method

  1. Log in to the Sylius admin panel
  2. Go to Configuration > Payment methods
  3. Click Create
  4. Fill in the general information:
    • Code: monetico (or your preferred code)
    • Name: Monetico
    • Enabled: Check this box
  5. Select Monetico Payment Gateway as the gateway
  6. Configure the Monetico settings:
    • TPE (Terminal Payment Electronic): Your Monetico TPE number
    • Company ID (Société): Your Monetico company identifier
    • Production Key: Your Monetico encryption key
    • Use Production Environment: Check for production, uncheck for sandbox/test

2. Generate Encryption Key

To encrypt sensitive payment configuration data:

3. Monetico Credentials

You'll receive the following credentials from Monetico:

How It Works

Payment Flow

  1. Customer Checkout: Customer selects Monetico as payment method
  2. Payment Initiation: System creates a PaymentRequest with ACTION_CAPTURE
  3. Field Preparation: Plugin prepares payment fields and generates MAC signature
  4. Redirect: Customer is redirected to Monetico payment page via auto-submit form
  5. Payment Processing: Customer completes payment on Monetico's secure portal
  6. Notification: Monetico sends payment result to your notification URL
  7. Validation: Plugin validates MAC signature and updates payment status
  8. Completion: Order is marked as paid or failed based on result

Security

Technical Details

Payment Fields Sent to Monetico:

Valid Payment Status:

Development

Running Tests

Docker Development

Troubleshooting

Payment Fails with "Invalid MAC signature"

Problem: Notification validation fails

Solution:

  1. Verify your Production Key is correct (40 hex characters)
  2. Ensure your server time is synchronized (GMT)
  3. Check Monetico dashboard for the correct key
  4. Verify notification URL is accessible from external networks

Payment Page Doesn't Redirect

Problem: Auto-submit form doesn't work

Solution:

  1. Check browser console for JavaScript errors
  2. Verify payment fields are properly generated
  3. Ensure Monetico URL is accessible
  4. Check if Content Security Policy allows form submission

Notification URL Not Receiving Callbacks

Problem: Monetico can't reach your notification endpoint

Solution:

  1. Ensure your server is accessible from external networks
  2. Verify URL in admin matches: https://yourdomain.com/payment/monetico/notify
  3. Check firewall rules allow Monetico IPs
  4. Configure this URL in your Monetico backend for server-to-server notifications

Production vs Sandbox

Sandbox Testing:

Production:

Support

License

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

Credits

Developed by LakeDynamics

Monetico is a trademark of Groupe BPCE.


All versions of sylius-monetico-plugin with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
sylius/sylius Version ^2.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package lake-dynamics/sylius-monetico-plugin contains the following files

Loading the files please wait ...