hook fires on craft\commerce\elements\Order afterSave multiple times
Open
Nobody has claimed this yet.
bug
- Dominant language
- PHP
- Stars
- 84
- Forks
- 12
- PR merge metrics
- No merged PRs in 30d
Description
SenderClass: craft\commerce\elements\Order
Event Name: afterSave
this fires around 9 times on each order. Is there e sureifre class which fires only once on a new order?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing how the webhook integration registers and handles the Craft Commerce Order afterSave event, using the reported SenderClass and event name as entry points. Reproduce an order save and determine why the hook runs repeatedly; done means the behavior is explained and a supported once-only event or documented limitation is established.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100