Zen Cart Logo
Forums / Built-in Shipping and Payment Modules / Installing New Payment Module (for cash payments)

Installing New Payment Module (for cash payments)

Locked

Views: 3,655

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
18 Feb 2007, 11:23 AM
#1
binny25 avatar

binny25

New Zenner

Join Date:
Oct 2006
Posts:
42
Plugin Contributions:
0

Installing New Payment Module (for cash payments)

Hi.

I already use the "Check/Money Order" payment module.

I need to find and install a new payment module for "Sending Cash Payments Through Mail".

Ideally, i would like to install a 2nd "Check/M.O." module and then rename it.

  1. Where do I find payment modules for downloading?

  2. How do i rename it "Sending Cash"?

Thanks, Matt.

18 Feb 2007, 3:18 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Installing New Payment Module (for cash payments)

You could clone the moneyorder Payment Module ...

Copy the files:
/includes/modules/payment/moneyorder.php
/includes/languages/english/modules/payment/moneyorder.php

To the files:
/includes/modules/payment/sendcash.php
/includes/languages/english/modules/payment/sendcash.php

Do a global replace in both files for:
moneyorder with sendcash
MONEYORDER with SENDCASH

You can then set the defines on the language file to read anyway that you like ...

Be sure to use a good TEXT editor for this ... and remember the replaces in the code are case sensative ...