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
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -223,7 +223,7 @@ function init_form_fields()
223
223
'title' => __('API Key', 'cryptapi'),
224
224
'type' => 'text',
225
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>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')
'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'),
299
299
),
300
300
'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')
301
301
),
@@ -337,7 +337,7 @@ function init_form_fields()
337
337
'64800' => __('18 Hours', 'cryptapi'),
338
338
'86400' => __('24 Hours', 'cryptapi'),
339
339
),
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'),
341
341
),
342
342
'virtual_complete' => array(
343
343
'title' => __('Completed status for virtual products', 'cryptapi'),
@@ -798,7 +798,7 @@ function thankyou_page($order_id)
798
798
echo' active';
799
799
}
800
800
?>" aria-label="<?phpecho__('Show QR Code with value', 'cryptapi'); ?>">
0 commit comments