laravel-shopify icon indicating copy to clipboard operation
laravel-shopify copied to clipboard

Added Event Listener system

Open nahid opened this issue 2 years ago • 0 comments

As I mentioned in PR #1220, I just added some events in the various cases for this package. These feature help developers add more control over this package. Now developers can do anything based on the triggered event by registering their own listener/s, ex: send email/SMS/notification, run job, update DB, or anything else.

By adding this feature will open up the opportunity to add more new features in the future

Events

  • AppInstalledEvent
  • ShopAuthenticatedEvent
  • ShopDeletedEvent
  • AppUninstalledEvent
  • PlanActivatedEvent

Backward compatibility: YES

Breaking change: NO

Deprecation: YES (AfterAuthenticationJob feature will be removed in the next major release)

Doc: Need to update the WIKI after merging this PR with migration guide

nahid avatar Nov 28 '22 15:11 nahid