• Resolved kostniczka

    (@kostniczka)


    Hello,
    I’ve seen similar topics but none of them seemed to have a proper solution, so I’m creating a new one.

    I am trying to set an email to be sent when order is created, but before user makes a payment.
    I tried to set it up with these two triggers:
    – Order created
    – Order status changed (from “Any” to “Pending payment”)
    but none of them seem to fire.

    What am I doing wrong?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support rzepsen

    (@rzepsen)

    Hello @kostniczka

    Please install plugins in your store which can help us solve the problem you are reporting.

    Query Monitor — this plugin helps you find errors that are not visible at first look, giving you clear messages along with an error path.
    WP Crontrol — with the help of this plugin, you can quickly verify whether the CRON events on your site are working correctly
    WP Mail Logging — ShopMagic saves information about the automations performed and whether they were successful or not, but does not keep data on specific messages. When sending emails, it’s a good idea to have this plugin active — it allows you to verify that emails are going to the expected sender, all placeholders have been processed correctly, and the email headers are as expected by the sender`

    After installing this plugins try to send an email and look what this three plugins tells you. Please send error messages if these occur.

    Kind regards

    Thread Starter kostniczka

    (@kostniczka)

    Hello @rzepsen,

    Thank you for your answer.

    I forgot to say that using your plugin I have managed to set up a follow up email (2 weeks after order) for user to rate the product. That works fine.

    The only problem I have is with these 2 triggers which I mentioned above.

    I’ve installed the plugins you recommended, performed an action which should trigger automations that I’ve set and the only suspicious thin I’ve noticed was in WP Crontrol:

    Unexpected HTTP response code: 401 or 403
    This means an access control restriction such as BasicAuth, a firewall, a security or privacy plugin, some form of password protection, or an .htaccess rule is preventing your server from accessing wp-cron.php.

    This is true – right now we have .htacess password rule as the shop is still in construction. I will check if the error persists if I temporarily remove the password.

    Thread Starter kostniczka

    (@kostniczka)

    Removing password helped for 401 error in WP Crontrol, but did not for triggers ??

    Do you need any specific data from these plugins?

    Plugin Support rzepsen

    (@rzepsen)

    Hello @kostniczka

    I apologize for the delay. Thank you for your patience.

    You wrote:
    I forgot to say that using your plugin I have managed to set up a follow up email (2 weeks after order) for user to rate the product. That works fine.

    This is a pro version plugin feature. We solve problems related to the plugin in the FREE version on this forum. Please report the problem to our official support channel. I would appreciate it if you also send screenshots of the plugin settings, triggers.

    Kind regards

    Plugin Support rzepsen

    (@rzepsen)

    Hello @kostniczka

    As we haven’t got any replies, I’m marking this topic as resolved for now.

    Kind regards

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Order Created, Order status changed triggers do not work’ is closed to new replies.