wip
This commit is contained in:
1 parent
4368fe1e4f
commit
e0ceeeb73d
1 file changed
+8
-1
@@ -298,6 +298,13 @@ public function createHistory(): void
|
|||||||
*/
|
*/
|
||||||
public function paymentStatusView(array $data): View
|
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