Closed joomlacorner closed 2 years ago
I have the same question.
我也有相同的错误
I have set up a fresh install of Magento 2.4.3 using php 7.4 to try to recreate this issue and am unable to recreate it. From the error message it looks like the module is unable to get the capabilities from the Omise Api. Have you configured your test account with Omise and added the test keys to you Omise Module config in Maganto admin?
@joomlacorner @wbean @lzyenjoy Could you please check your Omise-PHP version? It should be 2.13.0 if you're using Omise-Magento v2.18.6 or higher.
composer require omise/omise-php:2.13.0
You may run the above command at your Magento root folder to get the correct version of Omise-PHP.
@som-m I have run with this cli.
composer require omise/omise-php:2.13.0
and then re-deploy magento. it still show the same error on checkout page. any idea?
1 exception(s):
Exception #0 (Magento\Framework\Exception\LocalizedException): unable to load OmiseCapabilities api
Exception #0 (Magento\Framework\Exception\LocalizedException): unable to load OmiseCapabilities api
<pre>#1 Magento\Framework\ObjectManager\Factory\Compiled->create() called at [vendor/magento/framework/ObjectManager/Factory/Compiled.php:150]
#2 Magento\Framework\ObjectManager\Factory\Compiled->get() called at [vendor/magento/framework/ObjectManager/Factory/Compiled.php:79]
#3 Magento\Framework\ObjectManager\Factory\Compiled->create() called at [vendor/magento/framework/ObjectManager/Factory/Compiled.php:150]
#4 Magento\Framework\ObjectManager\Factory\Compiled->get() called at [vendor/magento/framework/ObjectManager/Factory/Compiled.php:79]
@joomlacorner Could you send the following information to our support channel support@omise.co for further investigation?
my Issue have been fixed. problem from Public key for test have space at the end.
test with Magento 2.4.3 Fresh install with Sample data on PHP 7.4 on Checkout page will show this error.