You can install it by running below command in the root folder of Laravel:
composer require codemenco/advcash
By default, receive routes are disabled. You can turn it on through ADVCASH_DEF=true
To put your routes, such methods are available at the facade.
$route_url - A clean link to the page(It is relate to SCI not API).
static setSuccessRoute(string $route_url): void
static setStatusRoute(string $route_url): void
static setFailRoute(string $route_url): void
#SCI
ADVCASH_NAME=
ADVCASH_EMAIL=
ADVCASH_PASS=
#API
ADVCASH_API_NAME=
ADVCASH_API_EMAIL=
ADVCASH_API_PASS=
php artisan vendor:publish --provider="Codemenco\Advcash\AdvcashServiceProvider"
Codemenco\Advcash\Events\AdvcashPaymentIncome (AdvcashConfirmResponse $payment)
Codemenco\Advcash\Events\AdvcashPaymentCancel (array $payment)
Codemenco\Advcash\Events\AdvcashPaymentStatus (AdvcashConfirmResponse $payment)
$formHtml = Advcash::createBitcoinRequest(float $amount, string $order_id): string
AdvcashApi::sendMoney(float $amount, 'EUR', string $email, string $note, false): string