PHP code example of towoju5 / advcash

1. Go to this page and download the library: Download towoju5/advcash library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

towoju5 / advcash example snippets


static setSuccessRoute(string $route_url): void
static setStatusRoute(string $route_url): void
static setFailRoute(string $route_url): void

$formHtml = Advcash::createBitcoinRequest(float $amount, string $order_id): string
AdvcashApi::sendMoney(float $amount, 'EUR', string $email, string $note, false): string
$xslt
php artisan vendor:publish --provider="Codemenco\Advcash\AdvcashServiceProvider"
text
Codemenco\Advcash\Events\AdvcashPaymentIncome (AdvcashConfirmResponse $payment)
Codemenco\Advcash\Events\AdvcashPaymentCancel (array $payment)
Codemenco\Advcash\Events\AdvcashPaymentStatus (AdvcashConfirmResponse $payment)