openn
This commit is contained in:
@@ -34,17 +34,17 @@ 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'),
|
||||
// ));
|
||||
// }
|
||||
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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user