Skip to content

Binance Smart Chain - BNB Payment Gateway

Notifications You must be signed in to change notification settings

MrCyberSolo/bsc-pay

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BSC Pay (Simple BNB Payment Gateway)

I like to use Binance Smart Chain, do you? You can use my simple payment gateway if you need to get paid with BSC. (Of course, it also supports other ETH networks.)

How Does It Work?

  1. Our system generates a new wallet address for each payment.
  2. Your customer sends BNB to this wallet address.
  3. Cron checks the balance of the wallet and approves the payment. Our system transfers funds from generated wallet address to your payout wallet address after approval.

You can try our demo to understand how it works: https://bg.je/projects/bsc-payment/example_form.php

Prerequisites

  • PHP 7.0+
  • PHP GMP Extension

How to Install?

  • Create a MySQL database.
  • Download this repository and upload files to your web server.
  • Go to your website with a web browser. You will see the installation wizard. Enter the database details and your BSC wallet address. (If you want to use Binance Smart Chain, you don't need to change anything in Network Settings.)

image

  • After the installation, your API key and cron URL will appear on the screen. Set up a cron command that runs every minute and makes a request to the cron URL. Example Cron Command: * * * * * curl {cronUrlAddress}

View API Documentation 🔍

Resources

About

Binance Smart Chain - BNB Payment Gateway

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%