From b87e1abd6e61f1fcd96b06f5c256923111bd1542 Mon Sep 17 00:00:00 2001 From: Jasmin Hudacsek Date: Fri, 15 Nov 2019 16:12:53 -0800 Subject: [PATCH] Add list of events fired by default to Guides/Events --- guides/source/developers/events/overview.html.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/guides/source/developers/events/overview.html.md b/guides/source/developers/events/overview.html.md index 9f48ee09b16..5e31b718689 100644 --- a/guides/source/developers/events/overview.html.md +++ b/guides/source/developers/events/overview.html.md @@ -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: