RazerMS/Shopping-Cart-Plugins-RazerMS_Prestashop

Unable to Save Module Config on Prestashop 1.7.

tjwoon opened this issue · 1 comments

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:

  1. Upload the unzipped molpay folder into the Prestashop modules folder.
  2. In Prestashop admin portal's Modules page, search for MOLPay.
  3. Click "Install" on the MOLPay plugin.
  4. Go to Installed Modules page and look for MOLPay.
  5. Click "Configure".
  6. Enter the Merchant ID, Verify Key, and select some payment methods.
  7. Click Save.
  8. I am now brought to my website's home page.
  9. Go back to MOLPay plugin configuration page (Step 6).
  10. 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.

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.