2 replies [Last post]
webmaker's picture
Offline
Joined: 04/22/2009
Juice: 76
Was this information Helpful?

Hi,

I just need two other payment methods available for customers - invoice and payment in advance. Can anyone tell me how I get this?????? There are just modules integrating very specific payment methods but why isn't it possible to define some further payment methods easily???? Is it really neccessary to develop new modules for this??????

Greez,
Tobias

Scott M. Sanders's picture
Offline
Joined: 04/24/2009
Juice: 323
Re: Two other payment methods to choose

You'll need to edit sites/all/modules/ubercart/payment/uc_payment_pack/uc_payment_pack.module around line 61 presently to suit your needs. For example...

    'name' => t('Other'),
    'title' => t('Other'),

...can be changed to 'Invoice' or what have you. I think you can also duplicate this $methods[] array to define a second "other" payment type too.

You'll have to do this when Ubercart is updated also.

zeezhao's picture
Offline
Joined: 04/23/2008
Juice: 969
Re: Two other payment methods to choose

Also, for invoice payments, you can probably use: http://drupal.org/project/uc_po