Tests passing

This commit is contained in:
Sebastian Rindom committed 2020-08-05 15:26:00 +02:00
1 parent 21bc096b2e
commit ee93256e69
17 files changed
+311 -245

No files matched your search

@@ -13,11 +13,6 @@ class CartSubscriber {
this.eventBus_.subscribe("cart.customer_updated", async (cart) => {
await this.onCustomerUpdated(cart)
})
this.eventBus_.subscribe("order.completed", async (order) => {
const paymentData = order.payment_method.data
await this.stripeProviderService_.capturePayment(paymentData)
})
}
async onCustomerUpdated(cart) {