PHP Payment Integration Powered
by CoinRemitter
The easiest solution to accept cryptocurrency payments on PHP-based platforms. Explore CoinRemitter’s plugin for PHP websites.
PHP
Integrate CoinRemitter In PHP
PHP is a widely-used platform for eCommerce websites. Because of its speed and stability, PHP is a trusted programming language. And because of these reasons, we can see plenty of eCommerce platforms running PHP.
Seeing PHP’s vast applications, we thought of providing a smoothly operating portal for crypto payment integration in PHP websites. Merchants can integrate the PHP crypto payment plugin and directly accept crypto payments from customers on their websites.
Configuration Guide:
You can install the plugin Coinremitter using the composer in your project using:
composer require coinremitterphp/coinremitter-php
Library Usage:
You must have to include a package namespace anywhere if you wish to use this library, such as:
include_once './vendor/autoload.php';
use CoinRemitter\CoinRemitter;
You can control all the library methods by creating a class object such as,
$btcWallet = new CoinRemitter('WALLET_API_KEY','WALLET_PASSWORD');
Get Wallet Balance:
You can get your wallet balance by using the "getBalance" call.
$balance = $btcWallet->getBalance();
It will return either a positive response or an answer to an error if anything goes wrong.
Below you can check the successful response:
{
"success": true,
"data": {
"wallet_id": "6746c765xxxxxxxxxxxxxx",
"wallet_name": "BTC-wallet",
"coin_symbol": "BTC",
"coin": "Bitcoin",
"coin_logo": "https://api.coinremitter.com/assets/images/coins/32x32/BTC.png",
"blockchain_network_name": "Bitcoin Network",
"contract_address": "",
"contract_address_url": "",
"explorer_url": "https://www.blockchain.com/explorer/transactions/btc/",
"chain_id": "",
"remaining_withdraw_limit_24h": "49",
"balance": "1.73000000",
"minimum_deposit_amount": "0.1"
}
}
Over 38,000 merchants are using CoinRemitter
Join them now