Questions tagged [invoice]

Magento payment invoice generated as a confirmation of payment receipt

Filter by
Sorted by
Tagged with
37
votes
1answer
26k views

Recurring Profiles - How do they work?

I'm trying to understand how Magento manages Recurring Profiles and orders associated with them. I have some open questions about that: Order: How the subsequent "order" is created from a Magento ...
25
votes
1answer
55k views

magento: invoice PDF design customization

I want to customized the Invoice PDF layout. when there is big product name the the table data are not looking proper aligned. How Can i easily manage the design of the PDF INVOICE. I tried to ...
21
votes
2answers
14k views

Error while printing invoice

I've got a standard Magento 1.8.0.0 installation on Windows 7 using the BitNami Magento installation for XAMPP. When I open the Sales -> Invoices screen and click on an invoice and then click on the ...
21
votes
2answers
1k views

Magento Each New Invoice Increment Id Increment By 5?

I need to increment each new invoice id by 5, i have tried below code. But changed all invoices, shipments, orders and credit memos. I need each new invoice id increment by 5, shipments increment by ...
14
votes
1answer
5k views

Email customer when programmatically creating invoice

While creating an invoice programmatically, how can I make the system email the invoice to the customer? $order=Mage::getModel('sales/order')->load($orderid); $invoice = Mage::getModel('sales/...
13
votes
1answer
2k views

Integrity constraint violation: 1062 Duplicate entry for key 'UNQ_SALES_FLAT_INVOICE_INCREMENT_ID'

I'm helping a merchant track down the root cause for some failed payment transactions (during a heavy order day), that failed with the following error SQLSTATE[23000]: Integrity constraint ...
11
votes
2answers
10k views

Payment has already been made for this InvoiceID (#10412: Duplicate invoice) [closed]

I have created one recurring profile product & using paypal as payment gateway. After clicking on payment I got the error as "PayPal gateway has rejected request. Payment has already been made ...
9
votes
2answers
2k views

Best practice to create a custom pdf?

is there a best practice to create e new custom e.g. invoice PDF? I need a separate custom PDF with my own layout and tables. And here is my problem: I had never created a PDF in Magento before so ...
8
votes
5answers
5k views

Custom Order, Invoice, and Shipping Starting Numbers

What's the safest approach to change the next starting numbers for order, invoice, and shipment on a live site?
7
votes
3answers
12k views

How to get Last OrderId inside an Observer

I am trying to get the last order id for an order so that I can create an invoice and shipment automatically but I can't seems to load the correct orderId to perform the action... Here is how I am ...
7
votes
1answer
1k views

Printing invoice in different custom language

I have one website with multiple store views for different languages. All store views have same products, but use different front-end languages which are stored in locale. When someone orders from ...
7
votes
1answer
3k views

Alter the format of the invoice pdfs

I am using Magento CE 1.7.0.2 and would like to alter some parts of the .pdf invoices that can be printed from the 'invoices' section of the site. As you can see in the image above, I would like to ...
7
votes
1answer
819 views

How to add Grand Total in base currency to the PDF invoice?

We are running a 1.9.0.1 install and need to display the grand total base currency value on invoices that have been generated using other currencies than base. Even better if all the values on the PDF ...
7
votes
0answers
632 views

Magento 2: Add a new custom input field in order > invoice

I am trying to add new input field in Sales > Order > Invoice, this would be related to shipping method. This Custom field should be show in Invoice Shipping Method section. I was all ready add ...
6
votes
1answer
6k views

Magento - How To Show Order Comments to PDF Invoice

This questions was originally posted on stackoverflow but I got no responses. But I still need a help solving this problem I've been having. I have installed Magemaven OrderComment into my CE 1.8.0 ...
6
votes
1answer
2k views

Magento 2 : Add Custom Field To Order, Invoice, Shipment, Credit Memo

I created one custom field in sales_order table, field name is mycstfield. I save my value in that field sucessfully when order is placed. Now, I want to send that field value in following places. ...
6
votes
1answer
2k views

Making a purchase without Shipping or Payment. Follow up Invoice with actual shipping costs

We have a client that we've set up a store for B2B sales to their wholesale customers. Since they have a specific customer list that they allow to make purchases on their site, they would like to ...
6
votes
1answer
281 views

Invoice PDF layout not showing proper Magento 2

There are more than 15 custom option for my each product. When I print the PDF for invoice or order then it does not showing properly. Please check the attached screenshot. Have you guys any idea how ...
5
votes
4answers
33k views

how to change PDF invoice layout

i want to customized the Invoice PDF layout like in the image this is just a example of print invoice pdf & changes i want
5
votes
1answer
4k views

How to Perform Invoice Capture in Magento2 Programmatically

How to capture payment for the created invoice. In Magento1.x it is like $invoice = Mage::getModel('sales/Service_Order', $this->getOrder())->prepareInvoice(); $invoice->...
5
votes
2answers
6k views

Run method after capturing invoice

What is the difference between the sales_order_invoice_register, sales_order_invoice_save_after and sales_order_place_after events? I'd like to run a method after the payment capture for the invoice ...
5
votes
1answer
11k views

Invoices - capture online vs capture offline

Regarding invoices, can anyone explain the difference between the online amount capture and offline amount capture. I really don't understand the difference between these two options.
5
votes
1answer
1k views

Magento 1.9.x Removing the invoice link from Account Order info pages

The store I am working on handles wholesale orders only and the only functionality I want in the customer account order history area is for the customer to view their orders/status's and delivery, but ...
5
votes
1answer
2k views

Magento 2 order flow sequence

Hope all is well. It would be great if you could help me to figure out the order flow in Magento 2. I understood these steps Order Placed -> Order in Pending -> Payment Confirmed/Verified. But got ...
5
votes
1answer
151 views

calling invoice destruct on shutdown

I saw that in ce 1.9 this method appeared in the invoice model: public function __construct() { register_shutdown_function(array($this, 'destruct')); parent::__construct(); } this meas the ...
5
votes
1answer
1k views

backend: get custom options from invoice

I am working on the backend invoice template. In adminhtml (sales/order/invoice/view/items.phtml), the item list is performed with : <?php $_items = $this->getInvoice()->getAllItems() ?>...
5
votes
0answers
29 views

create invoice module same as Admin side in magneto 2 [closed]

How to Create an invoice module the same as the Admin side in Magento 2?
5
votes
0answers
393 views

Magento 2: Invoice PDF Can't Complete Download on Customer End “Failed - Network Error”

I have an extension by MageSpaceX that creates PDFs for Invoice/Order PDF. It works fine on the Admin End, I can hit "Print PDF", and it generates it perfectly. Downloads it, and I can do whatever I ...
4
votes
2answers
532 views

No old orders, invoices, shipments, etc after Magento upgrade

I've updated my old 1.4.0 Magento to the recent version 1.9.0.1. But after the update I noticed that there are no orders, invoices, shipments and actually no data related with old sales! I bought a ...
4
votes
3answers
4k views

Why I cannot create an invoice from an completed order

I am using Magento 1.7.0.2 and I have a problem with some orders. They are paid by CC and the order is now Completed but I can not create an Invoice. I can not see the invoice button on Order and I ...
4
votes
2answers
2k views

Magento Credit memo before invoice captured

The client I am working with has a requirement that they are able to give credit memos before either full or partial capture of an invoice (i.e. money is authorized but not paid). The idea being that ...
4
votes
1answer
489 views

Create shipment and invoice in mass action

I want to create shipment + Invoice using mass action in order grid. Can anyone tell me the approach to do this? Share code if possible otherwise approach would be good. Thanks.
4
votes
4answers
11k views

How to customise invoice pdf layout in magento2?

I want to customize layout of PDF invoice by css and by adding product image on invoice in magento 2.
4
votes
1answer
701 views

Where do Zero Subtotal Checkout Invoices get created?

The basic problem is this: We've enabled the creation of invoices for free (zero subtotal) orders. This works fine, and the invoice is created, except the invoice email isn't sent. I expected that I ...
4
votes
1answer
4k views

Where can I customize the HTML invoice found in the customer's account page?

I know there are extensions to modify the PDF invoices and packing lists. I'm assuming by PDF invoice, they mean the invoices that you can print from the order summary in the admin. However, when a ...
4
votes
1answer
1k views

Observer for invoice creation after it is saved

I have tried the following events for invoice creation observer: sales_order_invoice_save_after sales_order_invoice_pay sales_order_invoice_register ...
4
votes
1answer
531 views

Attach invoice pdf to custom e-mail in magento 2

I created a custom email and it's working fine like this: $data['amount'] = round($amount); $data['customer_name'] = $customer->getFirstname() . ' ' . $customer->getLastname(); $...
4
votes
1answer
279 views

Error attach pdf to invoce e-mail

I tried to send an invoice email from frontend with pdf attached, by extending InvoiceSender like this: namespace Namespage\Module\Model\Plugin\Order; use Magento\Sales\Model\Order\Invoice; use ...
4
votes
1answer
1k views

Magento 2 Show custom fee in admin invoice pdf

I have created a module to add custom fee value. I want to show this custom fee in all pages(frontend:order view page, print page etc, backend:order view page, sales invoice pdf, emails) I have shown ...
4
votes
1answer
463 views

How to get invoice key

I'd like to use the Magento's print feature in my module to have the invoice pdf of a programmatically created order. For that I'd like to get the url that Magento back end uses to print the invoice. ...
4
votes
1answer
2k views

Change order, invoice & shipment #number

I have a client that requires custom order, invoice and shipment number to be present in emails and while printing them out... The best possible modification would be to change the code that assigns ...
4
votes
1answer
1k views

Magento invoices logic, payment methods

We have implemented one local solutions for Magento invoices, where there is an unique code on every Magento invoice (this is according to our local law). We see that now every default Magento invoice ...
4
votes
1answer
1k views

observer to change status after invoicing

I would like to know what is the correct method for change status of order when i create the invoice. I created an observer on the basis of what I saw on the internet : class statutafterinvoice ...
4
votes
0answers
449 views

Currency conversion from default currency(dollars) to the another currency(dhirams) is happening twice [closed]

When i convert currency from the default currency Dollars to another currency AED in currency converter and place an order and try to print the invoice PDF. In invoice it is showing the conversion ...
4
votes
0answers
725 views

how to add a Discount price to the Invoice in Magento [closed]

In case the product is "In sales" I would like to have in the invoice the price before sales and the discounted price to appear in the invoice. How to do that. Thanks
3
votes
3answers
3k views

Why is my Invoice PDF > 1MB

When I click to print an invoice in my magento admin panel, it downloads a file between 900K and 1.3MB (the variation seems random, I can't see a reason for it). This is a very simple Invoice with ...
3
votes
1answer
7k views

how to get order deatils by invoice id?

how to get order deatils by invoice id? I need to search order details by invoice id. Where to change this one?
3
votes
1answer
560 views

How can I change the position of the Country and the Postal code for email PDF invoices?

I would like to change the position of "country" with "zip code"? Everything else is correct. You can see the Value: Zürich, 8605 and Schweiz Those need to be changed, but where can I do ...
3
votes
2answers
6k views

Magento 2: How to Automatically Create Invoice from Order Observer

I'm testing on Magento 2.2.3 and I've created an observer for the event sales_order_save_after which I'm using to automatically create an invoice. Here is the current error that I'm receiving after ...
3
votes
3answers
5k views

How to display only invoice created date in invoice template and format date?

I want to display invoice created date in invoice e-mail template. I am using {{var invoice.created_at}} to display invoice created date. But it displaying 2015-05-25 13:30:55 . I need to only display ...

1
2 3 4 5
14