diff --git a/app/Ninja/PaymentDrivers/BasePaymentDriver.php b/app/Ninja/PaymentDrivers/BasePaymentDriver.php index 732e1fc8e172..00b7ec3ba149 100644 --- a/app/Ninja/PaymentDrivers/BasePaymentDriver.php +++ b/app/Ninja/PaymentDrivers/BasePaymentDriver.php @@ -883,7 +883,7 @@ class BasePaymentDriver protected function createLicense($payment) { // TODO parse invoice to determine license - if ($payment->amount == 20) { + if ($payment->amount == WHITE_LABEL_PRICE) { $affiliateId = 4; $productId = PRODUCT_WHITE_LABEL; } else {