Skip to content

Commit 2ffde77

Browse files
committed
v1.1.6
- Minor improvements
1 parent c8146d8 commit 2ffde77

File tree

5 files changed

+23
-11
lines changed

5 files changed

+23
-11
lines changed

BlockBee.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
Plugin Name: BlockBee Cryptocurrency Payment Gateway
44
Plugin URI: https://blockbee.io/resources/woocommerce/
55
Description: Accept cryptocurrency payments on your WooCommerce website
6-
Version: 1.1.5
6+
Version: 1.1.6
77
Requires at least: 5.8
88
Tested up to: 6.5.3
99
WC requires at least: 5.8
10-
WC tested up to: 8.9.1
10+
WC tested up to: 9.0.1
1111
Requires PHP: 7.2
1212
Author: BlockBee
1313
Author URI: https://blockbee.io/

README.md

+3
Original file line numberDiff line numberDiff line change
@@ -235,4 +235,7 @@ The easiest and fastest way is via our live chat on our [website](https://blockb
235235
#### 1.1.5
236236
* Minor fixes and improvements.
237237

238+
#### 1.1.6
239+
* Minor improvements
240+
238241
### Upgrade Notice

controllers/BlockBee.php

+12-6
Original file line numberDiff line numberDiff line change
@@ -67,16 +67,22 @@ function reset_load_coins() {
6767
function load_coins()
6868
{
6969
$transient = get_transient('blockbee_coins');
70+
7071
if (!empty($transient)) {
71-
return $transient;
72+
$coins = $transient;
73+
} else {
74+
$coins = BlockBee\Helper::get_supported_coins();
75+
set_transient('blockbee_coins', $coins, 86400);
76+
77+
if (empty($coins)) {
78+
throw new Exception(__('No cryptocurrencies available at the moment. Please choose a different payment method or try again later.', 'blockbee-cryptocurrency-payment-gateway'));
79+
}
7280
}
7381

74-
$coins = BlockBee\Helper::get_supported_coins();
75-
set_transient('blockbee_coins', $coins, 86400);
82+
$coins['eth']['name'] = $coins['eth']['name'] . ' (ERC20)';
7683

77-
if (empty($coins)) {
78-
throw new Exception(__('No cryptocurrencies available at the moment. Please choose a different payment method or try again later.', 'blockbee-cryptocurrency-payment-gateway'));
79-
}
84+
# Disabling XMR since it is not supported anymore.
85+
unset($coins['xmr']);
8086

8187
return $coins;
8288
}

define.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
22

3-
define('BLOCKBEE_PLUGIN_VERSION', '1.1.5');
3+
define('BLOCKBEE_PLUGIN_VERSION', '1.1.6');
44
define('BLOCKBEE_PLUGIN_PATH', plugin_dir_path(__FILE__));
55
define('BLOCKBEE_PLUGIN_URL', plugin_dir_url(__FILE__));

readme.txt

+5-2
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ Contributors: blockbee
33
Tags: crypto payments, woocommerce, payment gateway, crypto, payment, pay with crypto, payment request, bitcoin, bnb, usdt, ethereum, monero, litecoin, bitcoin cash, shib, doge
44
Requires at least: 5.8
55
Tested up to: 6.5.3
6-
Stable tag: 1.1.5
6+
Stable tag: 1.1.6
77
Requires PHP: 7.2
88
WC requires at least: 5.8
9-
WC tested up to: 8.9.1
9+
WC tested up to: 9.0.1
1010
License: MIT
1111

1212
Accept cryptocurrency payments on your WooCommerce website
@@ -247,4 +247,7 @@ The easiest and fastest way is via our live chat on our [website](https://blockb
247247
= 1.1.5 =
248248
* Minor fixes and improvements.
249249

250+
= 1.1.6 =
251+
* Minor improvements
252+
250253
== Upgrade Notice ==

0 commit comments

Comments
 (0)