Skip to content

Commit

Permalink
Merge pull request #3430 from j-sm-n/add-supported-events-documentati…
Browse files Browse the repository at this point in the history
…on-3414

Add list of events fired by default to Guides/Events
  • Loading branch information
kennyadsl authored Nov 18, 2019
2 parents 90d60c3 + b87e1ab commit fd49d21
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions guides/source/developers/events/overview.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ Among other uses, the Solidus codebase uses events in order to send
confirmation emails when an order is finalized, or again to send emails
when an order is refunded successfully.

Currently, the events fired by default in Solidus are:
* `order_finalized`
* `reimbursement_reimbursed`
* `reimbursement_errored`

Events make extending Solidus with custom behavior easy. For example,
if besides the standard email you also want to send a SMS text message to
the customer when a order is finalized, this pseudo-code may do the trick:
Expand Down

0 comments on commit fd49d21

Please sign in to comment.