Wrong Disposable promo codes
Closed this issue · 1 comments
evd1ser commented
When I want to apply promo code to user twice throw AlreadyUsedException but promo code can use much time...
May be need add conditional: if ($promocode->isDisposable() && $promocode->users()->wherePivot(config('promocodes.related_pivot_key'), $this->id)->exists()) {
zgabievi commented
Will be resolved in next release.