On Jul 16, 2009, at 1:08 AM, David E Jones wrote:
My question is why payment is captured when the invoice status is
In-Process? Shouldn't the system look for Invoice Ready status to
capture the payments.
If what I said above is true, I could use the existing artifacts
and do some changes so that system validate against the invoice
status before doing a capture.
Yes, that sounds like the correct way to go. The payment capture
trigger should not do anything if the invoice that triggered it is
not in the Ready status (and perhaps just in that status, ie it
shouldn't do anything in the In-Process status or the received
status or anything.
I haven't dug into the code to see if it is needed to add the option
that Jacopo mentioned. My opinion right now is that the current
behavior is wrong and should be corrected, ie the trigger shouldn't
cause payment capture for an invoice that isn't Ready.
thanks David for looking into it. I do have the same thought to do the
correction to current behavior. I will start looking into it.
Jacopo, Do you have any thoughts with the new field on ProductStore
you mentioned earlier?