Whether this defies the logic of Magento's order processing, I haven't entirely worked out…
A client takes a number of telephone orders and takes their payment via a 3rd party portal or via a handheld PDQ terminal. Subsequently, the orders get raised in Magento with no payment method.
Orders with no payment method, it would appear it is not possible to generate invoices for…?
What would be the recommended approach for implementing the ability to raise invoices for these types of orders. The provided extension from the payment gateway used offers no way to handle these types of orders.
Would there be any scope in attempting to auto-generate the invoice for orders of where there is no payment method selected maybe – would this work?
Or would it be possible to implement a method that allows you to create an invoice manually at any time against an order?
Thanks in advance.
Best Answer
So if i undertsand your question correctly, the order is manually created in magento via the admin interface?
I have not done this myself, so cannot give exact details, but I think you need to do an 'Offline Capture'
see this page : http://www.magentocommerce.com/wiki/welcome_to_the_magento_user_s_guide/chapter_8
From the page given:
Capture Offline - When the Invoice is submitted, the system will not capture the payment. It will be assumed that the payment is going to be captured directly through the gateway, and you will no longer have the option to capture this payment through Magento. You will have the ability to create a Credit Memo, but you will not have the option to Void the Invoice (even though the Order used an online payment, the Invoice is essentially an offline Invoice).
Additonally, this blog post from Inchoo shows how to do it via code:
For completeness (since links disappear of the net (gasp)) here is their code:
(note this is Inchoo's blog entry, no credit to myself)