You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by yh-maurizio <m....@reply.it> on 2006/11/21 15:52:55 UTC

createInvoiceForOrder exception

Hi to all!

I have a question for you and I hope you'll be so nice to give me an answer.
I have a digital good (a JPG image) in my catalog (like digital Gizmo): when
I try to buy that product all the process goes well, but when I click on
"submit order" in the Checkout Review an exception is reported:
---
Service [createInvoiceForOrder] threw an unexpected exception/error
Exception: org.ofbiz.service.GenericServiceException
Message: Service target threw an unexpected exception (null)
---
what's happen? I have checked all the settings about the Store and I suppose
they are ok. Maybe I have to set something in the accounting about the tax
for the invoice?

Thanks in advance!

Maurizio
-- 
View this message in context: http://www.nabble.com/createInvoiceForOrder-exception-tf2679252.html#a7472633
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: createInvoiceForOrder exception

Posted by yh-maurizio <m....@reply.it>.
Down, in the logfile, I found this message too:

2006-11-21 16:30:28,484 (http-localhost%2F127.0.0.1-8443-Processor4) [     
OrderServices.java:2646:ERROR]
---- exception report
----------------------------------------------------------
ERROR: Unable to invoice digital items
Exception: org.ofbiz.service.GenericServiceException
Message: Service target threw an unexpected exception (null)
-- 
View this message in context: http://www.nabble.com/createInvoiceForOrder-exception-tf2679252.html#a7473390
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: createInvoiceForOrder exception

Posted by yh-maurizio <m....@reply.it>.
Great! It works. The field was "Pay To Party Id" where I set a username, not
a userID. Thanks a lot.

I have already a question for tomorrow but... tomorrow is another day!! ;-)

Have a nice evening.

Maurizio
-- 
View this message in context: http://www.nabble.com/createInvoiceForOrder-exception-tf2679252.html#a7475548
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: createInvoiceForOrder exception

Posted by Jacopo Cappellato <ti...@sastau.it>.
Did you set the ProductStore's "bill to party" field?

Jacopo


yh-maurizio wrote:
> Hi to all!
> 
> I have a question for you and I hope you'll be so nice to give me an answer.
> I have a digital good (a JPG image) in my catalog (like digital Gizmo): when
> I try to buy that product all the process goes well, but when I click on
> "submit order" in the Checkout Review an exception is reported:
> ---
> Service [createInvoiceForOrder] threw an unexpected exception/error
> Exception: org.ofbiz.service.GenericServiceException
> Message: Service target threw an unexpected exception (null)
> ---
> what's happen? I have checked all the settings about the Store and I suppose
> they are ok. Maybe I have to set something in the accounting about the tax
> for the invoice?
> 
> Thanks in advance!
> 
> Maurizio