6 replies [Last post]
karc's picture
Offline
Joined: 05/28/2008
Juice: 72
Was this information Helpful?

hi,

I dont´know if this is a big problem. What I need would be a payment option wich is just sending an invoice to the customer.. no real gateway, no credit card, no paypal!

Because here in germany companies use this very rarely.. our customers are mostly small businesses. So far, we were sending our invoices together with the ordered product.

Does a module, which is that simple, already exist?

An alternative would be jsut to override the whole checkout, but i guess in this case the orders would not be stored in ubercart, right?

Thanks for any help,
Marc

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: A question about payment options

Hey Marc, the core Payment Methods Pack module includes an "Other" payment method that you can probably rename to suit your purposes. It also has a Check payment method that comes with a few other features that might be what you need, too.

gfxandmore's picture
Offline
Joined: 01/06/2009
Juice: 10
Re: Re: A question about payment options

Wonderful, thats exactly what we needed Eye-wink Thank you very mutch, problem solved!

wahidtanner's picture
Offline
Joined: 05/14/2009
Juice: 20
Re: Re: A question about payment options

Ryan, by renaming the "Other" payment method, do you mean changing the code, editing the database directly, or is there some means through the GUI that is available? I am setting up my site and would like to rename this to make it clear to the user how they can pay by calling on the phone after they place their order. If this needs to be done through the code, then my concern would be managing the same change for each upgrade of Ubercart.

Regards,
Wahid

Alaska's picture
Offline
Joined: 10/16/2007
Juice: 1433
String Overrides

Payment method pack contains another payment method titled 'Other'. As suggested, change the name 'other' to 'payment by phone', etc.

Since this is Uber 1.x you could try the string overrides module for Drupal 5.x. If the text that you desire to override is coded like "t('Other')" with the "t" it can be over ridden with string overrides. However, it must be exact or it will not work.

i.e. string overrides also available for Drupal 6.x.

AttachmentSize
other.png 4.1 KB
Scott M. Sanders's picture
Offline
Joined: 04/24/2009
Juice: 323
Re: Re: Re: A question about payment options

This was actually really easy: Just edit sites/all/modules/ubercart/payment/uc_payment_pack/uc_payment_pack.module, find "Other" (matching case should go right to it), and around lines 63-64, change "Other" to whatever you want, and save/upload your changes. (That's open-source!)

Of course you'll have to do this next time Ubercart is updated. :/

So I propose that this "Other" payment method could be renamed via Ubercart. I also want to duplicate this "Other" payment method via Ubercart, so that I could have say both "Invoice" and "Other" as payment methods.

Joel Stein's picture
Offline
Joined: 06/16/2009
Juice: 19
Changing the "other" payment method label

Hacking core is not a sustainable solution, and the String Overrides function will change all instances of "Other".

I submitted a patch to Ubercart which makes it possible to change the label, so you could easily change it to whatever you want.

http://drupal.org/node/865136

Give it a shot, and if it makes sense, please vote on it so it gets implemented in Ubercart. Thanks!