Skip to content

Commit

Permalink
Version 1.8.3
Browse files Browse the repository at this point in the history
Added Universal Currency [UNIT]  - voting winner
https://gourl.io/coin-voting.html#voting
  • Loading branch information
cryptoapi committed Dec 11, 2017
1 parent fc8883c commit 335a2da
Show file tree
Hide file tree
Showing 23 changed files with 63 additions and 55 deletions.
4 changes: 2 additions & 2 deletions COPYING
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Copyright (c) 2014-2017 Delta Consultants
Copyright (c) 2014-2017 GoUrl.io Developers
Copyright (c) 2014-2018 Delta Consultants
Copyright (c) 2014-2018 GoUrl.io Developers

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
4 changes: 2 additions & 2 deletions Examples/example_basic.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
/**
* @category Basic Example
* @package GoUrl Cryptocurrency Payment API
* copyright (c) 2014-2017 Delta Consultants
* @crypto Supported Cryptocoins - Bitcoin, BitcoinCash, Litecoin, Dash, Dogecoin, Speedcoin, Reddcoin, Potcoin, Feathercoin, Vertcoin, Peercoin, MonetaryUnit
* copyright (c) 2014-2018 Delta Consultants
* @crypto Supported Cryptocoins - Bitcoin, BitcoinCash, Litecoin, Dash, Dogecoin, Speedcoin, Reddcoin, Potcoin, Feathercoin, Vertcoin, Peercoin, MonetaryUnit, UniversalCurrency
* @website https://gourl.io/api-php.html
*/
require_once( "../cryptobox.class.php" );
Expand Down
8 changes: 4 additions & 4 deletions Examples/json.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
/**
* @category Example14 - Custom Payment Box (json format; customise your bitcoin/altcoin payment box with your own text / logo)
* @package GoUrl Cryptocurrency Payment API
* copyright (c) 2014-2017 Delta Consultants
* @crypto Supported Cryptocoins - Bitcoin, BitcoinCash, Litecoin, Dash, Dogecoin, Speedcoin, Reddcoin, Potcoin, Feathercoin, Vertcoin, Peercoin, MonetaryUnit
* copyright (c) 2014-2018 Delta Consultants
* @crypto Supported Cryptocoins - Bitcoin, BitcoinCash, Litecoin, Dash, Dogecoin, Speedcoin, Reddcoin, Potcoin, Feathercoin, Vertcoin, Peercoin, MonetaryUnit, UniversalCurrency
* @website https://gourl.io/bitcoin-payment-gateway-api.html#p8
* @live_demo https://gourl.io/lib/examples/json.php
*/
Expand Down Expand Up @@ -155,7 +155,7 @@

<div style='text-align:center;width:100%;height:auto;line-height:50px;background-color:#f1f1f1;border-bottom:1px solid #ddd;color:#49abe9;font-size:18px;'>
14. GoUrl <b>Custom JSON / JQUERY Payment Box</b> Example (<?php echo $coinName; ?> payments). &#160;Use it on your website.
<div style='float:right;'><a style='font-size:15px;color:#389ad8;margin-right:20px' href='https://gourl.io/<?= strtolower($coinName) ?>-payment-gateway-api.html#p8'>Instruction</a><a style='font-size:15px;color:#389ad8;margin-right:20px' href='https://github.com/cryptoapi/Payment-Gateway/blob/master/Examples/json.php'>PHP Source</a><a style='font-size:15px;color:#389ad8;margin-right:20px' href='https://gourl.io/<?= strtolower($coinName) ?>-payment-gateway-api.html'>Other Examples</a></div>
<div style='float:right;'><a style='font-size:15px;color:#389ad8;margin-right:20px' href='https://gourl.io/<?= strtolower($coinName) ?>-payment-gateway-api.html#p8'>Instruction</a><a style='font-size:15px;color:#389ad8;margin-right:20px' href='https://github.com/cryptoapi/Payment-Gateway/blob/master/Examples/json.php'>PHP Source</a><a style='font-size:15px;color:#389ad8;margin-right:20px' href='https://github.com/cryptoapi/Bitcoin-Payment-Gateway-ASP.NET/blob/master/GoUrl/Views/Examples/PayPerJson.cshtml'>ASP.NET Source</a><a style='font-size:15px;color:#389ad8;margin-right:20px' href='https://gourl.io/<?= strtolower($coinName) ?>-payment-gateway-api.html'>Other Examples</a></div>
</div>


Expand Down Expand Up @@ -304,7 +304,7 @@
<h3 class="panel-title">3. <span class="gourl_paymentcaptcha_amount"></span></h3>
</div>
<div class="panel-body">
<span class="gourl_amount"></span> <span class="gourl_coinlabel"></span> + <a class="gourl_texts_fees gourl_fees_hint" href="#"></a>
<span class="gourl_amount"></span> <span class="gourl_coinlabel"></span>

</div>
</div>
Expand Down
6 changes: 3 additions & 3 deletions Examples/pay-per-download-multi.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
/**
* @category Example4 - Pay-Per-Download (payments in multiple cryptocurrencies, you can use original price in USD)
* @package GoUrl Cryptocurrency Payment API
* copyright (c) 2014-2017 Delta Consultants
* @crypto Supported Cryptocoins - Bitcoin, BitcoinCash, Litecoin, Dash, Dogecoin, Speedcoin, Reddcoin, Potcoin, Feathercoin, Vertcoin, Peercoin, MonetaryUnit
* copyright (c) 2014-2018 Delta Consultants
* @crypto Supported Cryptocoins - Bitcoin, BitcoinCash, Litecoin, Dash, Dogecoin, Speedcoin, Reddcoin, Potcoin, Feathercoin, Vertcoin, Peercoin, MonetaryUnit, UniversalCurrency
* @website https://gourl.io/bitcoin-payment-gateway-api.html#p2
* @live_demo https://gourl.io/lib/examples/pay-per-download-multi.php
*/
Expand Down Expand Up @@ -35,7 +35,7 @@

// List of coins that you accept for payments
// For example, for accept payments in bitcoin, bitcoincash, litecoin use - $available_payments = array('bitcoin', 'bitcoincash', 'litecoin');
$available_payments = array('bitcoin', 'bitcoincash', 'litecoin', 'dash', 'dogecoin', 'speedcoin', 'reddcoin', 'potcoin', 'feathercoin', 'vertcoin', 'peercoin', 'monetaryunit');
$available_payments = array('bitcoin', 'bitcoincash', 'litecoin', 'dash', 'dogecoin', 'speedcoin', 'reddcoin', 'potcoin', 'feathercoin', 'vertcoin', 'peercoin', 'monetaryunit', 'universalcurrency');


// Goto https://gourl.io/info/memberarea/My_Account.html
Expand Down
4 changes: 2 additions & 2 deletions Examples/pay-per-download.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
/**
* @category Example3 - Pay-Per-Download (single crypto currency in payment box)
* @package GoUrl Cryptocurrency Payment API
* copyright (c) 2014-2017 Delta Consultants
* @crypto Supported Cryptocoins - Bitcoin, BitcoinCash, Litecoin, Dash, Dogecoin, Speedcoin, Reddcoin, Potcoin, Feathercoin, Vertcoin, Peercoin, MonetaryUnit
* copyright (c) 2014-2018 Delta Consultants
* @crypto Supported Cryptocoins - Bitcoin, BitcoinCash, Litecoin, Dash, Dogecoin, Speedcoin, Reddcoin, Potcoin, Feathercoin, Vertcoin, Peercoin, MonetaryUnit, UniversalCurrency
* @website https://gourl.io/bitcoin-payment-gateway-api.html#p2
* @live_demo https://gourl.io/lib/examples/pay-per-download.php
*/
Expand Down
6 changes: 3 additions & 3 deletions Examples/pay-per-membership-multi.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
/**
* @category Example12 - Pay-Per-Membership (payments in multiple cryptocurrencies, you can use original price in USD)
* @package GoUrl Cryptocurrency Payment API
* copyright (c) 2014-2017 Delta Consultants
* @crypto Supported Cryptocoins - Bitcoin, BitcoinCash, Litecoin, Dash, Dogecoin, Speedcoin, Reddcoin, Potcoin, Feathercoin, Vertcoin, Peercoin, MonetaryUnit
* copyright (c) 2014-2018 Delta Consultants
* @crypto Supported Cryptocoins - Bitcoin, BitcoinCash, Litecoin, Dash, Dogecoin, Speedcoin, Reddcoin, Potcoin, Feathercoin, Vertcoin, Peercoin, MonetaryUnit, UniversalCurrency
* @website https://gourl.io/bitcoin-payment-gateway-api.html#p6
* @live_demo https://gourl.io/lib/examples/pay-per-membership-multi.php
*/
Expand All @@ -28,7 +28,7 @@

// List of coins that you accept for payments
// For example, for accept payments in bitcoin, bitcoincash, litecoin use - $available_payments = array('bitcoin', 'bitcoincash', 'litecoin');
$available_payments = array('bitcoin', 'bitcoincash', 'litecoin', 'dash', 'dogecoin', 'speedcoin', 'reddcoin', 'potcoin', 'feathercoin', 'vertcoin', 'peercoin', 'monetaryunit');
$available_payments = array('bitcoin', 'bitcoincash', 'litecoin', 'dash', 'dogecoin', 'speedcoin', 'reddcoin', 'potcoin', 'feathercoin', 'vertcoin', 'peercoin', 'monetaryunit', 'universalcurrency');


// Goto https://gourl.io/info/memberarea/My_Account.html
Expand Down
4 changes: 2 additions & 2 deletions Examples/pay-per-membership.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
/**
* @category Example11 - Pay-Per-Membership (single crypto currency in payment box)
* @package GoUrl Cryptocurrency Payment API
* copyright (c) 2014-2017 Delta Consultants
* @crypto Supported Cryptocoins - Bitcoin, BitcoinCash, Litecoin, Dash, Dogecoin, Speedcoin, Reddcoin, Potcoin, Feathercoin, Vertcoin, Peercoin, MonetaryUnit
* copyright (c) 2014-2018 Delta Consultants
* @crypto Supported Cryptocoins - Bitcoin, BitcoinCash, Litecoin, Dash, Dogecoin, Speedcoin, Reddcoin, Potcoin, Feathercoin, Vertcoin, Peercoin, MonetaryUnit, UniversalCurrency
* @website https://gourl.io/bitcoin-payment-gateway-api.html#p6
* @live_demo https://gourl.io/lib/examples/pay-per-membership.php
*/
Expand Down
6 changes: 3 additions & 3 deletions Examples/pay-per-page-multi.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
/**
* @category Example10 - Pay-Per-Page Access (payments in multiple cryptocurrencies, you can use original price in USD)
* @package GoUrl Cryptocurrency Payment API
* copyright (c) 2014-2017 Delta Consultants
* @crypto Supported Cryptocoins - Bitcoin, BitcoinCash, Litecoin, Dash, Dogecoin, Speedcoin, Reddcoin, Potcoin, Feathercoin, Vertcoin, Peercoin, MonetaryUnit
* copyright (c) 2014-2018 Delta Consultants
* @crypto Supported Cryptocoins - Bitcoin, BitcoinCash, Litecoin, Dash, Dogecoin, Speedcoin, Reddcoin, Potcoin, Feathercoin, Vertcoin, Peercoin, MonetaryUnit, UniversalCurrency
* @website https://gourl.io/bitcoin-payment-gateway-api.html#p5
* @live_demo https://gourl.io/lib/examples/pay-per-page-multi.php
*/
Expand All @@ -30,7 +30,7 @@

// List of coins that you accept for payments
// For example, for accept payments in bitcoin, bitcoincash, litecoin use - $available_payments = array('bitcoin', 'bitcoincash', 'litecoin');
$available_payments = array('bitcoin', 'bitcoincash', 'litecoin', 'dash', 'dogecoin', 'speedcoin', 'reddcoin', 'potcoin', 'feathercoin', 'vertcoin', 'peercoin', 'monetaryunit');
$available_payments = array('bitcoin', 'bitcoincash', 'litecoin', 'dash', 'dogecoin', 'speedcoin', 'reddcoin', 'potcoin', 'feathercoin', 'vertcoin', 'peercoin', 'monetaryunit', 'universalcurrency');


// Goto https://gourl.io/info/memberarea/My_Account.html
Expand Down
4 changes: 2 additions & 2 deletions Examples/pay-per-page.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
/**
* @category Example9 - Pay-Per-Page Access (single crypto currency in payment box)
* @package GoUrl Cryptocurrency Payment API
* copyright (c) 2014-2017 Delta Consultants
* @crypto Supported Cryptocoins - Bitcoin, BitcoinCash, Litecoin, Dash, Dogecoin, Speedcoin, Reddcoin, Potcoin, Feathercoin, Vertcoin, Peercoin, MonetaryUnit
* copyright (c) 2014-2018 Delta Consultants
* @crypto Supported Cryptocoins - Bitcoin, BitcoinCash, Litecoin, Dash, Dogecoin, Speedcoin, Reddcoin, Potcoin, Feathercoin, Vertcoin, Peercoin, MonetaryUnit, UniversalCurrency
* @website https://gourl.io/bitcoin-payment-gateway-api.html#p5
* @live_demo https://gourl.io/lib/examples/pay-per-page.php
*/
Expand Down
6 changes: 3 additions & 3 deletions Examples/pay-per-post-multi.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
/**
* @category Example6 - Pay-Per-Post (payments in multiple cryptocurrencies, you can use original price in USD)
* @package GoUrl Cryptocurrency Payment API
* copyright (c) 2014-2017 Delta Consultants
* @crypto Supported Cryptocoins - Bitcoin, BitcoinCash, Litecoin, Dash, Dogecoin, Speedcoin, Reddcoin, Potcoin, Feathercoin, Vertcoin, Peercoin, MonetaryUnit
* copyright (c) 2014-2018 Delta Consultants
* @crypto Supported Cryptocoins - Bitcoin, BitcoinCash, Litecoin, Dash, Dogecoin, Speedcoin, Reddcoin, Potcoin, Feathercoin, Vertcoin, Peercoin, MonetaryUnit, UniversalCurrency
* @website https://gourl.io/bitcoin-payment-gateway-api.html#p3
* @live_demo https://gourl.io/lib/examples/pay-per-post-multi.php
*/
Expand All @@ -28,7 +28,7 @@

// List of coins that you accept for payments
// For example, for accept payments in bitcoin, bitcoincash, litecoin use - $available_payments = array('bitcoin', 'bitcoincash', 'litecoin');
$available_payments = array('bitcoin', 'bitcoincash', 'litecoin', 'dash', 'dogecoin', 'speedcoin', 'reddcoin', 'potcoin', 'feathercoin', 'vertcoin', 'peercoin', 'monetaryunit');
$available_payments = array('bitcoin', 'bitcoincash', 'litecoin', 'dash', 'dogecoin', 'speedcoin', 'reddcoin', 'potcoin', 'feathercoin', 'vertcoin', 'peercoin', 'monetaryunit', 'universalcurrency');


// Goto https://gourl.io/info/memberarea/My_Account.html
Expand Down
4 changes: 2 additions & 2 deletions Examples/pay-per-post.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
/**
* @category Example5 - Pay-Per-Post (single crypto currency in payment box)
* @package GoUrl Cryptocurrency Payment API
* copyright (c) 2014-2017 Delta Consultants
* @crypto Supported Cryptocoins - Bitcoin, BitcoinCash, Litecoin, Dash, Dogecoin, Speedcoin, Reddcoin, Potcoin, Feathercoin, Vertcoin, Peercoin, MonetaryUnit
* copyright (c) 2014-2018 Delta Consultants
* @crypto Supported Cryptocoins - Bitcoin, BitcoinCash, Litecoin, Dash, Dogecoin, Speedcoin, Reddcoin, Potcoin, Feathercoin, Vertcoin, Peercoin, MonetaryUnit, UniversalCurrency
* @website https://gourl.io/bitcoin-payment-gateway-api.html#p3
* @live_demo https://gourl.io/lib/examples/pay-per-post.php
*/
Expand Down
6 changes: 3 additions & 3 deletions Examples/pay-per-product-multi.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
/**
* @category Example2 - Pay-Per-Product (payments in multiple cryptocurrencies, you can use original price in USD)
* @package GoUrl Cryptocurrency Payment API
* copyright (c) 2014-2017 Delta Consultants
* @crypto Supported Cryptocoins - Bitcoin, BitcoinCash, Litecoin, Dash, Dogecoin, Speedcoin, Reddcoin, Potcoin, Feathercoin, Vertcoin, Peercoin, MonetaryUnit
* copyright (c) 2014-2018 Delta Consultants
* @crypto Supported Cryptocoins - Bitcoin, BitcoinCash, Litecoin, Dash, Dogecoin, Speedcoin, Reddcoin, Potcoin, Feathercoin, Vertcoin, Peercoin, MonetaryUnit, UniversalCurrency
* @website https://gourl.io/bitcoin-payment-gateway-api.html#p1
* @live_demo https://gourl.io/lib/examples/pay-per-product-multi.php
*/
Expand Down Expand Up @@ -34,7 +34,7 @@

// List of coins that you accept for payments
// For example, for accept payments in bitcoin, bitcoincash, litecoin use - $available_payments = array('bitcoin', 'bitcoincash', 'litecoin');
$available_payments = array('bitcoin', 'bitcoincash', 'litecoin', 'dash', 'dogecoin', 'speedcoin', 'reddcoin', 'potcoin', 'feathercoin', 'vertcoin', 'peercoin', 'monetaryunit');
$available_payments = array('bitcoin', 'bitcoincash', 'litecoin', 'dash', 'dogecoin', 'speedcoin', 'reddcoin', 'potcoin', 'feathercoin', 'vertcoin', 'peercoin', 'monetaryunit', 'universalcurrency');


// Goto https://gourl.io/info/memberarea/My_Account.html
Expand Down
4 changes: 2 additions & 2 deletions Examples/pay-per-product.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
/**
* @category Example1 - Pay-Per-Product (single crypto currency in payment box)
* @package GoUrl Cryptocurrency Payment API
* copyright (c) 2014-2017 Delta Consultants
* @crypto Supported Cryptocoins - Bitcoin, BitcoinCash, Litecoin, Dash, Dogecoin, Speedcoin, Reddcoin, Potcoin, Feathercoin, Vertcoin, Peercoin, MonetaryUnit
* copyright (c) 2014-2018 Delta Consultants
* @crypto Supported Cryptocoins - Bitcoin, BitcoinCash, Litecoin, Dash, Dogecoin, Speedcoin, Reddcoin, Potcoin, Feathercoin, Vertcoin, Peercoin, MonetaryUnit, UniversalCurrency
* @website https://gourl.io/bitcoin-payment-gateway-api.html#p1
* @live_demo https://gourl.io/lib/examples/pay-per-product.php
*/
Expand Down
6 changes: 3 additions & 3 deletions Examples/pay-per-registration-multi.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
/**
* @category Example8 - Pay-Per-Registration (payments in multiple cryptocurrencies, you can use original price in USD)
* @package GoUrl Cryptocurrency Payment API
* copyright (c) 2014-2017 Delta Consultants
* @crypto Supported Cryptocoins - Bitcoin, BitcoinCash, Litecoin, Dash, Dogecoin, Speedcoin, Reddcoin, Potcoin, Feathercoin, Vertcoin, Peercoin, MonetaryUnit
* copyright (c) 2014-2018 Delta Consultants
* @crypto Supported Cryptocoins - Bitcoin, BitcoinCash, Litecoin, Dash, Dogecoin, Speedcoin, Reddcoin, Potcoin, Feathercoin, Vertcoin, Peercoin, MonetaryUnit, UniversalCurrency
* @website https://gourl.io/bitcoin-payment-gateway-api.html#p4
* @live_demo https://gourl.io/lib/examples/pay-per-registration-multi.php
*/
Expand All @@ -28,7 +28,7 @@

// List of coins that you accept for payments
// For example, for accept payments in bitcoin, bitcoincash, litecoin use - $available_payments = array('bitcoin', 'bitcoincash', 'litecoin');
$available_payments = array('bitcoin', 'bitcoincash', 'litecoin', 'dash', 'dogecoin', 'speedcoin', 'reddcoin', 'potcoin', 'feathercoin', 'vertcoin', 'peercoin', 'monetaryunit');
$available_payments = array('bitcoin', 'bitcoincash', 'litecoin', 'dash', 'dogecoin', 'speedcoin', 'reddcoin', 'potcoin', 'feathercoin', 'vertcoin', 'peercoin', 'monetaryunit', 'universalcurrency');


// Goto https://gourl.io/info/memberarea/My_Account.html
Expand Down
4 changes: 2 additions & 2 deletions Examples/pay-per-registration.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
/**
* @category Example7 - Pay-Per-Registration (single crypto currency in payment box)
* @package GoUrl Cryptocurrency Payment API
* copyright (c) 2014-2017 Delta Consultants
* @crypto Supported Cryptocoins - Bitcoin, BitcoinCash, Litecoin, Dash, Dogecoin, Speedcoin, Reddcoin, Potcoin, Feathercoin, Vertcoin, Peercoin, MonetaryUnit
* copyright (c) 2014-2018 Delta Consultants
* @crypto Supported Cryptocoins - Bitcoin, BitcoinCash, Litecoin, Dash, Dogecoin, Speedcoin, Reddcoin, Potcoin, Feathercoin, Vertcoin, Peercoin, MonetaryUnit, UniversalCurrency
* @website https://gourl.io/bitcoin-payment-gateway-api.html#p4
* @live_demo https://gourl.io/lib/examples/pay-per-registration.php
*/
Expand Down
4 changes: 2 additions & 2 deletions cryptobox.callback.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
* Cryptobox Server Callbacks
*
* @package Cryptobox callbacks
* @copyright 2014-2017 Delta Consultants
* @copyright 2014-2018 Delta Consultants
* @category Libraries
* @website https://gourl.io
* @version 1.8.2
* @version 1.8.3
*
*
* This file processes call-backs from Cryptocoin Payment Box server when new payment
Expand Down
10 changes: 5 additions & 5 deletions cryptobox.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@
* PHP Cryptocurrency Payment Class
*
* @package GoUrl PHP Bitcoin/Altcoin Payments and Crypto Captcha
* @copyright 2014-2017 Delta Consultants
* @copyright 2014-2018 Delta Consultants
* @category Libraries
* @website https://gourl.io
* @api https://gourl.io/api-php.html
* @example https://gourl.io/bitcoin-payment-gateway-api.html
* @gitHub https://github.com/cryptoapi/Payment-Gateway
* @license Free GPLv2
* @version 1.8.2
* @version 1.8.3
*
*
* CLASS CRYPTOBOX - LIST OF METHODS:
Expand Down Expand Up @@ -75,10 +75,10 @@
elseif (!defined('ABSPATH')) exit; // Wordpress


define("CRYPTOBOX_VERSION", "1.8.2");
define("CRYPTOBOX_VERSION", "1.8.3");

// GoUrl supported crypto currencies
define("CRYPTOBOX_COINS", json_encode(array('bitcoin', 'bitcoincash', 'litecoin', 'dash', 'dogecoin', 'speedcoin', 'reddcoin', 'potcoin', 'feathercoin', 'vertcoin', 'peercoin', 'monetaryunit')));
define("CRYPTOBOX_COINS", json_encode(array('bitcoin', 'bitcoincash', 'litecoin', 'dash', 'dogecoin', 'speedcoin', 'reddcoin', 'potcoin', 'feathercoin', 'vertcoin', 'peercoin', 'monetaryunit', 'universalcurrency')));


class Cryptobox {
Expand Down Expand Up @@ -1581,6 +1581,6 @@ function run_sql($sql)
foreach ($cryptobox_private_keys as $v)
if (strpos($v, " ") !== false || strpos($v, "PRV") === false || strpos($v, "AA") === false || strpos($v, "77") === false) die("Invalid Private Key - ". (CRYPTOBOX_WORDPRESS ? "please setup it on your plugin settings page" : "$v in variable \$cryptobox_private_keys, file cryptobox.config.php."));

unset($v); unset($cryptobox_private_keys);
unset($v); unset($cryptobox_private_keys);
}
?>
7 changes: 3 additions & 4 deletions cryptobox.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
* Cryptocoin Payment Box Javascript
*
* @package GoUrl Bitcoin/Altcoin Payment Box and Crypto Captcha
* @copyright 2014-2017 Delta Consultants
* @copyright 2014-2018 Delta Consultants
* @category Javascript
* @website https://gourl.io
* @api https://gourl.io/api.html
* @version 1.8.2
* @version 1.8.3
*
*/

Expand Down Expand Up @@ -121,7 +121,6 @@
{
$('.'+ext+'wallet_open').attr('data-original-title', data.texts.btn_wallet).attr('data-placement', 'bottom').attr('data-toggle', 'tooltip').tooltip();
$('.'+ext+'qrcode_image').attr('data-original-title', data.texts.qrcode).attr('data-placement', 'bottom').attr('data-toggle', 'tooltip').tooltip();
$('.'+ext+'fees_hint').attr('data-original-title', '<img border="0" width="320" src="https://coins.gourl.io/images/fees.png" />').attr('data-placement', 'bottom').attr('data-toggle', 'tooltip').tooltip({ html: true });
$('.'+ext+'button_wait').attr('data-original-title', data.texts.btn_wait_hint).attr('data-placement', 'top').attr('data-toggle', 'tooltip').tooltip();
}

Expand Down Expand Up @@ -280,4 +279,4 @@
function cryptobox_msghide (id)
{
setTimeout(function(){ document.getElementById(id).style.display='none';}, 15000 );
}
}
Loading

0 comments on commit 335a2da

Please sign in to comment.