createInvoiceForOrder exception

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

createInvoiceForOrder exception

yh-maurizio
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
Reply | Threaded
Open this post in threaded view
|

Re: createInvoiceForOrder exception

yh-maurizio
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)
Reply | Threaded
Open this post in threaded view
|

Re: createInvoiceForOrder exception

Jacopo Cappellato
In reply to this post by yh-maurizio
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

Reply | Threaded
Open this post in threaded view
|

Re: createInvoiceForOrder exception

yh-maurizio
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