payerurl/binance-and-crypto-checkout

Binance and crypto payment gateway

Maintainers

Package info

github.com/muhitmonsur/binance-and-crypto-checkout

Type:package

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

Statistics

Installs: 3

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

1.0.3 2026-02-23 15:21 UTC

This package is auto-updated.

Last update: 2026-03-31 13:22:19 UTC


README

Latest Stable Version Total Downloads License

Banner

πŸš€ Introduction

Binance & Crypto Checkout for Laravel is a secure cryptocurrency payment gateway powered by Payerurl.

It enables merchants to accept crypto payments directly into their wallets without intermediaries.

Customers never leave your Laravel checkout page.

πŸ’³ Supported Payment Methods

  • Binance QR Code
  • Binance Pay
  • USDT (TRC20 / ERC20)
  • USDC (ERC20)
  • Bitcoin (BTC)
  • Ethereum (ETH ERC20)

🌍 Key Features

  • βœ… 169+ Fiat Currency Support (USD, EUR, GBP, CAD, BDT, etc.)
  • βœ… Real-Time Exchange Rate Conversion
  • βœ… Direct Wallet Settlement
  • βœ… No KYC Required (Basic Accounts)
  • βœ… Secure API Verification
  • βœ… Instant Order Status Update
  • βœ… 100% Free & Open Source
  • βœ… Laravel 8, 9, 10, 11 Compatible
  • βœ… 24/7 Telegram Support

πŸ”— Live Demo

πŸ‘‰ Laravel Binance QR and Crypto payment | Payerurl

πŸ“¦ Installation

composer require payerurl/binance-and-crypto-checkout

βš™οΈPublish Configuration

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

πŸ”‘ 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

πŸ’³ 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',
    'notify_url'   => 'https://yourdomain.com/api/payment-notify',
    'cancel_url'   => 'https://yourdomain.com/checkout'
];

πŸ§ͺ Example Controller Integration

use Payerurl\Payerurl;

public function pay()
{
    $invoiceId = 'INV-1001';
    $amount = 1000; // $10.00
    $currency = 'usd';

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

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

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

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

πŸ”” Webhook (Payment Notify) Example

Add route:

Route::post('/payment-notify', [PaymentController::class, 'notify'])->name('payment.notify');

πŸ”„ API Response

βœ… Success

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

❌ Error

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

πŸ” Security

  • βœ… Secure server-to-server API communication
  • βœ… Callback verification
  • βœ… API key authentication
  • βœ… No sensitive customer data stored

πŸ–Ό Screenshots

🧾 License

This package is open-sourced software licensed under the MIT License.

πŸ“ž Support

🌐 Website: https://payerurl.com

πŸ“ž Telegram: https://t.me/Payerurl

πŸ“§ Email: support@payerurl.com