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 @@ -
+
@include('shared.steps', ['steps' => 1])
diff --git a/themes/default/checkout.blade.php b/themes/default/checkout.blade.php index e34787ac..0a111aed 100644 --- a/themes/default/checkout.blade.php +++ b/themes/default/checkout.blade.php @@ -13,7 +13,7 @@ -
+
@include('shared.steps', ['steps' => 2])