/home/kueuepay/www/vendor/laravel/framework/src/Illuminate/Queue/InvalidPayloadException.php
<?php

namespace Illuminate\Queue;

use InvalidArgumentException;

class InvalidPayloadException extends InvalidArgumentException
{
    /**
     * The value that failed to decode.
     *
     * @var mixed
     */
    public $value;

    /**
     * Create a new exception instance.
     *
     * @param  string|null  $message
     * @param  mixed  $value
     * @return void
     */
    public function __construct($message = null, $value = null)
    {
        parent::__construct($message ?: json_last_error());

        $this->value = $value;
    }
}
Prerequisites

Prerequisites

Before you begin integrating the Kueue Pay Developer API, make sure you have:

  1. An active Kueue Pay merchant account.
  2. Basic knowledge of API integration and web development with PHP & Laravel.
  3. A secure and accessible web server to handle API requests.