I would like to add a custom workflow task
Update Webgistix to an existing workflow. I would like this task to run once an order reaches PAID status. According to the
BV Commerce 5 Manual: Workflows, the
Payment Complete workflow should run when this happens. However, if I add
Update Webgistix to the
Payment Complete workflow it gets run twice for every order. I know this because I have it printing a message to the Audit Log, which appears twice for every order. My only guess is that
Payment Complete gets run twice: Once when
Process New Order workflow is run, and again when the order reaches PAID status.
I have also tried adding the task to the
Process New Order workflow, after the
Run Payment Complete Workflow if Paid task. However, the task runs regardless of whether or not the order reaches PAID status. When testing it on a credit card the fails, the test message still gets printed to the Audit Log.
I would greatly appreciate any insight into what I'm doing wrong here (give a man a fish). I would also be perfectly content if you could point me towards more extensive documentation on the subject, so that I may figure it out for myself (teach a man to fish).