Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

New payment module and MODULE_PAYMENT_INSTALLED configuration key


Recommended Posts

Posted

Hello!

 

I have just finished writing a payment module, it looks like everything is fine, but for some reason, when I install the module in the payment module admin, it doesn't add this module at the end of MODULE_PAYMENT_INSTALLED configuration key in the database. So the payment option does not show up in the payment options during checkout, but when I enter it manually into the database, it works, it shows up, I can use the payment module and everything works.

All other standard (and even some non-standard) modules are always added into database when installed and removed when uninstalled. I have also noticed that when my module is installed and I edit the module options, it is even again removed from the MODULE_PAYMENT_INSTALLED and I have to add it there manually again.

 

What am I doing wrong? I have created the module from the paypal module and the install function is almost identical, so I'm pretty much out of ideas.

 

I hope this hasn't been discussed already, but I have tried hard to find something about this and I haven't found anything.

 

Thanks.

Jan

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...