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?
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.
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
| Attachment | Size |
|---|---|
| uc_payment_with_purchaseorder.tar.gz | 1.86 KB |
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
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.
nice
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
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
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. 
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! 
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



