wip
This commit is contained in:
@@ -25,7 +25,25 @@ class OnlinePaymentController extends Controller
|
||||
{
|
||||
$data = OnlinePaymentRepo::checkPaymentVisaMaster($request);
|
||||
|
||||
// OnlinePaymentRepo::syncWithBilling();
|
||||
/** @var \App\Models\Payment\OnlinePaymentHistory */
|
||||
$paymentHistory = $data['paymentHistory'];
|
||||
|
||||
/** @var \App\Models\Branch\Branch */
|
||||
$bank = $data['bank_branch'];
|
||||
|
||||
info([$paymentHistory->api_response]);
|
||||
|
||||
// if ($data['success'] && $paymentHistory) {
|
||||
// info(OnlinePaymentRepo::syncWithBilling(
|
||||
// uuid: $paymentHistory->orderId,
|
||||
// bank_code: $bank->unique_code,
|
||||
// terminal_id: $paymentHistory->api_response,
|
||||
// account_number:,
|
||||
// rrn,
|
||||
// amount,
|
||||
// pay_purpose:
|
||||
// ));
|
||||
// }
|
||||
|
||||
return view(OnlinePaymentRepo::statusView(), $data);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user