Author Topic: Payment Module Problem: Possible duplicate keys.  (Read 979 times)

0 Members and 1 Guest are viewing this topic.

David M. Graham

  • Administrator
  • Sr. Member
  • *****
  • Offline Offline
  • Posts: 380
  • Karma: 12
    • View Profile
    • osCommerce University
Payment Module Problem: Possible duplicate keys.
« Reply #1 on: October 02, 2008, 10:27:24 PM »
Mike from the  Chain Reaction forums say's

"Hi,
don't know if you are still on this forum but I came across a question you answered about duplicate keys...my payment mods are missing the right column to turn them active, don't know what happened...can you please help me in what to look for, I looked at it in sql admin.
thanks
mike"

Mike, 

This would depend on which payment modules are showing in the admin, if any.

Basically each module has a set of keys which look like:

MODULE_PAYMENT_AUTHORIZENET_TEXT_TITLE
MODULE_PAYMENT_AUTHORIZENET_TEXT_DESCRIPTION
MODULE_PAYMENT_AUTHORIZENET_TEXT_TYPE
MODULE_PAYMENT_AUTHORIZENET_TEXT_CREDIT_CARD_OWNER
MODULE_PAYMENT_AUTHORIZENET_TEXT_CREDIT_CARD_NUMBER
MODULE_PAYMENT_AUTHORIZENET_TEXT_CREDIT_CARD_EXPIRES

One thing that you are looking for is one or more of these entries to be duplicated.  Look at the entries in the first module in the includes/modules/payment directory which does not show on the screen first, as this is the most likely culprit.

David