-
Notifications
You must be signed in to change notification settings - Fork 170
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[4.x]: Gateway Events #3224
Labels
Milestone
Comments
Thanks for reporting. This is the same for some other project config based settings. Added this to the list for Commerce 5. Others will include:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What happened?
Description
Events are not currently emitted by
craft\commerce\base\Gateway
orcraft\commerce\services\Gateways
when saving a Gateway’s configuration.Craft typically emits events from the service class when saving Project Config-bound changes (
beforeSave
when modifying values, thenafterSave
in a PC event handler). The model events appear to be less consistently triggered…Steps to reproduce
Expected behavior
craft\commerce\services\Gateways::EVENT_BEFORE_SAVE_GATEWAY
.Actual behavior
No event is triggered.
Originally reported on Discord!
The text was updated successfully, but these errors were encountered: