Adds gift card support

This commit is contained in:
Sebastian Rindom
2020-07-29 11:51:59 +02:00
parent 4c9b876407
commit 630bf3abc6
33 changed files with 722 additions and 128 deletions
@@ -4,6 +4,10 @@ class OrderSubscriber {
this.eventBus_ = eventBusService
this.eventBus_.subscribe("order.gift_card_created", async (order) => {
await this.sendgridService_.transactionalEmail("order.gift_card_created", order)
})
this.eventBus_.subscribe("order.placed", async (order) => {
await this.sendgridService_.transactionalEmail("order.placed", order)
})