This commit is contained in:
2024-11-23 17:19:25 +05:00
parent 2aa8bf9869
commit d8f847346b
7 changed files with 51 additions and 19 deletions

View File

@@ -156,7 +156,7 @@ class OnlinePaymentRepo
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 @@ class OnlinePaymentRepo
'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),
];
}