Unable to Save Module Config on Prestashop 1.7.
tjwoon opened this issue · 1 comments
tjwoon commented
I am unable to save any configuration entered via the MOLPay plugin configuration page ( http://<SITE>/ps-admin/index.php?controller=AdminModules&configure=molpay&token=<TOKEN>
).
Version Info
MOLPay plugin version: v2.2.8
Prestashop Version: 1.7
Steps to Reproduce:
- Upload the unzipped
molpay
folder into the Prestashopmodules
folder. - In Prestashop admin portal's Modules page, search for MOLPay.
- Click "Install" on the MOLPay plugin.
- Go to Installed Modules page and look for MOLPay.
- Click "Configure".
- Enter the Merchant ID, Verify Key, and select some payment methods.
- Click Save.
- I am now brought to my website's home page.
- Go back to MOLPay plugin configuration page (Step 6).
- None of the inputs from Step 6 have been saved.
Workaround:
I am able to get the Configure page values to be updated by manually adding rows for MOLPAY_MERCHANT_ID
, MOLPAY_MERCHANT_VKEY
, credit_on
, etc in my database's Prestashop configuration table.
tjwoon commented
This bug causes users to be unable to make payment, as the DB record for MOLPAY_SEAMLESS_JS
(can't remember exact name) is missing, so the checkout page does not load the MOLPay JS.