From dc194c2017f9934697bd1b0193e806e17d065bf8 Mon Sep 17 00:00:00 2001 From: serhack Date: Thu, 29 Jun 2017 16:44:18 +0200 Subject: [PATCH] Update gateway.php --- monero/gateway.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/monero/gateway.php b/monero/gateway.php index 559c404..559bca6 100644 --- a/monero/gateway.php +++ b/monero/gateway.php @@ -188,7 +188,7 @@ class Monero_Gateway extends WC_Payment_Gateway { $currency = $order->currency; $amount_xmr2 = $this->changeto($amount, $currency); $address = $this->address; - $monero_library = new Monero($this->host, $this->port); + $monero_library = new Monero_Payments($this->host, $this->port); $uri = $monero_library->make_uri($address,$amount_xmr2, '', ''); // Generate a QR code echo " @@ -264,7 +264,7 @@ public function thankyou_page() { public function connect_daemon(){ $host = $this->settings['daemon_host']; $port = $this->settings['daemon_port']; - $monero_library = new Monero($host, $port); + $monero_library = new Monero_Payments($host, $port); if( $monero_library->works() == true){ echo "

Everything works! Congratulations and Welcome aboard Monero.