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
if (!$this->payments) $this->record_errors[] = sprintf(__("You must choose at least one payment method. Please enter your GoUrl Public/Private Keys on <a href='%s'>settings page</a>. Instruction <a href='%s'>here »</a>", GOURL), GOURL_ADMIN.GOURL.'settings#gourlcurrencyconverterapi_key', GOURL_ADMIN.GOURL."#i3");
1618
+
$this->record_errors[] = sprintf( __("Field 'PaymentBox Coin' - payments in %s not available. Please re-save record", GOURL), $this->coin_names[$this->record["defCoin"]]);
if (!$this->payments) $this->record_errors[] = sprintf(__("You must choose at least one payment method. Please enter your GoUrl Public/Private Keys on <a href='%s'>settings page</a>. Instruction <a href='%s'>here »</a>", GOURL), GOURL_ADMIN.GOURL.'settings#gourlcurrencyconverterapi_key', GOURL_ADMIN.GOURL."#i3");
2466
+
$this->record_errors[] = sprintf( __("Field 'PaymentBox Coin' - payments in %s not available. Please click on 'Save Settings' button", GOURL), $this->coin_names[$this->options2["ppvCoin"]]);
2467
+
}
2462
2468
elseif ($this->options2["ppvPriceCoin"] != 0 && $this->options2["ppvCoin"] != $this->options2["ppvPriceLabel"]) $this->record_errors[] = sprintf(__("Field 'PaymentBox Coin' - please select '%s' because you have entered price in %s", GOURL), $this->coin_names[$this->options2["ppvPriceLabel"]], $this->coin_names[$this->options2["ppvPriceLabel"]]);
2463
2469
2464
2470
if ($this->options2["ppvPriceCoin"] != 0 && !$this->options2["ppvOneCoin"]) $this->record_errors[] = sprintf(__("Field 'Use Default Coin Only' - check it because you have entered price in %s. Please use price in USD if you want to accept multiple coins", GOURL), $this->coin_names[$this->options2["ppvPriceLabel"]]);
@@ -2807,7 +2813,7 @@ public function is_premium_payperview_user ($full = true)
if (!$this->payments) $this->record_errors[] = sprintf(__("You must choose at least one payment method. Please enter your GoUrl Public/Private Keys on <a href='%s'>settings page</a>. Instruction <a href='%s'>here »</a>", GOURL), GOURL_ADMIN.GOURL.'settings#gourlcurrencyconverterapi_key', GOURL_ADMIN.GOURL."#i3");
3321
+
$this->record_errors[] = sprintf( __("Field 'PaymentBox Coin' - payments in %s not available. Please click on 'Save Settings' button", GOURL), $this->coin_names[$this->options3["ppmCoin"]]);
3322
+
}
3281
3323
elseif ($this->options3["ppmPriceCoin"] != 0 && $this->options3["ppmCoin"] != $this->options3["ppmPriceLabel"]) $this->record_errors[] = sprintf(__("Field 'PaymentBox Coin' - please select '%s' because you have entered price in %s", GOURL), $this->coin_names[$this->options3["ppmPriceLabel"]], $this->coin_names[$this->options3["ppmPriceLabel"]]);
3282
3324
3283
3325
if ($this->options3["ppmPriceCoin"] != 0 && !$this->options3["ppmOneCoin"]) $this->record_errors[] = sprintf(__("Field 'Use Default Coin Only' - check it because you have entered price in %s. Please use price in USD if you want to accept multiple coins", GOURL), $this->coin_names[$this->options3["ppmPriceLabel"]]);
if (!$this->payments) $this->record_errors[] = sprintf(__("You must choose at least one payment method. Please enter your GoUrl Public/Private Keys on <a href='%s'>settings page</a>. Instruction <a href='%s'>here »</a>", GOURL), GOURL_ADMIN.GOURL.'settings#gourlcurrencyconverterapi_key', GOURL_ADMIN.GOURL."#i3");
4411
+
$this->record_errors[] = sprintf( __("Field 'PaymentBox Coin' - payments in %s not available. Please re-save record", GOURL), $this->coin_names[$this->record["defCoin"]]);
4412
+
}
4344
4413
elseif ($this->record["priceCoin"] != 0 && $this->record["defCoin"] != $this->record["priceLabel"]) $this->record_errors[] = sprintf(__("Field 'PaymentBox Coin' - please select '%s' because you have entered price in %s", GOURL), $this->coin_names[$this->record["priceLabel"]], $this->coin_names[$this->record["priceLabel"]]);
4345
4414
4346
4415
if ($this->record["emailUser"])
@@ -4851,7 +4920,7 @@ public function shortcode_product($arr, $preview_final = false)
4851
4920
global$wpdb, $current_user;
4852
4921
4853
4922
// not available activated coins
4854
-
if (!$this->payments) return"";
4923
+
if (!$this->payments) { $html = $this->display_error_nokeys(); return$html; }
4855
4924
4856
4925
if (!isset($arr["id"]) || !intval($arr["id"])) return'<div>'.sprintf(__('Invalid format. Use %s', GOURL), '  ['.GOURL_TAG_PRODUCT.' id="..id.."]').'</div>';
4857
4926
@@ -4943,7 +5012,7 @@ public function shortcode_product($arr, $preview_final = false)
@@ -6064,7 +6133,7 @@ public function cryptopayments ($pluginName, $amount, $amountLabel = "USD", $ord
6064
6133
if ($userID && $userID != "guest" && (!is_numeric($userID) || preg_replace('/[^0-9]/', '', $userID) != $userID)) returnarray("error" => sprintf(__("Error. Invalid User ID - %s. Allowed numeric values or 'guest' value", GOURL), $userID));
6065
6134
if (!$userID) returnarray("error" => __("Error.", GOURL).__("You need first to login or register on the website to make Bitcoin/Altcoin Payments", GOURL));
6066
6135
6067
-
if (!$this->payments) returnarray("error" => __("Error. Please try a different payment method. GoUrl Bitcoin Plugin not configured - need setup payment box keys on GoUrl Bitcoin Gateway Options page", GOURL));
6136
+
if (!$this->payments) returnarray("error" => __("Error. Please try a different payment method. GoUrl.io Bitcoin plugin is not configured yet. Need to setup GoUrl Public/Private Keys on plugin settings page. Please contact the website administrator.", GOURL));
0 commit comments