younitedcredit/younitedpay-module-magento2

Official module for Younited Pay integration.

1.0.1 2023-06-21 13:20 UTC

This package is auto-updated.

Last update: 2024-11-06 09:07:21 UTC


README

The Younited Pay module for Magento 2 is a PHP module which allows you to accept payments in your Magento 2 online store. It offers innovative features to reduce shopping cart abandonment rates, optimize success rates and enhance the purchasing process on merchants sites in order to significantly increase business volumes without additional investments in the Magento 2 e-commerce CMS solution.

Getting started

Manual installation

With PHP < 8.0 :

  • Install SDK using Composer: composer require 202ecommerce/younitedpay-sdk:1.0.4

With PHP 8.0+ :

  • Install SDK using Composer: composer require 202ecommerce/younitedpay-sdk:2.0.0

  • Copy/Paste module files to your Magento root directory

  • Run: php bin/magento module:enable YounitedCredit_YounitedPay

  • Run: php bin/magento setup:upgrade

  • Run: php bin/magento setup:static-content:deploy

  • Flush caches with: php bin/magento cache:flush

Composer installation

For Magento 2.3+ only.

  • Install module and dependencies using Composer: composer require younitedcredit/younitedpay-module-magento2
  • Run: php bin/magento module:enable YounitedCredit_YounitedPay
  • Run: php bin/magento setup:upgrade
  • Run: php bin/magento setup:static-content:deploy
  • Flush caches with: php bin/magento cache:flush

Update with Composer

To update the extension to the latest available version (depending on your composer.json), run these commands in your terminal:

composer update younitedcredit/younitedpay-module-magento2 --with-dependencies
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy
php bin/magento cache:flush

Maintenance mode

You may want to enable the maintenance mode when installing or updating the module, especially when working on a production website. To do so, run the two commands below before and after running the other setup commands:

php bin/magento maintenance:enable
# Other setup commands
php bin/magento maintenance:disable

Compatibility

Unit testing

You can run unit tests with the following commands :

  • Composer installation : php ./vendor/bin/phpunit -c dev/tests/unit/phpunit.xml.dist vendor/younitedcredit/younitedpay-module-magento2/Test/Unit

  • Manual installation : php ./vendor/bin/phpunit -c dev/tests/unit/phpunit.xml.dist app/code/YounitedCredit/YounitedPay/Test/Unit

Resources

Features

License

The Younited Credit module for Magento 2 is available under the Academic Free License (AFL 3.0). Check out the license file for more information.