Skip to content

Commit b04aa2f

Browse files
author
arianoangelo
committed
v4.7.5
- Minor fixes
1 parent a717a87 commit b04aa2f

File tree

5 files changed

+16
-4
lines changed

5 files changed

+16
-4
lines changed

CryptAPI.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Plugin Name: CryptAPI Payment Gateway for WooCommerce
44
Plugin URI: https://github.com/cryptapi/woocommerce-cryptapi
55
Description: Accept cryptocurrency payments on your WooCommerce website
6-
Version: 4.7.3
6+
Version: 4.7.5
77
Requires at least: 5
88
Tested up to: 6.1.1
99
WC requires at least: 5.8

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,12 @@ The easiest and fastest way is via our live chat on our [website](https://crypta
315315
#### 4.7.3
316316
* Minor fixes
317317

318+
#### 4.7.4
319+
* Minor fixes
320+
321+
#### 4.7.5
322+
* Minor fixes
323+
318324
### Upgrade Notice
319325
#### 4.3
320326
* Please be sure to enable the PHP extension BCMath before upgrading to this version.

define.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
22

3-
define('CRYPTAPI_PLUGIN_VERSION', '4.7.3');
3+
define('CRYPTAPI_PLUGIN_VERSION', '4.7.5');
44
define('CRYPTAPI_PLUGIN_PATH', plugin_dir_path(__FILE__));
55
define('CRYPTAPI_PLUGIN_URL', plugin_dir_url(__FILE__));

readme.txt

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Contributors: cryptapi
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
55
Tested up to: 6.1.1
6-
Stable tag: 4.7.3
6+
Stable tag: 4.7.5
77
Requires PHP: 7.2
88
WC requires at least: 5.8
99
WC tested up to: 7.4
@@ -324,6 +324,12 @@ The easiest and fastest way is via our live chat on our [website](https://crypta
324324
= 4.7.3 =
325325
* Minor fixes
326326

327+
= 4.7.4 =
328+
* Minor fixes
329+
330+
= 4.7.5 =
331+
* Minor fixes
332+
327333
== Upgrade Notice ==
328334

329335
= 4.3 =

utils/helper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ private static function _request($coin, $endpoint, $params = [], $assoc = false)
289289
try {
290290
$response = json_decode(wp_remote_retrieve_body(wp_remote_get($url)), $assoc);
291291

292-
if ($response->status == 'success') {
292+
if ($response->status == 'success' || !empty($response['btc'])) {
293293
return $response;
294294
}
295295
} catch (Exception $e) {

0 commit comments

Comments
 (0)