diff --git a/monero/include/monero_payments.php b/monero/include/monero_payments.php
index 511b0df..bebaa90 100644
--- a/monero/include/monero_payments.php
+++ b/monero/include/monero_payments.php
@@ -188,8 +188,8 @@ class Monero_Gateway extends WC_Payment_Gateway
$currency = $order->currency;
$amount_xmr2 = $this->changeto($amount, $currency);
$address = $this->address;
-
- $uri = "monero:$address?amount=$amount";
+ $payment_id = bin2hex(openssl_random_pseudo_bytes(32));
+ $uri = "monero:$address?amount=$amount?payment_id=$payment_id";
// Generate a QR code
echo "