mirror of
https://github.com/v2board/v2board.git
synced 2024-11-10 17:49:11 +08:00
update
This commit is contained in:
parent
d4a6cf082a
commit
f630504fe9
@ -104,6 +104,6 @@ class OrderController extends Controller
|
|||||||
|
|
||||||
public function stripeReturn (Request $request) {
|
public function stripeReturn (Request $request) {
|
||||||
Log::info('stripeReturnData: ' . json_encode($request->input()));
|
Log::info('stripeReturnData: ' . json_encode($request->input()));
|
||||||
header('Location:' . '/#/dashboard');
|
header('Location:' . config('v2board.app_url', env('APP_URL')) . '/#/dashboard');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -225,7 +225,7 @@ class OrderController extends Controller
|
|||||||
'currency' => 'hkd',
|
'currency' => 'hkd',
|
||||||
'type' => 'alipay',
|
'type' => 'alipay',
|
||||||
'redirect' => [
|
'redirect' => [
|
||||||
'return_url' => config('v2board.app_url', env('APP_URL')) . '/api/v1/guest/order/stripeReturn'
|
'return_url' => url('/api/v1/guest/order/stripeReturn')
|
||||||
]
|
]
|
||||||
]);
|
]);
|
||||||
if (!$source['redirect']['url']) {
|
if (!$source['redirect']['url']) {
|
||||||
@ -250,7 +250,7 @@ class OrderController extends Controller
|
|||||||
'currency' => 'hkd',
|
'currency' => 'hkd',
|
||||||
'type' => 'wechat',
|
'type' => 'wechat',
|
||||||
'redirect' => [
|
'redirect' => [
|
||||||
'return_url' => config('v2board.app_url', env('APP_URL')) . '/api/v1/guest/order/stripeReturn'
|
'return_url' => url('/api/v1/guest/order/stripeReturn')
|
||||||
]
|
]
|
||||||
]);
|
]);
|
||||||
if (!$source['wechat']['qr_code_url']) {
|
if (!$source['wechat']['qr_code_url']) {
|
||||||
|
Loading…
Reference in New Issue
Block a user