Hello,
After copied modules files, clear cache and gone to the configuration panel, I obtain this fatal error:
Fatal error: Uncaught Error: Call to a member function feePlans() on null in /var/www/openmage/src/app/code/community/Alma/Installments/Helper/FeePlansHelper.php:71
It's logic because in file FeePlansHelper.php you try to execut feePlans method on null.
$almaFeePlans = $this->almaClient->merchants->feePlans();
Logic because you try to get default client and execute this code:
$this->alma = $this->createInstance($this->config->getActiveAPIKey(), $this->config->getActiveMode());
But ApiKey is not set yet! I need that module works fine to set ApiKey.
So client is not defined and fatal error appears.
Hello, After copied modules files, clear cache and gone to the configuration panel, I obtain this fatal error:
Fatal error: Uncaught Error: Call to a member function feePlans() on null in /var/www/openmage/src/app/code/community/Alma/Installments/Helper/FeePlansHelper.php:71
It's logic because in file FeePlansHelper.php you try to execut feePlans method on null.
$almaFeePlans = $this->almaClient->merchants->feePlans();
Logic because you try to get default client and execute this code:$this->alma = $this->createInstance($this->config->getActiveAPIKey(), $this->config->getActiveMode());
But ApiKey is not set yet! I need that module works fine to set ApiKey. So client is not defined and fatal error appears.