@php
if(isset($label)) {
$for_id = preg_replace('/[^A-Za-z0-9\-]/', '', Str::lower($label));
}
@endphp
<label>{{ __("Role") }}*</label>
<div class="radio-form-group">
@if ($options)
@foreach ($options as $item => $input_value)
<div class="radio-wrapper">
<input type="radio" id="{{ $item }}" name="{{ $name ?? "" }}" class="{{ $class ?? "form--control" }}" value="{{ $input_value ?? "" }}"
@if (isset($value) && $value == $input_value)
{{ "checked" }}
@endif
>
<label for="{{ $item }}">{{ $item }}</label>
</div>
@endforeach
@endif
</div>
@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"
}