/home/kueuepay/public_html/resources/views/developer/pages/check-payment-status.blade.php
@extends('developer.layouts.master')

@section('content')
<div class="developer-body-wrapper">
    <div class="developer-main-wrapper">
        <h1 class="heading-title mb-20">{{ __("Check Payment Status") }}</h1>
        <p>{{ __("Checks the status of a payment.") }}</p>
        <pre class="prettyprint mt-0" style="white-space: normal;">
            <span class="code-show-list">
                <br>**Response: SUCCESS (200 OK)**
                <br>{
                <br>&nbsp;"message": {
                <br>&nbsp;"success": [
                <br>&nbsp;&nbsp;"Success"
                <br>&nbsp;]
                <br>},
                <br>"data": {
                <br>&nbsp;"token": "2zMRmT3KeYT2BWMAyGhqEfuw4tOYOfGXKeyKqehZ8mF1E35hMwE69gPpyo3e",
                <br>&nbsp;"trx_id": "CP44657864",
                <br>&nbsp;"payer": {
                <br>&nbsp;&nbsp;"username": "testuser",
                <br>&nbsp;&nbsp;"email": "user@appdevs.net"
                <br>&nbsp;}
                <br>&nbsp;"status": "Test",
                <br>},
                <br>"type": "success"
                <br>}
            </span>
        </pre>
    </div>
    <div class="page-change-area">
        <div class="navigation-wrapper">
            <a href="{{ setRoute('frontend.developer.initiate.payment') }}" class="left"><i class="las la-arrow-left me-1"></i> {{ __("Initiate Payment") }}</a>
            <a href="{{ setRoute('frontend.developer.response.code') }}" class="right">{{ __("Response Codes") }} <i class="las la-arrow-right ms-1"></i></a>
        </div>
    </div>
</div>
@endsection
Best Practice

Best Practices

To ensure a smooth integration process and optimal performance, follow these best practices:

  1. Use secure HTTPS connections for all API requests.
  2. Implement robust error handling to handle potential issues gracefully.
  3. Regularly update your integration to stay current with any API changes or enhancements.