Results 1 to 8 of 8
  1. #1
    Join Date
    Aug 2011
    Posts
    199
    Plugin Contributions
    0

    Default Adding a new payment option

    Hi
    I wanted to add one more payment option of netbanking.
    I found a thread: to clone the Check/Money Order moneyorder Payment Module (http://www.zen-cart.com/showthread.p...errerid=111350)

    After following the steps I am getting a new option in my payment module, but I am not able to configure it.
    The screen on clicking edit is :
    Click image for larger version. 

Name:	new Payment module.jpg 
Views:	82 
Size:	44.7 KB 
ID:	12644

    Where am i going wrong ?
    Thanks
    Devyani.

  2. #2
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,893
    Plugin Contributions
    96

    Default Re: Adding a new payment option

    Are there any debug log files in your store's /cache directory?

  3. #3
    Join Date
    Aug 2011
    Posts
    199
    Plugin Contributions
    0

    Default Re: Adding a new payment option

    where can i look for them ?

  4. #4
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,893
    Plugin Contributions
    96

    Default Re: Adding a new payment option

    Use your FTP program (or webhost's cPanel) to view your store's /cache directory to see if there are any files with an extension of .log present.

  5. #5
    Join Date
    Aug 2011
    Posts
    199
    Plugin Contributions
    0

    Default Re: Adding a new payment option

    Hi,
    I found 4 files that were created today.
    But the time stamp is of an earlier time.
    I any case I am attaching them for your reference.
    Thanks for looking into them
    Attached Files Attached Files

  6. #6
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Adding a new payment option

    Your screenshot shows input fields for configuration entries that don't exist in the database. This indicates that the functions in your payment module contain references to MODULE_PAYMENT_SOMETHING that are not in sync with each other, especially the install() and keys() and remove() functions. And/or you haven't clicked Remove and then Install to actually install the fields listed in your install() function.

    I hope you're doing this on a test site, and not on your live site.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  7. #7
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,893
    Plugin Contributions
    96

    Default Re: Adding a new payment option

    Quote Originally Posted by devyani View Post
    Hi,
    I found 4 files that were created today.
    But the time stamp is of an earlier time.
    I any case I am attaching them for your reference.
    Thanks for looking into them
    The first log record
    Code:
    [11-Jun-2013 15:04:04] PHP Parse error:  syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/bambinoc/public_html/includes/languages/english/modules/payment/NetBanking.php on line 25
    indicates that you've got an error in the language file associated with your payment module.

  8. #8
    Join Date
    Aug 2011
    Posts
    199
    Plugin Contributions
    0

    Default Re: Adding a new payment option

    Thanks lat9.
    I found an add on for this in the vast collection of zencart. Works great.

 

 

Similar Threads

  1. Payment option based on new option
    By timhersh in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 22 Dec 2011, 11:37 PM
  2. Adding Paypal Payment Option
    By CynthiaR in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 15 Dec 2011, 09:13 AM
  3. Need help Adding New Payment Option
    By Fidz in forum Built-in Shipping and Payment Modules
    Replies: 4
    Last Post: 8 Apr 2008, 05:38 PM
  4. Adding new payment option?
    By spiked in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 23 Sep 2006, 11:36 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg