Tests passing
This commit is contained in:
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) {
|
||||
|
||||
Reference in new issue
Block a user