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

Error in creating an invoice when using PayPal batch capture. 
 
alex.bsc
Guru
 
Total Posts:  340
Joined:  2008-06-06
 

The back end reports ‘Error in creating an invoice’ when ‘batch capture’ of funds is used in PayPal (accessible as a link via the capture funds screen).

An example back-end log is;

* 28 Feb 2009 07:29:52|Processing
Customer Notified
Error in creating an invoice
* 28 Feb 2009 04:38:03|Processing
Customer Notified
Error in creating an invoice
* 28 Feb 2009 03:11:58|Processing
Customer Notified
Error in creating an invoice
* 28 Feb 2009 02:27:58|Processing
Customer Notified
Error in creating an invoice
* 28 Feb 2009 02:05:31|Processing
Customer Notified
Error in creating an invoice
* 28 Feb 2009 01:53:49|Processing
Customer Notified
Error in creating an invoice
* 28 Feb 2009 01:50:06|Processing
Customer Notified
Error in creating an invoice
* 28 Feb 2009 01:43:41|Processing
Customer Notified
Error in creating an invoice
* 28 Feb 2009 01:41:19|Processing
Customer Notified
Error in creating an invoice
* 28 Feb 2009 01:39:37|Processing
Customer Notified
Error in creating an invoice
* 28 Feb 2009 01:38:23|Processing
Customer Notified
Error in creating an invoice
* 28 Feb 2009 01:37:19|Processing
Customer Notified
Invoice #100000270 created
* 27 Feb 2009 19:38:06|Processing
Customer Notified
Received IPN verification
* 27 Feb 2009 19:32:40|Pending PayPal
Customer Not Notified

 
Magento Community Magento Community
Magento Community
Magento Community
 
quanza
Sr. Member
 
Avatar
Total Posts:  97
Joined:  2008-12-02
Tokyo, Japan
 

bump - i’m seeing this too.
alex.bsc, did you file a bug report?

 
Magento Community Magento Community
Magento Community
Magento Community
 
alex.bsc
Guru
 
Total Posts:  340
Joined:  2008-06-06
 

yes.
http://www.magentocommerce.com/bug-tracking/issue?issue=5418

 
Magento Community Magento Community
Magento Community
Magento Community
 
J_T_
Mentor
 
Avatar
Total Posts:  1961
Joined:  2008-08-07
London-ish, UK
 

I’m getting this too, in both these scenario’s. My orders with PayPal Standard are set to Authorize, not Sale.

1. I first create the invoice in Magento and select Capture online. Right now this is actually not telling PayPal to capture but that seems to be a different bug. The invoice gets created just fine. Because it didn’t capture it for whatever reason, if I now go to PayPal and click capture there, I see PayPal tries an IPN call to Magento, I guess to create the invoice, and now this error in creating invoice appears as a comment.

2. If I don’t first try to create the invoice in Magento and click capture button in PayPal right away, I also get this issue.

I should add that the invoice does in fact gets created as usual. When done from PayPal, it is not emailed to the customer.

 
Magento Community Magento Community
Magento Community
Magento Community
 
tiagofm
Member
 
Total Posts:  39
Joined:  2009-02-05
 

I get the same error,

Jun 4, 2009 11:03:01 AM|Complete
Customer Not Notified

Jun 4, 2009 11:03:01 AM|Processing
Customer Notified
Error in creating an invoice

Jun 4, 2009 11:02:56 AM|Processing
Customer Notified

Running Magento 1.3.1.1 and Paypal direct Sandbox.

The customer gets 2 e-mails.

 
Magento Community Magento Community
Magento Community
Magento Community
 
justintime67
Sr. Member
 
Avatar
Total Posts:  188
Joined:  2009-08-12
 

Anyone fixed this?? I am getting same \"error creating invoice\” in the customer notifications and also in error log i have this:

PHP Fatal error:  Call to a member function getAllItems() on a non-object in /public_html/app/design/frontend/default/default/template/email/order/items.phtml on line 38

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