Page tree


The Payline plugin for Magento 2 allows the best of our solution to be implemented in your store, without any development.

The available functions are:

  • Cash
     Payment Simple payment on our secure interface. You can integrate it into your checkout, or redirect your buyers to it.

  • 1-click payment
     The buyer uses a card registered during a previous payment. The card is offered on our secure interface.

  • Payment in installments
     The buyer can realize 3XCB or 4XCB payments.

  • Payment retry
     The proposal for a list of secondary payment methods after a payment refusal.

  • Customizing the transaction label
    On your buyer's account statements, payments made on your merchant site are clearly identified.

  • Fraud
     Depending on the buyer's history, his addresses (including relay points), the content of his order, etc.

  • Debit at shipping
     Your buyer is debited when their order is invoiced, during the shipping process. 

  • Deferred debit
     Your buyer is debited x days after his order.

  • Collect (multiple/partial)
     Each element of the order can be invoiced and debited separately. Late debits are possible (re-authorization process)

  • Refund (Multiple/Partial)
     Refund Each item of the order can be refunded separately 

  • Proposal of payment methods according to the amount
     Associate a price range with each payment method configured in Payline, to offer your buyers what best corresponds to their order.

  • Automatic payment / order synchronization
     Your buyer has not returned to the store after a redirection to our payment interface? No problem, the notification process automatically updates their order. 

Join Payline! We are already working on new features. Soon the plugin will allow:

  • Subscriptions
  • Post-payment fraud alerts

Installing and updating the plugin 

The plugin is based on a dependency management tool integrated into Magento 2: Composer.

Our plugin 1.2.10 is for Magento 2.x:

  • Payment in installments
  • Adding a CSP (Content Security Policy) file
  • Correction on the mini cart which was not emptied after payment
  • Systematic ASCII encoding removed on WS calls and correction of the string truncation error
  • Modification of the version number of the Payline API from 16 to 21

Connect in ssh to the server which hosts Magento and go to the installation directory.

If it does not yet exist, create the extra / composer / artifact / zip directory to store the module archive (payline-magento2- xyz .zip, xyz being the version of the module).  

mkdir -p extra/composer/artifact/zip

Copy the archive of the payline-magento2- xyz .zip module into this directory (extra / composer / artifact / zip)

Launch composer to deploy the module and its dependencies ( monext / payline-sdk )

composer config artifact extra/composer/artifact/zipcomposer require monext/module-payline:x.y.z

Launch the Magento command to activate the module

php -f bin/magento module:enable Monext_Paylinephp -f bin/magento setup:upgrade

Check in the vendor folder that the folders are present and not empty

vendor / monext / module-payline

For an update, you must uninstall the old version. 

No connection to your FTP server is necessary: ​​Component Manager manages the retrieval of online files and their integration into the tree structure of your store.

Be sure to use the latest version of the Payline SDK to include all the latest updates regarding evolutions and fixes. Previous versions are not maintained.