Installation

Download the extension

You must first download the extension from the Adobe Commerce Marketplace before installing it.

  1. Navigate to the Lemonway payment plugin for Adobe Commerce (Magento) page on the Adobe Commerce Marketplace.
  2. To select the edition and version, toggle Edition and Your store version to your preferred selections.
  3. Click Add to Cart.
  4. Complete checkout and click Place Order.
  5. Check the email associated with your Marketplace download for order confirmation and details.

Install the extension

  1. Get the extension:
composer require lemonway/payment
  1. Upgrade your instance:
bin/magento setup:upgrade
  1. Clear the cache:
bin/magento cache:clear
  1. If you run your application in production mode, you must also compile DI and
    deploy static files:
bin/magento setup:di:compile
bin/magento setup:static-content:deploy

Update the extension

To obtain the most recent version of the package, run:

composer update lemonway/payment

Troubleshooting

Incorrect Composer keys

If you see the following error indicating you have the incorrect Composer keys:

Could not find a matching version of package lemonway/payment. Check the package
spelling, your version constraint and that the package is available in a
stability which matches your minimum-stability (stable).

Verify that your Composer keys are valid and you have access to other Magento packages.

To see which Composer keys are configured:

  1. Find the location of the auth.json file:
composer config --global home
  1. View the auth.json file:
cat /path/to/auth.json
  1. See, which keys are associated with your Adobe Commerce account.

Not enough memory for PHP

If you see the following error denoting you do not have enough memory for PHP:

Fatal error: Allowed memory size of 2146435072 bytes exhausted (tried to
allocate 4096 bytes) in
phar:///usr/local/bin/composer/src/Composer/DependencyResolver/RuleWatchGraph.ph
p on line 52

Increase the memory limit for PHP on your environment in php.ini.

Alternatively, you can specify the memory limit using this command:

php - d memory_limit=-1 vendor/bin/composer require lemonway/payment