Skip to content

Commit

Permalink
Ver 1.4.7
Browse files Browse the repository at this point in the history
Support Subscriptions
Added "File Url" field in Pay-Per-Download
  • Loading branch information
cryptoapi committed Apr 15, 2018
1 parent 3a84b09 commit ae5d868
Show file tree
Hide file tree
Showing 10 changed files with 755 additions and 659 deletions.
321 changes: 185 additions & 136 deletions gourl.php

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions gourl_wordpress.php
Expand Up @@ -3,7 +3,7 @@
Plugin Name: GoUrl Bitcoin Payment Gateway & Paid Downloads & Membership
Plugin URI: https://gourl.io/bitcoin-wordpress-plugin.html
Description: Official <a href="https://gourl.io">GoUrl.io</a> Bitcoin Payment Gateway for Wordpress. White Label Solution. Provides bitcoin/altcoin payment gateways for - WooCommerce, Paid Memberships Pro, bbPress, Give Donations, Pay-Per-View, Pay-Per-Download, etc. Accept Bitcoin, BitcoinCash, Litecoin, Dash, Dogecoin, etc payments online. No Chargebacks, Global, Secure. All in automatic mode.
Version: 1.4.6
Version: 1.4.7
Author: GoUrl.io
Author URI: https://gourl.io
WC requires at least: 2.1.0
Expand Down Expand Up @@ -33,7 +33,7 @@

DEFINE('GOURL', "gourl");
DEFINE('GOURL_PREVIEW', "gourladmin");
DEFINE('GOURL_VERSION', "1.4.6");
DEFINE('GOURL_VERSION', "1.4.7");
DEFINE('GOURL_ADMIN', admin_url("admin.php?page="));
DEFINE('GOURL_DIR', $dir_arr["basedir"]."/".GOURL.'/');
DEFINE('GOURL_DIR2', $dir_arr["baseurl"]."/".GOURL.'/');
Expand Down
Binary file modified images/img_flogin.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/img_plogin.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/logos/woocommerce_subscriptions.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/url.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions includes/cryptobox.class.php
@@ -1,11 +1,11 @@
<?php
/**
* ##########################################
* ##########################################
* ### PLEASE DO NOT MODIFY THIS FILE ! ###
* ##########################################
*
*
* PHP Cryptocurrency Payment Class
* PHP Cryptocurrency Payment Class
*
* @package GoUrl PHP Bitcoin/Altcoin Payments and Crypto Captcha
* @copyright 2014-2018 Delta Consultants
Expand Down Expand Up @@ -1427,7 +1427,7 @@ public function icrc32($str)
}
private function ua($agent = true)
{
return $_SERVER['REQUEST_SCHEME'] . '://' . $_SERVER["SERVER_NAME"] . (isset($_SERVER["PHP_SELF"])?$_SERVER["PHP_SELF"]:"") . ' | GU ' . (CRYPTOBOX_WORDPRESS?'WORDPRESS':'PHP') . ' ' . CRYPTOBOX_VERSION . ($agent && isset($_SERVER["HTTP_USER_AGENT"])?' | '.$_SERVER["HTTP_USER_AGENT"]:'');
return $_SERVER['REQUEST_SCHEME'] . '://' . $_SERVER["SERVER_NAME"] . (isset($_SERVER["REDIRECT_URL"])?$_SERVER["REDIRECT_URL"]:$_SERVER["PHP_SELF"]) . ' | GU ' . (CRYPTOBOX_WORDPRESS?'WORDPRESS':'PHP') . ' ' . CRYPTOBOX_VERSION . ($agent && isset($_SERVER["HTTP_USER_AGENT"])?' | '.$_SERVER["HTTP_USER_AGENT"]:'');
}
public function ip_address()
{
Expand Down Expand Up @@ -2150,6 +2150,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);
}
?>

0 comments on commit ae5d868

Please sign in to comment.