Show Proper Address in QR Code
Show integrated address in QR Code rather than base address.
This commit is contained in:
parent
fcedf21b30
commit
acfdc094da
@ -552,7 +552,7 @@ class Monero_Gateway extends WC_Payment_Gateway
|
|||||||
}
|
}
|
||||||
|
|
||||||
$amount_formatted = self::format_monero($amount_due);
|
$amount_formatted = self::format_monero($amount_due);
|
||||||
$qrcode_uri = 'monero:'.$address.'?tx_amount='.$amount_formatted.'&tx_payment_id='.$payment_id;
|
$qrcode_uri = 'monero:'.$integrated_addr.'?tx_amount='.$amount_formatted.'&tx_payment_id='.$payment_id;
|
||||||
$my_order_url = wc_get_endpoint_url('view-order', $order_id, wc_get_page_permalink('myaccount'));
|
$my_order_url = wc_get_endpoint_url('view-order', $order_id, wc_get_page_permalink('myaccount'));
|
||||||
|
|
||||||
$payment_details = array(
|
$payment_details = array(
|
||||||
|
Loading…
Reference in New Issue
Block a user