3 replies [Last post]
IT Guy 3000's picture
Offline
Joined: 05/11/2009
Juice: 121
Was this information Helpful?

Should firing of conditional actions related to sending of order status update emails show up in the order's log?

Trying to confirm that emails are being sent as expected in the default CA setup in 2.x, particularly when the order status becomes "Completed" after capture of prior-authorized funds.

torgosPizza's picture
Offline
Bug FinderEarly adopter... addicted to alphas.Getting busy with the Ubercode.
Joined: 08/14/2007
Juice: 4110
Re: Easy question on Conditional Actions

No, I don't believe those actions are logged in the order log at all (whether the log itself or the comments). You might have to add a line of code to the actual CA "action" to test if the email was successfully sent..

I know that in the default setup, the emails were set to send when a customer completes checkout, but due to race conditions I found that it wasn't always consistently accurate. I did have to set it to trigger of "order status is updated" and the condition was "status is completed", but that appears to be what you've done. Also, make sure you've got it checking the "updated order" and not the "original order" as the original order's status may be Pending, In Checkout, etc.

--
Help directly fund development: Donate via PayPal!

IT Guy 3000's picture
Offline
Joined: 05/11/2009
Juice: 121
Re: Re: Easy question on Conditional Actions

Thanks for the info, tP. Can you clarify what you mean by checking the "updated order" versus the "original order" and what that might look like?

torgosPizza's picture
Offline
Bug FinderEarly adopter... addicted to alphas.Getting busy with the Ubercode.
Joined: 08/14/2007
Juice: 4110
Re: Re: Re: Easy question on Conditional Actions

Yeah, whenever you add a Condition, there is a field called "Arguments". For the order status conditions, you'll have 2, Original order and Updated order. You can choose which one you want to be examined for the condition.

For example, if you want to see that an order status was updated from

--
Help directly fund development: Donate via PayPal!