Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Option to enable/disable invoice function
 
lbunks
Member
 
Total Posts:  32
Joined:  2008-02-25
 

I personal use my own external ERP system to write down invoices etc. It can be usefull if the shopowner can decide what part magento can do for him and what part of the selling process he want to do by himself.

option for enable/disable invoices
option for enable/disable order-conf.

THX
Lars

 
Magento Community Magento Community
Magento Community
Magento Community
 
brendanb
Mentor
 
Total Posts:  1093
Joined:  2008-07-16
London, United Kingdom
 

hiya,

yep it would be nice to manage this functionality in them same way that you can enable/disable the shipping module from admin/configuration

ta

 
Magento Community Magento Community
Magento Community
Magento Community
 
Silebis
Jr. Member
 
Avatar
Total Posts:  30
Joined:  2008-01-15
Opava
 

yy, i use externeal erp system too. It would be nice to upload external pdf invoice too.

 
Magento Community Magento Community
Magento Community
Magento Community
 
lbunks
Member
 
Total Posts:  32
Joined:  2008-02-25
 

Just a little push to see if theire is any solution from the developer !!!

 
Magento Community Magento Community
Magento Community
Magento Community
 
jalab
Jr. Member
 
Total Posts:  1
Joined:  2011-04-22
 

Need that too.

plus in europe INVOICE is a legal thing that needs to be created with specific systems, calling a webpage INVOICE is illegal in many cases

 
Magento Community Magento Community
Magento Community
Magento Community
 
PVshop
Jr. Member
 
Total Posts:  4
Joined:  2012-01-09
 

Has anyone found a solution yet?

 
Magento Community Magento Community
Magento Community
Magento Community
 
PVshop
Jr. Member
 
Total Posts:  4
Joined:  2012-01-09
 

Okay. Here is what I’ve done to prevent that customers are getting in touch with anything that has to do with Magento’s invoicing system.
(=> Magento version 1.7.0.2)

To be able to change the order status to anything else (back-end) just do as follows:

Edit: app/design/adminhtml/default/default/template/sales/order/view/history.phtml
Substitute Line 34:

<?php foreach ($this->getStatuses() as $_code=>$_label): ?>
With:
<?php foreach (Mage::getSingleton('sales/order_config')->getStatuses() as $_code=>$_label): ?>

To prevent Magento from sending an invoice to the customer:

Install the free extension PayPalInvoiceSender (http://www.magentocommerce.com/magento-connect/paypal-invoice-sender-4818.html)
Edit app/code/community/Xonu/PayPalInvoiceSender/Model/Ipn.php
comment out Line 11

#require_once ('Mage/Paypal/Model/Ipn.php');

Edit app/code/community/Xonu/PayPalInvoiceSender/Block/Adminhtml/Notification/Window.php
comment out Line 11

#require_once ('Mage/Adminhtml/Block/Notification/Window.php');

Back-end:
Then set “System > Configuration > Payment Methods > PayPal additional Settings > Send Invoice”
to “No” and save the configuration.

Another problem is, that Magento sends the internal invoice/order number to PayPal and this number is shown on PayPal’s “Confirmation of Payment” which the customer get’s by email.
To ensure that the term “Invoicenumber:xxxxx” is not visible on PayPal’s “Confirmation of Payment”
and a functioning communication between Magento and PayPal is still given you need to do as follows:

Edit app/code/core/Mage/Paypal/Model/Ipn.php
Search for:

protected function _getOrder()
Line 170:
substitute
$id $this->_request['invoice'];
with
$id $this->_request['custom'];

Edit app/code/core/Mage/Paypal/Model/Api/Standard.php
Search for:

protected $_globalMap = array(
Line 45:
substitute
'invoice'        => 'order_id',
with
'custom'        => 'order_id',

AND

Search for:

protected $_commonRequestFields = array(
Line 73:
substitute
'invoice'
with
'custom'

Of course you could also just copy the mentioned files to your app/code/local/whatever directory and do the changes there.

Cheers

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top