<table class="custom-table payment-search-table">
<thead>
<tr>
<th><?php echo e(__("Transaction ID")); ?></th>
<th><?php echo e(__("Payment Type")); ?></th>
<th><?php echo e(__("Amount")); ?></th>
<th><?php echo e(__("Type")); ?></th>
<th><?php echo e(__("Status")); ?></th>
<th></th>
</tr>
</thead>
<tbody>
<?php $__empty_1 = true; $__currentLoopData = $transactions ?? []; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>
<tr>
<td><span><?php echo e($item->trx_id ?? ''); ?></span></td>
<td><span class="text-capitalize"><?php echo e($item->payment_type ?? ''); ?></span></td>
<td><?php echo e(get_amount(@$item->request_amount,@$item->request_currency,2)); ?></td>
<td><?php echo e($item->attribute ?? ''); ?></td>
<td><?php echo e(@$item->stringStatus->value ?? ''); ?></td>
<td>
<a href="<?php echo e(setRoute('admin.payment.logs.details',@$item->trx_id)); ?>" class="btn btn--base btn--primary"><i class="las la-info-circle"></i></a>
</td>
</tr>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>
<?php echo $__env->make('admin.components.alerts.empty',['colspan' => 5], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php endif; ?>
</tbody>
</table><?php /**PATH /home/kueuepay/public_html/resources/views/admin/components/data-table/payment-table.blade.php ENDPATH**/ ?>
Checks the status of a payment.
**Response: SUCCESS (200 OK)**
{
"message": {
"success": [
"Success"
]
},
"data": {
"token": "2zMRmT3KeYT2BWMAyGhqEfuw4tOYOfGXKeyKqehZ8mF1E35hMwE69gPpyo3e",
"trx_id": "CP44657864",
"payer": {
"username": "testuser",
"email": "user@appdevs.net"
}
"status": "Test",
},
"type": "success"
}