Update class-monero-gateway.php

This commit is contained in:
SerHack 2018-11-25 18:22:09 +01:00 committed by GitHub
parent 53463e9111
commit ccb387095d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -519,7 +519,8 @@ class Monero_Gateway extends WC_Payment_Gateway
}
}
$qrcode_uri = 'monero:'.$address.'?tx_amount='.$amount_due.'&tx_payment_id='.$payment_id;
$amount_formatted = self::format_monero($amount_due);
$qrcode_uri = 'monero:'.$address.'?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'));
$payment_details = array(