This commit is contained in:
2025-11-02 17:28:02 +05:00
parent 4368fe1e4f
commit e0ceeeb73d

View File

@@ -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'],
]);
}
}