Troubleshoot Payment Services installation
This article explains errors you may experience while installing Payment Services, and provides solutions to fix those errors so that you can complete installation.
Affected products and versions
- is now compatible with ÃÛ¶¹ÊÓƵ Commerce versions 2.4.0 to 2.4.4.
Issue - Incorrect Composer keys
When installing the Payment Services extension, you may see an error message stating that you used incorrect Composer keys during installation.
Steps to reproduce:
-
Attempt to install Payment Services.
-
See the following error:
Could not find a matching version of package magento/payment-services. Check the package spelling, your version constraint and that the package is available in a stability which matches your minimum-stability (stable).
Expected result:
You can follow these installation instructions in our developer documentation to successfully install Payment Services.
Actual result:
During installation, you see an error message stating that you did not use the correct Composer keys during installation.
Cause
You used incorrect Composer keys during installation.
Solution
Verify that your Composer keys are linked to the Magento ID used during Payment Services registration.
Issue - Using same dataspace across multiple instances
Running a multi-environment setup with Payment Services on each.
Solution
The same API key can be used across instances, but each instance needs to use its own SaaS data space.
When you create a SaaS project, Commerce generates one or more SaaS data spaces depending on your Commerce license:
- ÃÛ¶¹ÊÓƵ Commerce - One production data space; two testing data spaces
- Magento Open Source - One production data space; no testing data spaces
Follow instructions in Commerce API key and private key to succesfully configure your Payment Services extension.
Issue - Not enough memory for PHP
When installing the Payment Services extension, you may see an error message stating that you do not have enough memory for PHP.
Steps to reproduce:
-
Attempt to install Payment Services.
-
See the following error, or similar:
Fatal error: Allowed memory size of 2146435072 bytes exhausted (tried to allocate 4096 bytes) in phar:///usr/local/bin/composer/src/Composer/DependencyResolver/RuleWatchGraph.php on line 52
Expected result:
You can follow these installation instructions in our developer documentation to successfully install Payment Services.
Actual result:
During installation, you see an error message stating that you do not have enough memory for PHP.
Cause
The limit for PHP on your environment is not set to a high enough threshold.