diff --git a/app/Domain/Integrations/Controllers/IntegrationController.php b/app/Domain/Integrations/Controllers/IntegrationController.php index a35e0b6b6..84a896e42 100644 --- a/app/Domain/Integrations/Controllers/IntegrationController.php +++ b/app/Domain/Integrations/Controllers/IntegrationController.php @@ -365,7 +365,7 @@ private function guardCoupon(Request $request): ?RedirectResponse ]); } - if ($coupon->isDistributed) { + if ($coupon->integrationId !== null) { return Redirect::back()->withErrors(['coupon' => __('errors.coupon.already_used')]); }