• Resolved johnboy85

    (@johnboy85)


    For some reason the settings > general > save button triggers the “order updated” webhook. The same thing also happens when I send a test email. This involves any previous completed order I choose in the dropdown menu within the email customizer.

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter johnboy85

    (@johnboy85)

    Another issue I found is if I have a previous completed order selected and then start selecting different email templates it will also trigger the “order updated” woocommerce webhook.

    Plugin Support Bruce

    (@ninjateamwp)

    Hi @johnboy85 ,

    Thanks for coming today!

    Do you mean, when you are sending “Test” but then choosing a recent sample order. Then your customer would also get a real live email?

    Kind regards,
    -Bruce-

    Thread Starter johnboy85

    (@johnboy85)

    For example, instead of choosing the sample order there is a drop down menu where I can choose an actual previously completed order to use as a reference in the customizer. For some reason your plugin seems to be messing with the order status of the previous order that I choose for the customizer which in turn is triggering the Woocommerce api involving the “order updated” webhook.

    Multiple events are triggering this within the customizer which I mentioned above. The customizer should not have any impact on an order status. Not sure why this is the case.

    Plugin Support Bruce

    (@ninjateamwp)

    Hi @johnboy85 ,

    What exactly do you mean by having an impact to trigger webhooks?

    Does it send out actual completed order email to the real customer chosen for the test case?

    Can you record and send a screencast showing the issue scenario?

    Kind regards,
    -Bruce-

    Thread Starter johnboy85

    (@johnboy85)

    No, it doesn’t send an email to the customer but it does trigger the “order updated” webhook as if the order status was just updated to “completed”. In other words, it’s tiggering the webhook as if the same order just re-occured. I am assuming code within the plugin is causing the selected order, within the customizer, to update it’s status which in turn is triggering my webhook.

    I’ll try to get a screencast of the issue later today.

    Plugin Support Bruce

    (@ninjateamwp)

    Hi @johnboy85 ,

    Ok, please take your time and get back when convenient!

    But, please note that we will visualize and appreciate the issue when you record screencast not screenshot.

    Thank you.

    Kind regards,
    -Bruce-

    Thread Starter johnboy85

    (@johnboy85)

    Hello,

    I won’t be able to capture it with a screencast but I can tell you how to replicate the issue.

    Create a webhook within the Woocommerce advanced tab. Set the webhook topic to “order updated”. If you have an automation service that you use you will need to link the Delivery URL to that. Examples are Zapier or Intergromat/Make, etc. Enter the api secret key and set the api version to v3.

    Have the automation set up for order completed. An easy module to configure would be a gmail module. Anything that’s easy to setup where you can see that the webook event has been triggered. The gmail module would send you guys an email when it’s triggered.

    Once everything is setup try using the email customizer and you’ll see that it triggers the webhook to fire, which it shouldn’t. For example if you set up the gmail module like I suggested you’ll start receiving multiple emails because the webhook is being constantly triggered.

    As a reminder this is what I found tiggers it:
    Settings > general > save button triggers the “order updated” webhook. The same thing also happens when I send a test email. This involves any previous completed order I choose in the dropdown menu within the email customizer.

    Plugin Support Bruce

    (@ninjateamwp)

    Hi @johnboy85 ,

    Thanks for the effort!

    I am so sorry, I know you have seen something, but unfortunately, it is difficult for us to acknowledge.

    You would be much helpful if you could help us visualize the issue by recording a short screencast showing the whole case scenario and sending over.

    You can try loom.com for screencast.

    Thank you.

    Kind regards,
    -Bruce-

    Thread Starter johnboy85

    (@johnboy85)

    I prefer not to post the screencast publicly. Can I send it to you directly?

    Plugin Author YayCommerce

    (@yaycommerce)

    @johnboy85 Yes, you can.
    Please use https://yaycommerce.com/support/

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Woocommerce API Issue’ is closed to new replies.