wip
This commit is contained in:
@@ -34,18 +34,6 @@ class OnlinePaymentController extends Controller
|
||||
/** @var \App\Modules\VisaMasterPaymentOrder\Models\VisaMasterPaymentOrderItem */
|
||||
$resource = $data['resource'];
|
||||
|
||||
if ($data['success'] && $paymentHistory && is_array($paymentHistory->api_response)) {
|
||||
info(OnlinePaymentRepo::syncWithBilling(
|
||||
uuid: $paymentHistory->orderId,
|
||||
bank_code: $bank->unique_code,
|
||||
terminal_id: $paymentHistory->api_response['terminalId'],
|
||||
account_number: $resource->parent->sender_datas[0]['deposit_account'],
|
||||
rrn: $paymentHistory->api_response['authRefNum'],
|
||||
amount: $resource->tmt_payment_amount,
|
||||
pay_purpose: $resource->created_at->translatedFormat('F').' '.$resource->created_at->format('Y'),
|
||||
));
|
||||
}
|
||||
|
||||
return view(OnlinePaymentRepo::statusView(), $data);
|
||||
}
|
||||
|
||||
@@ -65,12 +53,6 @@ class OnlinePaymentController extends Controller
|
||||
/** @var \App\Modules\SberPaymentOrder\Models\SberPaymentOrderItem */
|
||||
$resource = $data['resource'];
|
||||
|
||||
$response = $data['response'];
|
||||
|
||||
// if ($data['success'] && $paymentHistory) {
|
||||
// $this->runActions($paymentHistory, $bank, $response, $resource);
|
||||
// }
|
||||
|
||||
return view(OnlinePaymentRepo::statusView(), $data);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user