This commit is contained in:
nurmuhammet committed 2024-11-23 17:19:25 +05:00
1 parent 2aa8bf9869
commit d8f847346b
7 files changed
+51 -19

No files matched your search

+3 -3
View File
@@ -156,7 +156,7 @@ public static function statusView(): string
return 'orders.cards.online-payment.status';
}
public static function checkPayment(Request $request)
public static function checkPaymentVisaMaster(Request $request)
{
// Find order from history
$paymentHistory = OnlinePaymentHistory::where('orderId', $request->orderId)->first();
@@ -208,8 +208,8 @@ public static function checkPayment(Request $request)
'title' => $payment_status ? __('Payment is successful') : __('Payment has failed'),
'pnr' => $paymentHistory->orderNumber,
'branch_name' => $bank_branch->name,
'price_amount' => convertToOriginalFormat($paymentHistory->amount) . ' TMT',
'return_url' => url('/work-place/resources/nova-visa-master-payment-orders/' . $resource->visa_master_payment_order_id),
'price_amount' => convertToOriginalFormat($paymentHistory->amount).' TMT',
'return_url' => url('/work-place/resources/nova-visa-master-payment-orders/'.$resource->visa_master_payment_order_id),
];
}