Zen Cart Logo
Forums / Built-in Shipping and Payment Modules / Adding a new payment option

Adding a new payment option

Views: 830

Results 1 to 8 of 8
11 Jun 2013, 12:02 PM
#1
devyani avatar

devyani

Zen Follower

Join Date:
Aug 2011
Posts:
199
Plugin Contributions:
0

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.php?171782-Adding-a-quot-pay-in-store-quot-option&referrerid=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 :
Attachment 12644

Where am i going wrong ?
Thanks
Devyani.

11 Jun 2013, 12:08 PM
#2
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,087
Plugin Contributions:
56

Re: Adding a new payment option

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

11 Jun 2013, 12:10 PM
#3
devyani avatar

devyani

Zen Follower

Join Date:
Aug 2011
Posts:
199
Plugin Contributions:
0

Re: Adding a new payment option

where can i look for them ?

11 Jun 2013, 12:50 PM
#4
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,087
Plugin Contributions:
56

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.

11 Jun 2013, 1:02 PM
#5
devyani avatar

devyani

Zen Follower

Join Date:
Aug 2011
Posts:
199
Plugin Contributions:
0

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

11 Jun 2013, 4:53 PM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

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.

11 Jun 2013, 7:14 PM
#7
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,087
Plugin Contributions:
56

Re: Adding a new payment option

devyani:

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

[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.

12 Jun 2013, 9:58 AM
#8
devyani avatar

devyani

Zen Follower

Join Date:
Aug 2011
Posts:
199
Plugin Contributions:
0

Re: Adding a new payment option

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