payerurl / binance-and-crypto-checkout
Binance and crypto payment gateway
Package info
github.com/muhitmonsur/binance-and-crypto-checkout
Type:package
pkg:composer/payerurl/binance-and-crypto-checkout
Requires
- php: ^7.0|^8.0
- laravel/framework: ^7.0|^8.0|^9.0|^10.0|^11.0|^12.0
This package is auto-updated.
Last update: 2026-05-23 03:54:45 UTC
README
๐ช Binance & Crypto Payment Gateway for Laravel
Accept Bitcoin, USDT, USDC, ETH, and Binance payments directly into your wallet โ no middleman, no merchant account, no KYC required.
Powered by PayerURL โ the direct-to-wallet crypto payment processor for Laravel developers.
๐ด LIVE DEMO | ๐ Get API Key | ๐ฌ Telegram Support
โ 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)
- Sign up at dash.payerurl.com
- Go to Dashboard โ Get API Credentials
- 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 = 'INV-1001'; $amount = 1000; // $1000.00 $currency = 'usd'; $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); if ($response['status']) { return redirect($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 namepayerurl.notify). You do not need to passnotify_urlin$data.
๐ฒ How the Binance QR Payment Works
- Your Laravel app calls the API and gets a payment URL
- Customer is redirected to a secure hosted checkout page
- Customer scans the QR code with their Binance app
- Payment is confirmed and funds land directly in your wallet
- Your
notify_urlreceives 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
webmiddleware group on this route, exclude CSRF for the webhook inbootstrap/app.phporVerifyCsrfMiddleware(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.'
]
๐ Compared to Other Payment Solutions
| PayerURL (This Package) | Stripe / PayPal | Coinbase Commerce | |
|---|---|---|---|
| No merchant account | โ | โ | โ |
| Direct to your wallet | โ | โ | Partial |
| No KYC required | โ (Basic) | โ | โ |
| Binance QR support | โ | โ | โ |
| Laravel SDK | โ | โ | โ |
| 169+ fiat currencies | โ | Partial | โ |
| Zero platform fees | โ | โ | โ |
๐ก๏ธ Security & Privacy
- โ Payments go directly to your wallet โ PayerURL never holds your funds
- โ No mandatory KYC for basic accounts
- โ Secure server-to-server API communication
- โ Callback verification built into the package
- โ API key authentication with HMAC signature
- โ No sensitive customer data stored
- โ MIT licensed โ fully open source, audit it yourself
๐ 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 via Event/Listener
- โ 100% Free & Open Source
- โ Laravel 8, 9, 10, 11 Compatible
- โ 24/7 Telegram Support
โ FAQ
Do I need a Binance merchant account? No. The package works with a standard personal Binance account. You can start accepting Binance QR code payments immediately without any business verification.
Is there a transaction fee? No network or hidden fees from PayerURL. Standard blockchain network fees may apply depending on the coin and network chosen by the customer.
Can I use this without KYC? Yes. Basic accounts can receive and process crypto payments without mandatory identity verification.
Does this work with Laravel API / REST endpoints? Yes โ it's a standard Laravel package that integrates with any controller, API resource, or Livewire component.
How do I handle the webhook in Laravel?
The package auto-registers the webhook route. Listen for the PaymentNotifySuccess event in your EventServiceProvider โ no manual route setup needed.
๐ผ Screenshots
๐ฌ 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 accept crypto laravel crypto checkout laravel binance qr code laravel trc20 payment erc20 payment no kyc payment gateway direct wallet payment crypto invoice laravel binance pay api payerurl laravel sdk laravel crypto gateway






