Zen Cart Logo
Forums / Addon Payment Modules / OnlineBank

OnlineBank

Locked

Views: 1,013

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
7 Jan 2010, 2:04 PM
#1
rebel_tech avatar

rebel_tech

New Zenner

Join Date:
Dec 2009
Posts:
41
Plugin Contributions:
0

OnlineBank

Hi

I am currently using ONLINEBANK to allow my clients to pay via Online Banking.

I have made some small changes to allow for Branch name to be displayed.

However, the text size doesn't match the rest of the page (it is really small).

I would also like to know how you call the order number from the database and add it to the onlinebank module.

I have attached a photo regarding the text.

Can anyone help me?

11 Jan 2010, 12:42 AM
#2
mach9 avatar

mach9

New Zenner

Join Date:
Oct 2009
Posts:
15
Plugin Contributions:
0

Re: OnlineBank

Can you tell me what changes you made to add the branch name?

I also want the text to display properly as it does in the "payment modules" section.

See Image.

Thanks for any help.

18 Jan 2010, 8:55 AM
#3
rebel_tech avatar

rebel_tech

New Zenner

Join Date:
Dec 2009
Posts:
41
Plugin Contributions:
0

Re: OnlineBank

mach9:

Can you tell me what changes you made to add the branch name?

I also want the text to display properly as it does in the "payment modules" section.

See Image.

Thanks for any help.

Hi

Inincludes\modules\payment\onlinebank.php

look for this line

$db->Execute("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Branch Code', 'MODULE_PAYMENT_ONLINEBANK_SRTCOD', '25-03-55', 'Branch Code in the format 00-00-00', '6', '1', now());");

THEN ADD

$db->Execute("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Branch Name', 'MODULE_PAYMENT_ONLINEBANK_BRCNAME', 'Rivonia', 'Branch Name', '6', '1', now());");

Step 2:

Go to includes\languages\english\modules\payment\onlinebank.php

FIND

"\nBranch Code:          " . MODULE_PAYMENT_ONLINEBANK_SRTCOD .

There should be two places and add

"\nBranch Name:          " . MODULE_PAYMENT_ONLINEBANK_BRCNAME .

under each one.

I hope this helps.