This issue is with Magento system from 2.3.3 to 2.3.5 latest version. it is suggested to apply the fix of issue if you are using the above system versions.
👉 Note: OTT plugin package current version 2 provided the fix resolution already, you need not apply the fix anymore.
Here is our approach to fix the issue, just for reference. 👉Magento Issue Fix
☑️Installation of the Plugins
1️ Step1: Upload the files to the app/code directory, the directory structure: app/code/Ottpay/…
2️ Step2: Check current status of installed modules/plug-ins
Go to the root directory of the Magento website, run the following command:
Then you will see Ottpay_Alipay and Ottpay_WeChat are not activated.
*️ Step3: Activate the Plugins of Ottpay_Alipay and Ottpay_WeChat
4️ Step4: To make sure that the enabled modules are properly registered, run 'setup:upgrade'
sudo php bin/magento setup:upgrade
☑️Configuration of the Plugins
1️ Go to Magento Website Admin > Stores > Configuration > Sales > Payment Methods
2️ Open Ottpay Settings-Alipay to fill in the configuration information with merchant ID and Operator ID, Merchant Code, Sign key. Please contact Ottpay BD team to get them once singed the service contract.
*️ Open Ottpay Settings-WeChat to fill in the configuration information with merchant ID and Operator ID, Merchant Code, Sign key. Please contact Ottpay BD team to get them once singed the service contract.
☑️Payment Process Flow
1️Select Payment Methods (WeChat Pay /Ali Pay) as below, and Place Order
2️ Scan the following QR Code displayed, by using WeChat Pay /Ali Pay mobile app
*️ Once finished payment process with WeChat Pay /Ali Pay mobile app, you will see the result information from Magento system.
[ryanl@localhost magento]$pwd
/var/www/magento
[ryanl@localhost magento]$ sudo php bin/magento module:enable Ottpay_Alipay Ottpay_Wechat
The following modules have been enabled:
- Ottpay_Alipay
- Ottpay_Wechat
To make sure that the enabled modules are properly registered, run 'setup:upgrade'.
Cache cleared successfully.
Generated classes cleared successfully. Please run the 'setup:di:compile' command to generate classes.
Info: Some modules might require static view files to be cleared. To do this, run 'module:enable' with the --clear-static-content option to clear them.