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:

  • Adobe 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:

  1. Attempt to install Payment Services.

  2. 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.