Skip to content

Commit

Permalink
Update monero.php
Browse files Browse the repository at this point in the history
  • Loading branch information
serhack authored Mar 28, 2018
1 parent 8565cc2 commit 7046b5f
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions catalog/controller/extension/payment/monero.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ class ControllerExtensionPaymentMonero extends Controller {
private $payment_module_name = 'monero';
public function index() {

$this->load->model('payment/monero');
//$this->load->model('checkout/order');
//$this->load->model('payment/monero');
$this->load->model('checkout/order');
$order_id = $this->session->data['order_id'];
$order = $this->model_checkout_order->getOrder($order_id);
$current_default_currency = $this->config->get('config_currency');
Expand Down Expand Up @@ -63,13 +63,12 @@ public function xmrliveprice($currency){
}

public function make_integrated_address(){
/*

$host = $this->config->get('monero_wallet_rpc_host');
$port = $this->config->get("monero_wallet_rpc_port");
$monero = new monero($host, $port);
$payment_id = "";
$integrated_address = $monero->make_integrated_address($payment_id);*/
$integrated_address = "";
$integrated_address = $monero->make_integrated_address($payment_id);
return $integrated_address;
}

Expand Down

0 comments on commit 7046b5f

Please sign in to comment.