@if (isset($label) && $label != false)
@php
$for_id = preg_replace('/[^A-Za-z0-9\-]/', '', Str::lower($label));
@endphp
<label for="{{ $for_id ?? "" }}">{!! $label ?? "" !!}</label>
@endif
<input type="file" class="{{ $class ?? "" }}" name="{{ $name ?? "" }}" accept="{{ $accept ?? "image/*" }}"
@if (isset($old_files) && $old_files != "")
data-preview-name= "{{ $old_files }}"
@endif
@if (isset($old_files_path) && $old_files_path != "")
data-preview-path="{{ $old_files_path }}"
@endif
{{ $attribute ?? "" }} id="{{ $for_id ?? "" }}">
@if (isset($old_gif) && $old_gif != "" && isset($old_gif_path) && $old_gif_path != "")
<div class="mt-3">
<img src="{{ $old_gif_path . '/' . $old_gif }}" alt="Image Preview" style="max-width: 100%; height: auto;">
</div>
@endif
@error($name ?? false)
<span class="invalid-feedback d-block" role="alert">
<strong>{{ $message }}</strong>
</span>
@enderror
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"
}