wip
This commit is contained in:
@@ -298,6 +298,13 @@ class OnlinePaymentRepository
|
||||
*/
|
||||
public function paymentStatusView(array $data): View
|
||||
{
|
||||
return view('module.online-payment::payment-status', compact('data'));
|
||||
return view('module.online-payment::payment-status', [
|
||||
'success' => $data['success'],
|
||||
'title' => __('Payment has failed'),
|
||||
'pnr' => $data['paymentHistory']->orderNumber,
|
||||
'branch_name' => $data['bank_branch']->name,
|
||||
'price_amount' => $data['paymentHistory']->amount.' TMT',
|
||||
'return_url' => $data['returnURL'],
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user