Search by

payerurl / binance-and-crypto-checkout

Payerurl

Binance and crypto payment gateway

Package info

github.com/muhitmonsur/binance-crypto-instant-payout-laravel

Type:package

pkg:composer/payerurl/binance-and-crypto-checkout

Statistics

Installs: 404

Dependents: 0

Suggesters: 0

Stars: 2

Open Issues: 0

1.1.1 2026-10-12 16:42 UTC

This package is auto-updated.

Last update: 2026-10-12 16:43:44 UTC


README

Latest Stable Version Total Downloads License

๐Ÿช™ Crypto gateway || Binance API (no merchant account needed) || all instant payout

Laravel SDK to connecting payerurl API .

By using this API Receive customer payments directly and instantly in your crypto wallet. Accept BTC, ETH, USDT, and USDC from customers across all major networks. Accept payment using your binance regular account QR code payment (C2C).

Powered by PayerURL โ€” the direct-to-wallet crypto payment processor for Laravel developers.

๐Ÿ”ด LIVE DEMO | ๐Ÿ”‘ Get API Key | ๐Ÿ’ฌ Telegram Support

Overview

This payment gateway lets customers pay directly on your store's checkout page. Once paid, the order automatically confirms via instant webhooks. Store owners can view complete transaction records in their PayerURL dashboard. PayerURL is safe, secure, and uses real-time exchange rates.

Depending on your PayerURL settings, your checkout offers:

  • Popular Cryptos: Accepts Bitcoin, Ethereum, USDT, and USDC.
  • Major Networks: Works on TRON (TRC20), Ethereum (ERC20), Binance Smart Chain (BEP20), and Bitcoin networks.
  • Binance QR Code: Customers can pay by scanning a QR code with a personal Binance accountโ€”no merchant account needed.
  • Global Currencies: Supports 169+ local currencies with automatic, live conversion to crypto.
  • Card Payments: Options to buy crypto and pay instantly using credit cards, debit cards, Google Pay, or Apple Pay.
  • New Address Per Order: Creates a unique receiving address for every order using XPUB to keep payments private and secure.

โœ… Why Developers Choose This Package

Feature Detail
๐Ÿฆ No merchant account needed Payments go directly to your crypto wallet
๐ŸŒ 169+ fiat currencies USD, EUR, GBP, CAD and more โ€” converted at live rates
โšก 10-minute integration Simple composer install, clear docs, copy-paste code
๐Ÿ”’ No KYC for basic accounts Start accepting payments without identity verification
๐Ÿ“ฑ Binance QR Code payments Customers scan and pay without leaving your app
๐Ÿ’ธ Zero hidden fees No network surcharges or platform fees on the plugin
๐Ÿ› ๏ธ Laravel 8, 9, 10, 11 ready Works with any modern Laravel version

๐Ÿ“ฆ Installation

composer require payerurl/binance-and-crypto-checkout

โš™๏ธ Publish Configuration

php artisan vendor:publish \
  --provider="Payerurl\Providers\AppServiceProvider" \
  --tag=config

๐Ÿ”‘ Get Your API Key (Free)

  1. Sign up at dash.payerurl.com
  2. Go to Dashboard โ†’ Get API Credentials
  3. Copy your Public Key and Secret Key

๐Ÿ‘‰ Registration is free and takes under 2 minutes. No credit card required.

๐Ÿ”‘ Environment Configuration

Add your API credentials to .env:

PAYERURL_PUBLIC_KEY="your_public_key"
PAYERURL_SECRET_KEY="your_secret_key"

Get your API keys from: https://dash.payerurl.com/profile/get-api-credentials

๐Ÿš€ Quick Start (Controller Integration)

use Payerurl\Payerurl;

public function pay()
{
    $invoiceId = 'LRB-' . time();
    $amount    = 1000; // $1000.00
    $currency  = 'usd';

    // $orderItems Is optional
    $orderItems = [
        [
            'name' => str_replace(' ', '_', 'Order item name'), // Replace spaces with '_' , no space allowed
            'qty' => 1,
            'price' => '123',
        ]
    ];

    $data = [
        'first_name'   => 'Alice',
        'last_name'    => 'Smith',
        'email'        => 'alice@example.com',
        'redirect_url' => route('payment.success'),
        'cancel_url'   => route('cart'),
    ];

    $response = Payerurl::payment($invoiceId, $amount, $currency, $data, $orderItems);

    if ($response['status']) {
        return redirect()->away($response['redirectUrl']);
    }

    return back()->with('error', $response['message']);
}

Send the customer to $response['redirectUrl'] โ€” they pay with crypto, you receive it instantly in your wallet.

๐ŸŒ Supported Cryptocurrencies & Networks

Currency Networks
USDT TRC20 (Tron), ERC20 (Ethereum), BEP20 (BSC)
USDC ERC20 (Ethereum), BEP20 (BSC)
Bitcoin (BTC) Bitcoin Network
Ethereum (ETH) ERC20
Binance Pay Binance QR Code

๐Ÿ’ณ Payment Integration

๐Ÿ“Œ Function Signature

payment($invoiceId, $amount, $currency = 'usd', $data)

โœ… Required Parameters

Parameter Type Required Description
$invoiceId string Yes Unique Order ID
$amount int Yes Amount in smallest unit (e.g., cents)
$currency string No Default: usd
$data array Yes Customer & URL information

๐Ÿ“ฆ $data Array Structure

$data = [
    'first_name'   => 'John',
    'last_name'    => 'Doe',
    'email'        => 'john@example.com',
    'redirect_url' => 'https://yourdomain.com/payment-success',
    'cancel_url'   => 'https://yourdomain.com/checkout',
];

The package registers a webhook route automatically (POST /payerurl/notify, route name payerurl.notify). You do not need to pass notify_url in $data.

๐Ÿ“ฒ How the Binance QR Payment Works

  1. Your Laravel app calls the API and gets a payment URL
  2. Customer is redirected to a secure hosted checkout page
  3. Customer scans the QR code with their Binance app
  4. Payment is confirmed and funds land directly in your wallet
  5. Your notify_url receives a webhook with the order status update

No bank accounts. No intermediaries. No waiting.

๐Ÿ”” Webhook (Payment Notify)

After payment, Payerurl POSTs to the package endpoint automatically:

  • URL: POST {APP_URL}/payerurl/notify
  • Route name: payerurl.notify

Verification (public key, signature, order fields) is handled by the package. On successful payment (status_code 200), it fires Payerurl\Events\PaymentNotifySuccess.

Listen in app/Providers/EventServiceProvider.php:

use Payerurl\Events\PaymentNotifySuccess;

protected $listen = [
    PaymentNotifySuccess::class => [
        \App\Listeners\UpdateOrderOnPayerurlPayment::class,
    ],
];

Example listener:

public function handle(PaymentNotifySuccess $event): void
{
    $orderId = $event->payload['order_id'];
    // Update your order status here
}

If your app uses the web middleware group on this route, exclude CSRF for the webhook in bootstrap/app.php or VerifyCsrfMiddleware (payerurl/notify).

Optional logging: set PAYERURL_LOG_NOTIFICATIONS=true in .env.

๐Ÿ“Š Full Payment Flow Diagram

Your Laravel App โ†’ PayerURL API โ†’ Checkout Page โ†’ Customer Pays (Binance/Crypto)
                                                            โ†“
Your Wallet โ† Funds (instant) โ† Payment Verified โ† Blockchain
                                                            โ†“
              Your notify_url โ† Webhook (order status update)

๐Ÿ”„ API Response

โœ… Successful Payment Request

[
    'status'      => true,
    'redirectUrl' => 'https://dash.payerurl.com/payment/WP112XXXXX'
]

โŒ Error Response

[
    'status'  => false,
    'message' => 'Something went wrong. Please try again.'
]

๐Ÿ›’ Description

This SDK, powered by PayerURL, is a non-custodial crypto payment gateway that connects WooCommerce directly to your wallets. Payments receive in your wallet instantly, with no middlemen.

With XPUB (Extended Public Key) support, the plugin can rotate through unlimited receiving addresses. This suits high-volume stores, crypto exchanges, and enterprise merchants.

โš™๏ธ How It Works

  1. The customer picks a cryptocurrency at checkout.
  2. Your fiat price (USD, EUR, GBP, JPY, CAD, AUD and 160+ more) is converted at the live exchange rate.
  3. The customer pays on-chain or with Binance Pay.
  4. Once the payment is confirmed, funds are credited instantly to your wallet.
  5. The WooCommerce order moves to Processing automatically through the API webhook. No manual steps are needed.

๐ŸŒ Supported Cryptocurrencies

Currency Network / Method Notes
Bitcoin (BTC) Bitcoin The world's #1 cryptocurrency
Ethereum (ETH) ERC20 Leading smart-contract blockchain
USDT TRC20 (TRON) Ultra-low fees
USDT ERC20 (Ethereum) Tether on Ethereum
USDC ERC20 (Ethereum) Trusted stablecoin
Binance QR Code Scan-to-pay Contactless
TON The Open Network
XPUB addresses HD wallet Auto-rotating, unlimited transactions

โœจ Key Features

Feature Detail
๐Ÿ”‘ XPUB integration A unique address is generated for every order, for mass-volume transactions
๐Ÿ”— 10+ crypto networks BTC, ETH, USDT (TRC20/ERC20), USDC (ERC20), Binance Pay, Binance QR, TON and more
๐Ÿ’ฑ 169+ fiat currencies USD, EUR, GBP, JPY, CAD, AUD, INR and more, at real-time rates
๐Ÿฆ Non-custodial & trustless Funds go straight to your wallet. We never hold your crypto
๐Ÿ†“ No KYC No identity verification on the Basic (free) plan
๐Ÿšซ No bank account needed Accept crypto with no traditional banking setup
๐Ÿ’ณ Buy crypto with card or bank Customers can pay with Visa, Mastercard, credit/debit card or bank transfer. It is auto-converted to crypto for you
โณ Pay Later Flexible payment timing for customers
โž— Auto partial-payment handling Order is marked Processing when โ‰ฅ 90% of the payment is received
๐Ÿท๏ธ Crypto discounts Offer crypto-specific discounts to encourage on-chain payments
๐Ÿ“ˆ Live exchange rate Real-time crypto/fiat conversion at checkout
๐Ÿงฑ WooCommerce Blocks compatible Fully supports the modern checkout blocks
๐Ÿš€ HPOS compatible Ready for WooCommerce High-Performance Order Storage
๐ŸŒ 5 languages English, Spanish, Russian, Arabic and Portuguese
โšก Easy API key setup One-click credential check and save
๐Ÿ“– Free & open source No hidden fees on the plugin itself

๐Ÿ–ผ Screenshots

Screenshot 1 Screenshot 2 Screenshot 4 Screenshot 5 Screenshot 6 Screenshot 7 Screenshot 8

๐Ÿ“ฌ Support

Channel Link
๐Ÿ’ฌ Telegram t.me/Payerurl
๐ŸŒ Website payerurl.com
๐Ÿ“ง Email support@payerurl.com
๐Ÿ“Š Dashboard dash.payerurl.com
๐Ÿ”ด Live Demo payerurl.com

๐Ÿงพ License

MIT License โ€” free for personal and commercial use.

๐Ÿท๏ธ Keywords

crypto payment bitcoin payment laravel binance payment gateway usdt payment laravel usdc payment laravel crypto checkout laravel binance qr code laravel binance pay api laravel crypto gateway best crypto payment gateway fiat to crypto payment gateway cryptocurrency payment gateway