Hi Vince,

if you create the payment for the order before the invoice, when the invoice is created the payment should be applied to it.

Jacopo

On Jul 21, 2009, at 6:54 PM, Vince Clark wrote:

I am building an import that connects to another system and imports orders on a daily basis. Payment processing and shipping is handled in the other system so I just need to create the order, a payment, and then ship the order to update inventory and accounting in OFBiz.

I am not sure the best way to handle the payment. I was thinking of creating an OrderPaymentPreference with paymentMethodTypeId = EXT_OFFLINE. There is a service (createPaymentFromPreference) that will then create the payment, although it doesn't seem to complete the proess of actually receiving the payment against the order.

Am I going down the wrong path here?


Vince Clark
[email protected]
(303) 493-6723

Reply via email to