update: payment service

This commit is contained in:
tokumeikoi
2021-05-26 01:38:57 +09:00
parent 4ea71d85be
commit 02a1728bff
3 changed files with 9 additions and 3 deletions

View File

@ -20,7 +20,7 @@ class PaymentController extends Controller
if (!$this->handle($verify['trade_no'], $verify['callback_no'])) {
abort(500, 'handle error');
}
die('success');
die(isset($paymentService->customResult) ? $paymentService->customResult : 'success');
} catch (\Exception $e) {
abort(500, 'fail');
}