From 7b23e08f60c68b0eca6fbb1eac22e25cf431fc62 Mon Sep 17 00:00:00 2001 From: serhack <27734319+serhack@users.noreply.github.com> Date: Sun, 5 Nov 2017 12:07:30 +0100 Subject: [PATCH] Update monero_payments.php --- monero/include/monero_payments.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/monero/include/monero_payments.php b/monero/include/monero_payments.php index 613e53d..d3cb658 100644 --- a/monero/include/monero_payments.php +++ b/monero/include/monero_payments.php @@ -3,6 +3,7 @@ /* * Main Gateway of Monero using a daemon online * This code isn't for Dark Net Markets, please report them to Authority! + * Authors: Serhack and cryptochangements34 */ @@ -19,7 +20,7 @@ class Monero_Gateway extends WC_Payment_Gateway $this->method_title = __("Monero GateWay", 'monero_gateway'); $this->method_description = __("Monero Payment Gateway Plug-in for WooCommerce. You can find more information about this payment gateway on our website. You'll need a daemon online for your address.", 'monero_gateway'); $this->title = __("Monero Gateway", 'monero_gateway'); - $this->version = "0.21"; + $this->version = "0.3"; // $this->icon = apply_filters('woocommerce_offline_icon', ''); $this->has_fields = false; @@ -270,7 +271,7 @@ class Monero_Gateway extends WC_Payment_Gateway
- +

MONERO PAYMENT

@@ -413,7 +414,7 @@ class Monero_Gateway extends WC_Payment_Gateway public function do_ssl_check() { - if ($this->enabled == "yes" && !$this->settings['onion_service']) { + if ($this->enabled == "yes" && !$this->get_option('onion_service')) { if (get_option('woocommerce_force_ssl_checkout') == "no") { echo "

" . sprintf(__("%s is enabled and WooCommerce is not forcing the SSL certificate on your checkout page. Please ensure that you have a valid SSL certificate and that you are forcing the checkout pages to be secured."), $this->method_title, admin_url('admin.php?page=wc-settings&tab=checkout')) . "

"; }