Update monero_payments.php

This commit is contained in:
serhack 2017-07-26 18:47:25 +02:00 committed by GitHub
parent 49b6ff645e
commit 7d85f6c836
1 changed files with 2 additions and 2 deletions

View File

@ -207,8 +207,8 @@ class Monero_Gateway extends WC_Payment_Gateway
$address = $this->address;
$payment_id = bin2hex(openssl_random_pseudo_bytes(8));
$uri = "monero:$address?amount=$amount?payment_id=$payment_id";
//$array_integrated_address = $this->monero_daemon->make_integrated_address($payment_id);
$array_integrated_address = "";
$array_integrated_address = $this->monero_daemon->make_integrated_address($payment_id);
// Generate a QR code
echo "<link rel='stylesheet' href='https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css'>";