Quick typo fix
Adds the '!' operator in front of the if(isset($array_integrated_address)) expression so that the error message will only show up if it is NOT set
This commit is contained in:
parent
5d043b0150
commit
7358d21b66
@ -244,7 +244,7 @@ class Monero_Gateway extends WC_Payment_Gateway
|
|||||||
$payment_id = $this->set_paymentid_cookie();
|
$payment_id = $this->set_paymentid_cookie();
|
||||||
$uri = "monero:$address?amount=$amount?payment_id=$payment_id";
|
$uri = "monero:$address?amount=$amount?payment_id=$payment_id";
|
||||||
$array_integrated_address = $this->monero_daemon->make_integrated_address($payment_id);
|
$array_integrated_address = $this->monero_daemon->make_integrated_address($payment_id);
|
||||||
if(isset($array_integrated_address)){
|
if(!isset($array_integrated_address)){
|
||||||
$this->log->add('Monero_Gateway', '[ERROR] Unable to getting integrated address ');
|
$this->log->add('Monero_Gateway', '[ERROR] Unable to getting integrated address ');
|
||||||
}
|
}
|
||||||
$message = $this->verify_payment($payment_id, $amount_xmr2, $order);
|
$message = $this->verify_payment($payment_id, $amount_xmr2, $order);
|
||||||
|
Loading…
Reference in New Issue
Block a user