You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: controllers/CryptAPI.php
+14-16Lines changed: 14 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -219,12 +219,6 @@ function init_form_fields()
219
219
'default' => '',
220
220
'description' => __('Payment method description that the customer will see on your checkout', 'cryptapi')
221
221
),
222
-
'api_key' => array(
223
-
'title' => __('API Key', 'cryptapi'),
224
-
'type' => 'text',
225
-
'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> The API Key permission "address_override" needs to be enabled and addresses must be configured down bellow.', 'cryptapi')
'label' => __("<b>Attention: This option will disable the price conversion for ALL cryptocurrencies!</b><br/>If you check this, pricing will not be converted from the currency of your shop to the cryptocurrency selected by the user, and users will be requested to pay the same value as shown on your shop, regardless of the cryptocurrency selected", 'cryptapi'),
352
346
'default' => 'no'
353
347
),
348
+
'api_key' => array(
349
+
'title' => __('API Key', 'cryptapi'),
350
+
'type' => 'text',
351
+
'default' => '',
352
+
'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>', 'cryptapi')
353
+
),
354
354
);
355
355
356
356
$coin_description = __('Insert your %s address here. Leave the checkbox unselected if you want to skip this cryptocurrency', 'cryptapi');
@@ -391,19 +391,20 @@ function payment_fields()
391
391
{ ?>
392
392
<div class="form-row form-row-wide">
393
393
<p><?phpecho$this->description; ?></p>
394
+
<div><img src="" </div>
394
395
<ul style="list-style: none outside;">
395
396
<?php
396
397
if (!empty($this->coins) && is_array($this->coins)) {
<?phpecho__('You can setup the addresses in your API Key screen.', 'cryptapi'); ?>
1172
+
<?phpecho__("If you are using CryptAPI Pro you can choose if setting the receiving addresses here bellow or in your CryptAPI Pro settings page.<br/>- In order to set the addresses on plugin settings, you need to select “Address Override” while creating the API key.<br/>- In order to set the addresses on CryptAPI Pro settings, you need to NOT select “Address Override” while creating the API key.", 'cryptapi'); ?>
0 commit comments