Skip to content

Commit 983dbe0

Browse files
author
Ariano Fonseca Ângelo
committed
v4.4.2
- Minor fixes
1 parent 8e1cf04 commit 983dbe0

12 files changed

Lines changed: 561 additions & 472 deletions

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.4.1
6+
Version: 4.4.2
77
Requires at least: 5
88
Tested up to: 5.9.3
99
WC requires at least: 5.8

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,9 @@ The easiest and fastest way is via our live chat on our [website](https://crypta
246246
#### 4.4.1
247247
* Minor fixes
248248

249+
#### 4.4.2
250+
* Minor fixes
251+
249252
### Upgrade Notice
250253
#### 4.3
251254
* Please be sure to enable the PHP extension BCMath before upgrading to this version.

controllers/CryptAPI.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ function init_form_fields()
223223
'title' => __('API Key', 'cryptapi'),
224224
'type' => 'text',
225225
'default' => '',
226-
'description' => __('<strong>NEW: </strong>Insert here your CryptAPI Pro API Key. You can get one here: <a href="https://pro.cryptapi.io/" target="_blank">https://pro.cryptapi.io/</a>. <strong>This field is optional.</strong><br><strong style="color: #f44336;">Notice: </strong>If API permission "Address Override" is not enabled you must set the address in the dashboard otherwise payments may fail.', 'cryptapi')
226+
'description' => __('<strong>NEW: </strong>Insert here your CryptAPI Pro API Key. You can get one here: <a href="https://pro.cryptapi.io/" target="_blank">https://pro.cryptapi.io/</a>. <strong>This field is optional.</strong><br/><strong style="color: #f44336;">Notice: </strong> The API Key permission "address_override" needs to be enabled and addresses must be configured down bellow.', 'cryptapi')
227227
),
228228
'show_branding' => array(
229229
'title' => __('Show CryptAPI branding', 'cryptapi'),
@@ -292,10 +292,10 @@ function init_form_fields()
292292
'type' => 'select',
293293
'default' => 'ammount',
294294
'options' => array(
295-
'without_ammount' => __('Default Without Ammount', 'cryptapi'),
296-
'ammount' => __('Default Ammount', 'cryptapi'),
297-
'hide_ammount' => __('Hide Ammount', 'cryptapi'),
298-
'hide_without_ammount' => __('Hide Without Ammount', 'cryptapi'),
295+
'without_ammount' => __('Default Without Amount', 'cryptapi'),
296+
'ammount' => __('Default Amount', 'cryptapi'),
297+
'hide_ammount' => __('Hide Amount', 'cryptapi'),
298+
'hide_without_ammount' => __('Hide Without Amount', 'cryptapi'),
299299
),
300300
'description' => __('Select how you want to show the QR Code to the user. Either select a default to show first, or hide one of them.', 'cryptapi')
301301
),
@@ -337,7 +337,7 @@ function init_form_fields()
337337
'64800' => __('18 Hours', 'cryptapi'),
338338
'86400' => __('24 Hours', 'cryptapi'),
339339
),
340-
'description' => __("Selects the ammount of time the user has to pay for the order.<br>When this time is over, order will be marked as 'Cancelled' and every paid value will be ignored.<br><strong>Notice:</strong> If the user still sends money to the generated address, value will still be redirected to you.<br><strong style='color: #f44336;'>Warning: </strong>We do not advice more than 1 Hour.", 'cryptapi'),
340+
'description' => __("Selects the amount of time the user has to pay for the order.<br>When this time is over, order will be marked as 'Cancelled' and every paid value will be ignored.<br><strong>Notice:</strong> If the user still sends money to the generated address, value will still be redirected to you.<br><strong style='color: #f44336;'>Warning: </strong>We do not advice more than 1 Hour.", 'cryptapi'),
341341
),
342342
'virtual_complete' => array(
343343
'title' => __('Completed status for virtual products', 'cryptapi'),
@@ -798,7 +798,7 @@ function thankyou_page($order_id)
798798
echo ' active';
799799
}
800800
?>" aria-label="<?php echo __('Show QR Code with value', 'cryptapi'); ?>">
801-
<?php echo __('WITH AMMOUNT', 'cryptapi'); ?>
801+
<?php echo __('WITH AMOUNT', 'cryptapi'); ?>
802802
</button>
803803
</div>
804804
<?php

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.4.1');
3+
define('CRYPTAPI_PLUGIN_VERSION', '4.4.2');
44
define('CRYPTAPI_PLUGIN_PATH', plugin_dir_path(__FILE__));
55
define('CRYPTAPI_PLUGIN_URL', plugin_dir_url(__FILE__));
348 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)