diff --git a/cryptobox.callback.php b/cryptobox.callback.php
index cb162a0..23cdff3 100644
--- a/cryptobox.callback.php
+++ b/cryptobox.callback.php
@@ -11,7 +11,7 @@
* @copyright 2014-2017 Delta Consultants
* @category Libraries
* @website https://gourl.io
- * @version 1.7.9
+ * @version 1.7.10
*
*
* This file processes call-backs from Cryptocoin Payment Box server when new payment
@@ -113,6 +113,6 @@
$box_status = "Only POST Data Allowed";
- echo $box_status; // don't delete it
+ echo $box_status; // don't delete it
?>
\ No newline at end of file
diff --git a/cryptobox.class.php b/cryptobox.class.php
index fc31a2b..acb2e08 100644
--- a/cryptobox.class.php
+++ b/cryptobox.class.php
@@ -15,7 +15,7 @@
* @example https://gourl.io/bitcoin-payment-gateway-api.html
* @gitHub https://github.com/cryptoapi/Payment-Gateway
* @license Free GPLv2
- * @version 1.7.9
+ * @version 1.7.10
*
*
* CLASS CRYPTOBOX - LIST OF METHODS:
@@ -66,7 +66,7 @@
elseif (!defined('ABSPATH')) exit; // Wordpress
-define("CRYPTOBOX_VERSION", "1.7.9");
+define("CRYPTOBOX_VERSION", "1.7.10");
// GoUrl supported crypto currencies
define("CRYPTOBOX_COINS", json_encode(array('bitcoin', 'litecoin', 'paycoin', 'dogecoin', 'dash', 'speedcoin', 'reddcoin', 'potcoin', 'feathercoin', 'vertcoin', 'vericoin', 'peercoin', 'monetaryunit', 'swiscoin')));
@@ -1196,7 +1196,23 @@ function run_sql($sql)
"msg_received2" => "%coinName% Captcha hat %amountPaid% %coinLabel% erfolgreich erhalten !",
"payment" => "Zahlungmethode auswählen",
"pay_in" => "Zahlung in %coinName%"),
-
+
+ "nl" => array("name" => "Dutch",
+ "button" => "Klik hier als je al %coinNames% hebt verstuurd",
+ "msg_not_received" => "%coinNames% zijn nog niet ontvangen.
Als je al %coinNames% verstuurd hebt, (het exacte bedrag in %coinName% staat in het vak hieronder), wacht dan a.u.b. een paar minuten tot ze ontvangen zijn door het %coinName% Betaal Systeem. Als u een ander bedrag verstuurd, zal de transactie worden genegeerd, u zult dan alsnog het correcte bedrag moeten overmaken of contact opnemen met de site beheerder voor verdere assistentie.",
+ "msg_received" => "%coinName% Betaal Systeem heeft %amountPaid% %coinLabel% succesvol ontvangen !",
+ "msg_received2" => "%coinName% Captcha Systeem heeft %amountPaid% %coinLabel% succesvol ontvangen !",
+ "payment" => "Kies uw betaalmethode",
+ "pay_in" => "Betaling in %coinName%"),
+
+ "it" => array("name" => "Italian",
+ "button" => "Clicca qui se hai già inviato i %coinNames%",
+ "msg_not_received" => "%coinNames% non sono ancora stati ricevuti.
Se hai già inviato i %coinNames% (l’esatta somma di %coinName% in un unico pagamento, come mostrato nel riquadro sottostante), si prega di attendere qualche minuto perché il sistema di pagamaneto di riceva. Se si invia qualsiasi altra somma, il sistema di pagamento ignorerà la transazione e sarà necessario inviare di nuovo la somma corretta, oppure contattare il supporto del sito.",
+ "msg_received" => "Il sistema di pagamento %coinName% ha ricevuto %amountPaid% %coinLabel% con successo !",
+ "msg_received2" => "Il %coinName% Captcha ha ricevuto %amountPaid% %coinLabel% con successo !",
+ "payment" => "Seleziona metodo di pagamento",
+ "pay_in" => "Pagamento in %coinName%"),
+
"ru" => array("name" => "Russian",
"button" => "Нажмите здесь если вы уже послали %coinNames%",
"msg_not_received" => "%coinNames% не получены ещё.
Если вы уже послали %coinNames% (точную сумму %coinName% одним платежём как показано ниже), пожалуйста подождите несколько минут для получения их %coinName% платёжной системой. Если вы послали любую другую сумму, платёжная система будет игнорировать это и вам нужно будет послать правильную сумму опять, или свяжитесь с владельцем сайта для помощи",
@@ -1213,14 +1229,6 @@ function run_sql($sql)
"payment" => "Wybierz metodę płatnośći",
"pay_in" => "Płatność w %coinName%"),
- "nl" => array("name" => "Dutch",
- "button" => "Klik hier als je al %coinNames% hebt verstuurd",
- "msg_not_received" => "%coinNames% zijn nog niet ontvangen.
Als je al %coinNames% verstuurd hebt, (het exacte bedrag in %coinName% staat in het vak hieronder), wacht dan a.u.b. een paar minuten tot ze ontvangen zijn door het %coinName% Betaal Systeem. Als u een ander bedrag verstuurd, zal de transactie worden genegeerd, u zult dan alsnog het correcte bedrag moeten overmaken of contact opnemen met de site beheerder voor verdere assistentie.",
- "msg_received" => "%coinName% Betaal Systeem heeft %amountPaid% %coinLabel% succesvol ontvangen !",
- "msg_received2" => "%coinName% Captcha Systeem heeft %amountPaid% %coinLabel% succesvol ontvangen !",
- "payment" => "Kies uw betaalmethode",
- "pay_in" => "Betaling in %coinName%"),
-
"pt" => array("name" => "Portuguese",
"button" => "Se ja enviou %coinNames% clique aqui",
"msg_not_received" => "Os %coinNames% ainda não foram recebidos.
Se já enviou %coinNames% (a soma exata de %coinName% num só pagamento, como mostrado na caixa abaixo), por favor, espere alguns minutos para o sistema de pagamentos %coinName% os receber. Se enviar qualquer outro montante, o sistema de pagamentos irá ignorar a transação e terá que enviar a soma correta novamente; ou entre em contato com o proprietário do site para assistência.",
@@ -1303,6 +1311,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);
}
?>
\ No newline at end of file
diff --git a/cryptobox.js b/cryptobox.js
index 6e3c6d4..7ad16f3 100644
--- a/cryptobox.js
+++ b/cryptobox.js
@@ -11,7 +11,7 @@
* @category Javascript
* @website https://gourl.io
* @api https://gourl.io/api.html
- * @version 1.7.9
+ * @version 1.7.10
*
*/
@@ -22,10 +22,11 @@
return c.substring(nameEQ.length,c.length); } return '';
}
- function cryptobox_show(boxID, coinName, public_key, amount, amountUSD, period, language, iframeID, userID, userFormat, orderID, cookieName, webdev_key, hash, width, height)
+ function cryptobox_show(boxID, coinName, public_key, amount, amountUSD, period, language, iframeID, userID, userFormat, orderID, cookieName, webdev_key, hash, width, height, json)
{
if (typeof width !== 'number') width = 0;
if (typeof height !== 'number') height = 0;
+ if (typeof json !== 'number') json = 0;
var id = public_key.substr(0, public_key.indexOf("AA"));
if (id == '' || boxID != id || public_key.indexOf("PUB") == -1) alert('Invalid payment box public_key');
@@ -53,7 +54,9 @@
(webdev_key?'/w/'+encodeURIComponent(webdev_key):'')+
(width>0?'/ws/'+encodeURIComponent(width):'')+
(height>0?'/hs/'+encodeURIComponent(height):'')+
- '/h/'+encodeURIComponent(hash)+'/z/'+Math.random();
+ '/h/'+encodeURIComponent(hash);
+ if (json > 0) url += '/json/'+json;
+ url += '/z/'+Math.random();
var html = document.getElementById(iframeID);
if (html == null) alert('Cryptobox iframeID HTML with id "' + iframeID + '" not exist!');
else html.src = url;
@@ -61,10 +64,10 @@
return true;
}
-
+
function cryptobox_msghide (id)
{
- setTimeout(function(){ document.getElementById(id).style.display='none';}, 15000 );
+ setTimeout(function(){ document.getElementById(id).style.display='none';}, 15000 );
}
diff --git a/cryptobox.min.js b/cryptobox.min.js
index 35fcc75..0b07b34 100644
--- a/cryptobox.min.js
+++ b/cryptobox.min.js
@@ -4,14 +4,14 @@
* ##########################################
*
*
- * Cryptocoin Payment Box Javascript
+ * Cryptocoin Payment Box Javascript
*
* @package GoUrl Bitcoin/Altcoin Payment Box and Crypto Captcha
* @copyright 2014-2017 Delta Consultants
* @category Javascript
* @website https://gourl.io
* @api https://gourl.io/api.html
- * @version 1.7.9
+ * @version 1.7.10
*
*/
diff --git a/history.txt b/history.txt
index e02ef54..383e025 100644
--- a/history.txt
+++ b/history.txt
@@ -1,5 +1,13 @@
===============================================================================
-== Version 1.7.9 (December, 2016)
+== Version 1.7.10 (February 2017)
+===============================================================================
+
+- Added Italian Language (Thanks to Lorenzo)
+
+
+
+===============================================================================
+== Version 1.7.9 (December 2016)
===============================================================================
- Added Swiscoin (coins voting https://gourl.io/coin-voting.html)
@@ -7,7 +15,7 @@
===============================================================================
-== Version 1.7.8 (November, 2016)
+== Version 1.7.8 (November 2016)
===============================================================================
- Added Japanese Language (Thanks to Takiko)
@@ -19,7 +27,7 @@
===============================================================================
-== Version 1.7.7 (May, 2016)
+== Version 1.7.7 (May 2016)
===============================================================================
- Added Korean Language (Thanks to Arthur)
@@ -29,7 +37,7 @@
===============================================================================
-== Version 1.7.6 (March, 2016)
+== Version 1.7.6 (March 2016)
===============================================================================
- Added Portuguese Language (Thanks to Miguel)
@@ -39,7 +47,7 @@
===============================================================================
-== Version 1.7.5 (January, 2016)
+== Version 1.7.5 (January 2016)
===============================================================================
- Added German Language (Thanks to Sebastian, Julius)
@@ -51,7 +59,7 @@
===============================================================================
-== Version 1.7.4 (December, 2015)
+== Version 1.7.4 (December 2015)
===============================================================================
- Added Dutch Language (Thanks to Erik)
diff --git a/readme.md b/readme.md
index 22832b9..4492278 100644
--- a/readme.md
+++ b/readme.md
@@ -2,7 +2,7 @@
GoUrl.io Cryptocoin Payment Gateway API
-----------------------------------------
-Version 1.7.9
+Version 1.7.10
**Accept Bitcoin, Litecoin, Paycoin, Dogecoin, Dash, Speedcoin, Reddcoin, Potcoin, Feathercoin, Vertcoin, Vericoin, Peercoin, MonetaryUnit, Swiscoin Payments Online on your website**
@@ -25,7 +25,7 @@ Our Payment Gateway with Instant Checkout allows you to easily organise your web
* Direct Integration on your website (iframe), no external payment pages opens (as other payment gateways offer)
* User will see successful payment result typically within 5 seconds after the payment has been sent
* Your website users and visitors will see GoUrl payment box on your website in their own native languages
-* Our Payment Gateway supports the following interface languages: [English](https://gourl.io/bitcoin-payment-gateway-api.html?gourlcryptolang=en#gourlcryptolang), [Spanish](https://gourl.io/bitcoin-payment-gateway-api.html?gourlcryptolang=es#gourlcryptolang), [French](https://gourl.io/bitcoin-payment-gateway-api.html?gourlcryptolang=fr#gourlcryptolang), [German](https://gourl.io/bitcoin-payment-gateway-api.html?gourlcryptolang=de#gourlcryptolang), [Russian](https://gourl.io/bitcoin-payment-gateway-api.html?gourlcryptolang=ru#gourlcryptolang), [Polish](https://gourl.io/bitcoin-payment-gateway-api.html?gourlcryptolang=pl#gourlcryptolang), [Dutch](https://gourl.io/bitcoin-payment-gateway-api.html?gourlcryptolang=nl#gourlcryptolang), [Portuguese](https://gourl.io/bitcoin-payment-gateway-api.html?gourlcryptolang=pt#gourlcryptolang), [Persian](https://gourl.io/bitcoin-payment-gateway-api.html?gourlcryptolang=fa#gourlcryptolang), [Korean](https://gourl.io/bitcoin-payment-gateway-api.html?gourlcryptolang=ko#gourlcryptolang), [Japanese](https://gourl.io/bitcoin-payment-gateway-api.html?gourlcryptolang=ja#gourlcryptolang), [Indonesian](https://gourl.io/bitcoin-payment-gateway-api.html?gourlcryptolang=id#gourlcryptolang), [Arabic](https://gourl.io/bitcoin-payment-gateway-api.html?gourlcryptolang=ar#gourlcryptolang), [Simplified Chinese](https://gourl.io/bitcoin-payment-gateway-api.html?gourlcryptolang=cn#gourlcryptolang), [Traditional Chinese](https://gourl.io/bitcoin-payment-gateway-api.html?gourlcryptolang=zh#gourlcryptolang), [Hindi](https://gourl.io/bitcoin-payment-gateway-api.html?gourlcryptolang=hi#gourlcryptolang). We can also add any new language to payment system on [request](https://gourl.io/api-php.html#lan)
+* Our Payment Gateway supports the following interface languages: [English](https://gourl.io/bitcoin-payment-gateway-api.html?gourlcryptolang=en#gourlcryptolang), [Spanish](https://gourl.io/bitcoin-payment-gateway-api.html?gourlcryptolang=es#gourlcryptolang), [French](https://gourl.io/bitcoin-payment-gateway-api.html?gourlcryptolang=fr#gourlcryptolang), [German](https://gourl.io/bitcoin-payment-gateway-api.html?gourlcryptolang=de#gourlcryptolang), [Dutch](https://gourl.io/bitcoin-payment-gateway-api.html?gourlcryptolang=nl#gourlcryptolang), [Italian](https://gourl.io/bitcoin-payment-gateway-api.html?gourlcryptolang=it#gourlcryptolang), [Russian](https://gourl.io/bitcoin-payment-gateway-api.html?gourlcryptolang=ru#gourlcryptolang), [Polish](https://gourl.io/bitcoin-payment-gateway-api.html?gourlcryptolang=pl#gourlcryptolang), [Portuguese](https://gourl.io/bitcoin-payment-gateway-api.html?gourlcryptolang=pt#gourlcryptolang), [Persian](https://gourl.io/bitcoin-payment-gateway-api.html?gourlcryptolang=fa#gourlcryptolang), [Korean](https://gourl.io/bitcoin-payment-gateway-api.html?gourlcryptolang=ko#gourlcryptolang), [Japanese](https://gourl.io/bitcoin-payment-gateway-api.html?gourlcryptolang=ja#gourlcryptolang), [Indonesian](https://gourl.io/bitcoin-payment-gateway-api.html?gourlcryptolang=id#gourlcryptolang), [Arabic](https://gourl.io/bitcoin-payment-gateway-api.html?gourlcryptolang=ar#gourlcryptolang), [Simplified Chinese](https://gourl.io/bitcoin-payment-gateway-api.html?gourlcryptolang=cn#gourlcryptolang), [Traditional Chinese](https://gourl.io/bitcoin-payment-gateway-api.html?gourlcryptolang=zh#gourlcryptolang), [Hindi](https://gourl.io/bitcoin-payment-gateway-api.html?gourlcryptolang=hi#gourlcryptolang). We can also add any new language to payment system on [request](https://gourl.io/api-php.html#lan)
* [Affiliate Program for Web Developers](https://gourl.io/affiliates.html) - Earn 0.50% Lifetime from each cryptocoin payment made by users through GoUrl Payment Gateway
* Global, Anonymous, Secure, Zero Risk, No Chargebacks, No visitor registration is needed.
* GoUrl Bitcoin Official [Wordpress Plugin](https://gourl.io/bitcoin-wordpress-plugin.html) - easy to use on your website
@@ -203,5 +203,5 @@ PHP Examples / Live Demo :
* **Pay-Per-Registration**: Example7 - [multiple crypto](http://gourl.io/lib/examples/pay-per-registration-multi.php), Example8 - [bitcoin](http://gourl.io/lib/examples/pay-per-registration.php)
* **Pay-Per-Page-Access**: Example19 - [multiple crypto](http://gourl.io/lib/examples/pay-per-page-multi.php), Example10 - [bitcoin](http://gourl.io/lib/examples/pay-per-page.php)
* **Pay-Per-Membership**: Example11 - [multiple crypto](http://gourl.io/lib/examples/pay-per-membership-multi.php), Example12 - [bitcoin](http://gourl.io/lib/examples/pay-per-membership.php)
-
+
\ No newline at end of file