From 7ad72aa884a252ee677b4e92979bb202d9bcf31e Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Sun, 16 Sep 2018 19:21:58 +0300 Subject: [PATCH] Fix for white label licenses --- app/Ninja/PaymentDrivers/BasePaymentDriver.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Ninja/PaymentDrivers/BasePaymentDriver.php b/app/Ninja/PaymentDrivers/BasePaymentDriver.php index 4e540565ed..bb36eb1ad0 100644 --- a/app/Ninja/PaymentDrivers/BasePaymentDriver.php +++ b/app/Ninja/PaymentDrivers/BasePaymentDriver.php @@ -823,6 +823,7 @@ class BasePaymentDriver $license->license_key = Utils::generateLicense(); $license->affiliate_id = $affiliateId; $license->product_id = $productId; + $license->is_claimed = 0; $license->save(); // Add the license key to the invoice content