payerurl/binance-and-crypto-checkout 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

payerurl/binance-and-crypto-checkout

最新稳定版本:1.0.3

Composer 安装命令:

composer require payerurl/binance-and-crypto-checkout

包简介

Binance and crypto payment gateway

README 文档

README

Latest Stable Version Total Downloads License

Banner

Introduction

Our Laravel-based Binance and Crypto Checkout solution is powered by Payerurl. This robust payment processor enables merchants and website owners to receive cryptocurrency payments directly into their personal wallets, eliminating the need for intermediary accounts. By supporting Binance QR code payments, we offer a seamless checkout experience that keeps users on your site throughout the entire transaction.

Binance QR Code Payment

This package is the ideal solution for developers seeking a secure Binance payment integration for Laravel. Binance Pay is a contactless, borderless, and highly secure payment method. By using this package , you can accept payments via Binance QR codes and process transactions through the Binance personal account API.

The projects serves as a seamless bridge between Binance and your laravel application. Customers simply scan the generated QR code on your checkout page to finish the transaction. This process is:

  • Fast and Simple: No complex redirects or external logins for the user.
  • Cost-Effective: Incurs no network fees or additional hidden costs.
  • Secure: Enhanced security protocols help avoid scams and ensure transaction safety.

💳 Supported Payment Methods

  • Binance QR Code payment
  • USDT (TRC20 / ERC20 / BEP20)
  • USDC (BEP20 / 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

📞 Contact US

🌐 Website: https://payerurl.com

📞 Telegram: https://t.me/Payerurl (live chat)

📧 Email: support@payerurl.com

🔗 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; // $1000.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

✅ payment request

[
    '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 (live chat)

📧 Email: support@payerurl.com

统计信息

  • 总下载量: 13
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 4
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-02-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固