Offline Payment / Cash on Delivery / Purchase Order - possible?

Posts: 8
Joined: 08/20/2007

Pardon me if this topic has been discussed already, I do believe I have seen it somewhere in the forum but somehow I could not find it anymore. Anyway, I am very looking forward to build my next client project by using Drupal and Ubercart, but I'd like to know if it's now possible to offer the above payment method as one of the options? Some of my clients would like to accept orders without credit card payment (their customers can transfer money to their bank account or mail over a cheque or collect cash upon delivery etc) therefore it is important to have this feature. If this is not available still, can someone tell me when will it be available?

Posts: 2243
Joined: 08/07/2007
AdministratoreLiTe!

I know that there are already payment methods written for COD and checks. I think they're included with the base payment module, so there's nothing extra to do or get for them. Writing a payment method for formal purchase orders would be simple, in comparison to PayPal integration anyway, and a lot of that work could be copied from the COD payment method.

Posts: 99
Joined: 08/08/2007
Getting busy with the Ubercode.Not Kulvik

already done. I modified the payment module to add purchaseorder alongside with COD and check, I also added a purchaseorder table.

See attached tar.gz for a patch for ucpayment.module, and uc_payment.install

Its alpha code, but it does work so far....
~Jakob

AttachmentSize
uc_payment_with_purchaseorder.tar.gz1.86 KB
Posts: 116
Joined: 08/08/2007
Brain Stormer

Instead of a patch. Is there any way you can just make this an additional standalone payment method / module?

that way, folks can just download it and select to use it or not in addition to other payment methods. applying a patch breaks teh upgrade cycle.

2 cents

Posts: 99
Joined: 08/08/2007
Getting busy with the Ubercode.Not Kulvik

I could look into making it a standalone module -- to be honest, there should be standalone modules for COD, checks, and other as well -- I'll see about making a separate module though--probably will happen with alpha8 comes out.

Guest (not verified)

nice

Posts: 2
Joined: 09/11/2007

Purchase orders are very important here as well, so much so that I did want to use the patch (despite the danger re the upgrade cycle). However, some time has passed since your posting and the Ubercart release it addressed (or so it appears). With the latest 7b code, the patch does not work. Do you have an update? Or have you simply chosen to work on the module rather than patching the current code?

Thank you. -- Marcel

Posts: 4
Joined: 08/21/2007
Bug Finder

I also tried to use the patch and it did not work on current release.

The uc_payment_module_with_purchaseorder.patch still works with the current release but uc_payment_install_with_purchaseorder.patch does not. I had to manually cut and paste the required changes from this file to make it work.

On a related note, is it possible to have different HANDLING CHARGES based on the type of payment method ? For example, I want to charge extra handling charges if the user chooses payment method to be Purchase Order. Any suggestions and pointers you can offer to accomplish this will be helpful.

Thanks.

SM

Posts: 5245
Joined: 08/07/2007
AdministratorHead Code Monkey - I eat bugs.

Handling charges have been requested before for various types of payments, and I'll try to add them in for Alpha 8. It seems fairly standard. Right now I'm probably only going to allow a flat dollar amount or a percentage of the order... let me know if you have any thoughts about that. I've got a couple other things to do for payment for Alpha 8. I finally feel like I'm making headway at least. Laughing out loud

Posts: 2
Joined: 09/11/2007

Somehow, it didn't occur to me to update this until I looked at my inbox and noticed a message about this subject that I had totally missed. Sorry . . . anyhow, a purchase order module exists now and it works beautifully. Check it out here. My thanks to Ryan for getting this done as quickly as he did.

Enjoy. -- Marcel

Posts: 51
Joined: 10/08/2007
Getting busy with the Ubercode.

Ryan, was an option for handling charges added to alpha 8?

This would be good to know. I would also be happy to add manually using the flat dollar amount, as long as it doesn't interfere with other shipping estimates. For instance, can we get an estimate based on total order weight, but still add a handling fee per item (or per order)? Thanks in advance for your advice! Smiling

Posts: 5245
Joined: 08/07/2007
AdministratorHead Code Monkey - I eat bugs.

Sorry, Scott... I still have this on the ol' to do list and had to scrap it prior to Alpha 8 so I could get the release out the door. I'll need to review the old contribution to make sure it's still compatible.

Posts: 25
Joined: 05/31/2008

I also need such feature.