From bc547194fa6c50aaff6b4e6ccb769b9f486dfeef Mon Sep 17 00:00:00 2001
From: pushuo <229102104@qq.com>
Date: Fri, 26 Aug 2022 15:47:35 +0800
Subject: [PATCH] https://guangdagit.com/beike/beikeshop/issues/197
---
plugins/Stripe/Views/checkout/payment.blade.php | 4 ++--
themes/default/cart/cart.blade.php | 2 +-
themes/default/checkout.blade.php | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/plugins/Stripe/Views/checkout/payment.blade.php b/plugins/Stripe/Views/checkout/payment.blade.php
index c3803ea7..690c13ad 100644
--- a/plugins/Stripe/Views/checkout/payment.blade.php
+++ b/plugins/Stripe/Views/checkout/payment.blade.php
@@ -98,10 +98,10 @@
return;
}
- console.log(this.form);
-
$http.post(`/plugin/stripe/capture`, this.form).then((res) => {
+ layer.msg(res.message)
console.log(res)
+ location = "{{ shop_route('account.order.show', ['number' => $order->number]) }}"
})
});
}
diff --git a/themes/default/cart/cart.blade.php b/themes/default/cart/cart.blade.php
index e47175ed..795c39a9 100644
--- a/themes/default/cart/cart.blade.php
+++ b/themes/default/cart/cart.blade.php
@@ -13,7 +13,7 @@