Event fired 2 times with custom order status

Created on 19 March 2024, 3 months ago
Updated 26 June 2024, 3 days ago

Problem/Motivation

Hello, I have custom order status for my order workflow :

 states:
    draft:
      label: Draft
    processing:
      label: Processing
    pending:
      label: Pending
    shipped:
      label: Shipped
    completed:
      label: Completed
    canceled:
      label: Canceled
    refunded:
      label: Refunded

And I want to send email when status change. I did some email but every custom event is sent 2 times.

I tried to debug, and I figure out that `onRequest()` is fired 2 times and I don't know why. Do you have any clue ?

🐛 Bug report
Status

Fixed

Version

1.3

Component

Code

Created by

🇨🇦Canada darkjeff

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024