Magento Questions Answered By Magento Experts

 

Welcome Guest. Sign in or Signup

4 Answers

Auto Invoice Extension

Asked by: 2120 views , , ,
Questions

Hey,

I’m trying to write an extension that will automatically generate an invoice when an order comes through with a $0.00 total. Some of my products are free to certain members and i dont want them to have to wait for me to process the invoice automatically before they can download the products. 

 

What i am wondering is what method do i use to write an observer to check after the order is placed the value of the order, etc.

 

Hope my question was clear.

Cheers,

Jacob

4 Answers



  1. Magentist on Jun 27, 2011 Reply

    Hi Jacob,

    You don’t need a special module for that – it’s just a Magento admin setting. Go to:

    System > Configuration > Catalog > Downloadable product options

    and you’ll see the options for downloadable products.

    Also an order should automatically be invoiced by default if the amount is zero ;) .

    Hope this helps!

    Magento Themes by Magentist

    +1 Votes Thumb up 1 Votes Thumb down 0 Votes



  2. Jacob on Jun 27, 2011 Reply

    Thanks for that! :)

    I’ve found the configuration settings for downloadable products and can change it so that people can download it regardless of the order being invoiced.

    But i’m still having issues with magento automatically invoicing orders of $0.00. i place the order and it still gets marked as processing in magento’s backend.

    Any ideas?

    Cheers, Jacob

    0 Votes Thumb up 0 Votes Thumb down 0 Votes



    • marco on Jun 18, 2012 Reply

      Hello Jacob

      Can you find a solution for this issue?

      Thanks.

      0 Votes Thumb up 0 Votes Thumb down 0 Votes



  3. Lidia Panio on Sep 26, 2011 Reply

    The only things i’ve found is the compent automatic invoice or to change order status with some coding lines. So you will have to extend by yourself this behavior.
    http://blog.chapagain.com.np/magento-how-to-change-order-status-programmatically/

    0 Votes Thumb up 0 Votes Thumb down 0 Votes


Answer Question