[2025-07-07 10:25:19] local.INFO: start validateCoupon api function  
[2025-07-07 10:25:19] local.INFO: Request is: Array
(
    [coupon] => p4238sbv
    [content-type] => application/json
)
  
[2025-07-07 10:25:19] local.INFO: Coupon model: App\Models\Discount Object
(
    [timestamps] => 
    [guarded:protected] => Array
        (
            [0] => id
        )

    [appends:protected] => Array
        (
            [0] => code_length
        )

    [connection:protected] => mysql
    [table:protected] => discounts
    [primaryKey:protected] => id
    [keyType:protected] => int
    [incrementing] => 1
    [with:protected] => Array
        (
        )

    [withCount:protected] => Array
        (
        )

    [perPage:protected] => 15
    [exists] => 1
    [wasRecentlyCreated] => 
    [attributes:protected] => Array
        (
            [id] => 29397
            [creator_id] => 13015
            [added_by] => admin
            [instructor_id] => 
            [city_id] => 
            [organ_id] => 
            [title] => 16-6
            [discount_type] => percentage
            [source] => all
            [code] => p4238sbv
            [percent] => 100
            [amount] => 
            [max_amount] => 
            [minimum_order] => 
            [count] => 5
            [user_type] => 
            [for_first_purchase] => 0
            [status] => active
            [expired_at] => 1765888440
            [created_at] => 1750073697
        )

    [original:protected] => Array
        (
            [id] => 29397
            [creator_id] => 13015
            [added_by] => admin
            [instructor_id] => 
            [city_id] => 
            [organ_id] => 
            [title] => 16-6
            [discount_type] => percentage
            [source] => all
            [code] => p4238sbv
            [percent] => 100
            [amount] => 
            [max_amount] => 
            [minimum_order] => 
            [count] => 5
            [user_type] => 
            [for_first_purchase] => 0
            [status] => active
            [expired_at] => 1765888440
            [created_at] => 1750073697
        )

    [changes:protected] => Array
        (
        )

    [casts:protected] => Array
        (
        )

    [classCastCache:protected] => Array
        (
        )

    [dates:protected] => Array
        (
        )

    [dateFormat:protected] => 
    [dispatchesEvents:protected] => Array
        (
        )

    [observables:protected] => Array
        (
        )

    [relations:protected] => Array
        (
        )

    [touches:protected] => Array
        (
        )

    [hidden:protected] => Array
        (
        )

    [visible:protected] => Array
        (
        )

    [fillable:protected] => Array
        (
        )

)
  
[2025-07-07 10:25:19] local.INFO: start checkValidDiscount function  
[2025-07-07 10:25:19] local.INFO: App\Models\Discount Object
(
    [timestamps] => 
    [guarded:protected] => Array
        (
            [0] => id
        )

    [appends:protected] => Array
        (
            [0] => code_length
        )

    [connection:protected] => mysql
    [table:protected] => discounts
    [primaryKey:protected] => id
    [keyType:protected] => int
    [incrementing] => 1
    [with:protected] => Array
        (
        )

    [withCount:protected] => Array
        (
        )

    [perPage:protected] => 15
    [exists] => 1
    [wasRecentlyCreated] => 
    [attributes:protected] => Array
        (
            [id] => 29397
            [creator_id] => 13015
            [added_by] => admin
            [instructor_id] => 
            [city_id] => 
            [organ_id] => 
            [title] => 16-6
            [discount_type] => percentage
            [source] => all
            [code] => p4238sbv
            [percent] => 100
            [amount] => 
            [max_amount] => 
            [minimum_order] => 
            [count] => 5
            [user_type] => 
            [for_first_purchase] => 0
            [status] => active
            [expired_at] => 1765888440
            [created_at] => 1750073697
        )

    [original:protected] => Array
        (
            [id] => 29397
            [creator_id] => 13015
            [added_by] => admin
            [instructor_id] => 
            [city_id] => 
            [organ_id] => 
            [title] => 16-6
            [discount_type] => percentage
            [source] => all
            [code] => p4238sbv
            [percent] => 100
            [amount] => 
            [max_amount] => 
            [minimum_order] => 
            [count] => 5
            [user_type] => 
            [for_first_purchase] => 0
            [status] => active
            [expired_at] => 1765888440
            [created_at] => 1750073697
        )

    [changes:protected] => Array
        (
        )

    [casts:protected] => Array
        (
        )

    [classCastCache:protected] => Array
        (
        )

    [dates:protected] => Array
        (
        )

    [dateFormat:protected] => 
    [dispatchesEvents:protected] => Array
        (
        )

    [observables:protected] => Array
        (
        )

    [relations:protected] => Array
        (
        )

    [touches:protected] => Array
        (
        )

    [hidden:protected] => Array
        (
        )

    [visible:protected] => Array
        (
        )

    [fillable:protected] => Array
        (
        )

)
  
[2025-07-07 10:25:20] local.INFO: start checkValidDiscount function  
[2025-07-07 10:25:20] local.INFO: App\Models\Discount Object
(
    [timestamps] => 
    [guarded:protected] => Array
        (
            [0] => id
        )

    [appends:protected] => Array
        (
            [0] => code_length
        )

    [connection:protected] => mysql
    [table:protected] => discounts
    [primaryKey:protected] => id
    [keyType:protected] => int
    [incrementing] => 1
    [with:protected] => Array
        (
        )

    [withCount:protected] => Array
        (
        )

    [perPage:protected] => 15
    [exists] => 1
    [wasRecentlyCreated] => 
    [attributes:protected] => Array
        (
            [id] => 29397
            [creator_id] => 13015
            [added_by] => admin
            [instructor_id] => 
            [city_id] => 
            [organ_id] => 
            [title] => 16-6
            [discount_type] => percentage
            [source] => all
            [code] => p4238sbv
            [percent] => 100
            [amount] => 
            [max_amount] => 
            [minimum_order] => 
            [count] => 5
            [user_type] => 
            [for_first_purchase] => 0
            [status] => active
            [expired_at] => 1765888440
            [created_at] => 1750073697
        )

    [original:protected] => Array
        (
            [id] => 29397
            [creator_id] => 13015
            [added_by] => admin
            [instructor_id] => 
            [city_id] => 
            [organ_id] => 
            [title] => 16-6
            [discount_type] => percentage
            [source] => all
            [code] => p4238sbv
            [percent] => 100
            [amount] => 
            [max_amount] => 
            [minimum_order] => 
            [count] => 5
            [user_type] => 
            [for_first_purchase] => 0
            [status] => active
            [expired_at] => 1765888440
            [created_at] => 1750073697
        )

    [changes:protected] => Array
        (
        )

    [casts:protected] => Array
        (
        )

    [classCastCache:protected] => Array
        (
        )

    [dates:protected] => Array
        (
        )

    [dateFormat:protected] => 
    [dispatchesEvents:protected] => Array
        (
        )

    [observables:protected] => Array
        (
        )

    [relations:protected] => Array
        (
        )

    [touches:protected] => Array
        (
        )

    [hidden:protected] => Array
        (
        )

    [visible:protected] => Array
        (
        )

    [fillable:protected] => Array
        (
        )

)
  
[2025-07-07 10:25:21] local.INFO: start checkValidDiscount function  
[2025-07-07 10:25:21] local.INFO: App\Models\Discount Object
(
    [timestamps] => 
    [guarded:protected] => Array
        (
            [0] => id
        )

    [appends:protected] => Array
        (
            [0] => code_length
        )

    [connection:protected] => mysql
    [table:protected] => discounts
    [primaryKey:protected] => id
    [keyType:protected] => int
    [incrementing] => 1
    [with:protected] => Array
        (
        )

    [withCount:protected] => Array
        (
        )

    [perPage:protected] => 15
    [exists] => 1
    [wasRecentlyCreated] => 
    [attributes:protected] => Array
        (
            [id] => 29397
            [creator_id] => 13015
            [added_by] => admin
            [instructor_id] => 
            [city_id] => 
            [organ_id] => 
            [title] => 16-6
            [discount_type] => percentage
            [source] => all
            [code] => p4238sbv
            [percent] => 100
            [amount] => 
            [max_amount] => 
            [minimum_order] => 
            [count] => 5
            [user_type] => 
            [for_first_purchase] => 0
            [status] => active
            [expired_at] => 1765888440
            [created_at] => 1750073697
        )

    [original:protected] => Array
        (
            [id] => 29397
            [creator_id] => 13015
            [added_by] => admin
            [instructor_id] => 
            [city_id] => 
            [organ_id] => 
            [title] => 16-6
            [discount_type] => percentage
            [source] => all
            [code] => p4238sbv
            [percent] => 100
            [amount] => 
            [max_amount] => 
            [minimum_order] => 
            [count] => 5
            [user_type] => 
            [for_first_purchase] => 0
            [status] => active
            [expired_at] => 1765888440
            [created_at] => 1750073697
        )

    [changes:protected] => Array
        (
        )

    [casts:protected] => Array
        (
        )

    [classCastCache:protected] => Array
        (
        )

    [dates:protected] => Array
        (
        )

    [dateFormat:protected] => 
    [dispatchesEvents:protected] => Array
        (
        )

    [observables:protected] => Array
        (
        )

    [relations:protected] => Array
        (
        )

    [touches:protected] => Array
        (
        )

    [hidden:protected] => Array
        (
        )

    [visible:protected] => Array
        (
        )

    [fillable:protected] => Array
        (
        )

)
  
[2025-07-07 10:29:29] local.INFO: start validateCoupon api function  
[2025-07-07 10:29:29] local.INFO: Request is: Array
(
    [coupon] => 2ec66mh2
    [content-type] => application/json
)
  
[2025-07-07 10:30:13] local.INFO: start validateCoupon api function  
[2025-07-07 10:30:13] local.INFO: Request is: Array
(
    [coupon] => 2ec66mh2
    [content-type] => application/json
)
  
[2025-07-07 10:31:37] local.INFO: start validateCoupon api function  
[2025-07-07 10:31:37] local.INFO: Request is: Array
(
    [coupon] => u8e7xtfa
    [content-type] => application/json
)
  
[2025-07-07 10:31:37] local.INFO: Coupon model: App\Models\Discount Object
(
    [timestamps] => 
    [guarded:protected] => Array
        (
            [0] => id
        )

    [appends:protected] => Array
        (
            [0] => code_length
        )

    [connection:protected] => mysql
    [table:protected] => discounts
    [primaryKey:protected] => id
    [keyType:protected] => int
    [incrementing] => 1
    [with:protected] => Array
        (
        )

    [withCount:protected] => Array
        (
        )

    [perPage:protected] => 15
    [exists] => 1
    [wasRecentlyCreated] => 
    [attributes:protected] => Array
        (
            [id] => 29430
            [creator_id] => 13015
            [added_by] => admin
            [instructor_id] => 
            [city_id] => 
            [organ_id] => 
            [title] => 16-6
            [discount_type] => percentage
            [source] => all
            [code] => u8e7xtfa
            [percent] => 100
            [amount] => 
            [max_amount] => 
            [minimum_order] => 
            [count] => 5
            [user_type] => 
            [for_first_purchase] => 0
            [status] => active
            [expired_at] => 1765888440
            [created_at] => 1750073698
        )

    [original:protected] => Array
        (
            [id] => 29430
            [creator_id] => 13015
            [added_by] => admin
            [instructor_id] => 
            [city_id] => 
            [organ_id] => 
            [title] => 16-6
            [discount_type] => percentage
            [source] => all
            [code] => u8e7xtfa
            [percent] => 100
            [amount] => 
            [max_amount] => 
            [minimum_order] => 
            [count] => 5
            [user_type] => 
            [for_first_purchase] => 0
            [status] => active
            [expired_at] => 1765888440
            [created_at] => 1750073698
        )

    [changes:protected] => Array
        (
        )

    [casts:protected] => Array
        (
        )

    [classCastCache:protected] => Array
        (
        )

    [dates:protected] => Array
        (
        )

    [dateFormat:protected] => 
    [dispatchesEvents:protected] => Array
        (
        )

    [observables:protected] => Array
        (
        )

    [relations:protected] => Array
        (
        )

    [touches:protected] => Array
        (
        )

    [hidden:protected] => Array
        (
        )

    [visible:protected] => Array
        (
        )

    [fillable:protected] => Array
        (
        )

)
  
[2025-07-07 10:31:37] local.INFO: start checkValidDiscount function  
[2025-07-07 10:31:37] local.INFO: App\Models\Discount Object
(
    [timestamps] => 
    [guarded:protected] => Array
        (
            [0] => id
        )

    [appends:protected] => Array
        (
            [0] => code_length
        )

    [connection:protected] => mysql
    [table:protected] => discounts
    [primaryKey:protected] => id
    [keyType:protected] => int
    [incrementing] => 1
    [with:protected] => Array
        (
        )

    [withCount:protected] => Array
        (
        )

    [perPage:protected] => 15
    [exists] => 1
    [wasRecentlyCreated] => 
    [attributes:protected] => Array
        (
            [id] => 29430
            [creator_id] => 13015
            [added_by] => admin
            [instructor_id] => 
            [city_id] => 
            [organ_id] => 
            [title] => 16-6
            [discount_type] => percentage
            [source] => all
            [code] => u8e7xtfa
            [percent] => 100
            [amount] => 
            [max_amount] => 
            [minimum_order] => 
            [count] => 5
            [user_type] => 
            [for_first_purchase] => 0
            [status] => active
            [expired_at] => 1765888440
            [created_at] => 1750073698
        )

    [original:protected] => Array
        (
            [id] => 29430
            [creator_id] => 13015
            [added_by] => admin
            [instructor_id] => 
            [city_id] => 
            [organ_id] => 
            [title] => 16-6
            [discount_type] => percentage
            [source] => all
            [code] => u8e7xtfa
            [percent] => 100
            [amount] => 
            [max_amount] => 
            [minimum_order] => 
            [count] => 5
            [user_type] => 
            [for_first_purchase] => 0
            [status] => active
            [expired_at] => 1765888440
            [created_at] => 1750073698
        )

    [changes:protected] => Array
        (
        )

    [casts:protected] => Array
        (
        )

    [classCastCache:protected] => Array
        (
        )

    [dates:protected] => Array
        (
        )

    [dateFormat:protected] => 
    [dispatchesEvents:protected] => Array
        (
        )

    [observables:protected] => Array
        (
        )

    [relations:protected] => Array
        (
        )

    [touches:protected] => Array
        (
        )

    [hidden:protected] => Array
        (
        )

    [visible:protected] => Array
        (
        )

    [fillable:protected] => Array
        (
        )

)
  
[2025-07-07 10:31:38] local.INFO: start checkValidDiscount function  
[2025-07-07 10:31:38] local.INFO: App\Models\Discount Object
(
    [timestamps] => 
    [guarded:protected] => Array
        (
            [0] => id
        )

    [appends:protected] => Array
        (
            [0] => code_length
        )

    [connection:protected] => mysql
    [table:protected] => discounts
    [primaryKey:protected] => id
    [keyType:protected] => int
    [incrementing] => 1
    [with:protected] => Array
        (
        )

    [withCount:protected] => Array
        (
        )

    [perPage:protected] => 15
    [exists] => 1
    [wasRecentlyCreated] => 
    [attributes:protected] => Array
        (
            [id] => 29430
            [creator_id] => 13015
            [added_by] => admin
            [instructor_id] => 
            [city_id] => 
            [organ_id] => 
            [title] => 16-6
            [discount_type] => percentage
            [source] => all
            [code] => u8e7xtfa
            [percent] => 100
            [amount] => 
            [max_amount] => 
            [minimum_order] => 
            [count] => 5
            [user_type] => 
            [for_first_purchase] => 0
            [status] => active
            [expired_at] => 1765888440
            [created_at] => 1750073698
        )

    [original:protected] => Array
        (
            [id] => 29430
            [creator_id] => 13015
            [added_by] => admin
            [instructor_id] => 
            [city_id] => 
            [organ_id] => 
            [title] => 16-6
            [discount_type] => percentage
            [source] => all
            [code] => u8e7xtfa
            [percent] => 100
            [amount] => 
            [max_amount] => 
            [minimum_order] => 
            [count] => 5
            [user_type] => 
            [for_first_purchase] => 0
            [status] => active
            [expired_at] => 1765888440
            [created_at] => 1750073698
        )

    [changes:protected] => Array
        (
        )

    [casts:protected] => Array
        (
        )

    [classCastCache:protected] => Array
        (
        )

    [dates:protected] => Array
        (
        )

    [dateFormat:protected] => 
    [dispatchesEvents:protected] => Array
        (
        )

    [observables:protected] => Array
        (
        )

    [relations:protected] => Array
        (
        )

    [touches:protected] => Array
        (
        )

    [hidden:protected] => Array
        (
        )

    [visible:protected] => Array
        (
        )

    [fillable:protected] => Array
        (
        )

)
  
[2025-07-07 10:34:40] local.INFO: start validateCoupon api function  
[2025-07-07 10:34:40] local.INFO: Request is: Array
(
    [coupon] => dm56fxwe
    [content-type] => application/json
)
  
[2025-07-07 10:34:40] local.INFO: Coupon model: App\Models\Discount Object
(
    [timestamps] => 
    [guarded:protected] => Array
        (
            [0] => id
        )

    [appends:protected] => Array
        (
            [0] => code_length
        )

    [connection:protected] => mysql
    [table:protected] => discounts
    [primaryKey:protected] => id
    [keyType:protected] => int
    [incrementing] => 1
    [with:protected] => Array
        (
        )

    [withCount:protected] => Array
        (
        )

    [perPage:protected] => 15
    [exists] => 1
    [wasRecentlyCreated] => 
    [attributes:protected] => Array
        (
            [id] => 29429
            [creator_id] => 13015
            [added_by] => admin
            [instructor_id] => 
            [city_id] => 
            [organ_id] => 
            [title] => 16-6
            [discount_type] => percentage
            [source] => all
            [code] => dm56fxwe
            [percent] => 100
            [amount] => 
            [max_amount] => 
            [minimum_order] => 
            [count] => 5
            [user_type] => 
            [for_first_purchase] => 0
            [status] => active
            [expired_at] => 1765888440
            [created_at] => 1750073698
        )

    [original:protected] => Array
        (
            [id] => 29429
            [creator_id] => 13015
            [added_by] => admin
            [instructor_id] => 
            [city_id] => 
            [organ_id] => 
            [title] => 16-6
            [discount_type] => percentage
            [source] => all
            [code] => dm56fxwe
            [percent] => 100
            [amount] => 
            [max_amount] => 
            [minimum_order] => 
            [count] => 5
            [user_type] => 
            [for_first_purchase] => 0
            [status] => active
            [expired_at] => 1765888440
            [created_at] => 1750073698
        )

    [changes:protected] => Array
        (
        )

    [casts:protected] => Array
        (
        )

    [classCastCache:protected] => Array
        (
        )

    [dates:protected] => Array
        (
        )

    [dateFormat:protected] => 
    [dispatchesEvents:protected] => Array
        (
        )

    [observables:protected] => Array
        (
        )

    [relations:protected] => Array
        (
        )

    [touches:protected] => Array
        (
        )

    [hidden:protected] => Array
        (
        )

    [visible:protected] => Array
        (
        )

    [fillable:protected] => Array
        (
        )

)
  
[2025-07-07 10:34:40] local.INFO: start checkValidDiscount function  
[2025-07-07 10:34:40] local.INFO: App\Models\Discount Object
(
    [timestamps] => 
    [guarded:protected] => Array
        (
            [0] => id
        )

    [appends:protected] => Array
        (
            [0] => code_length
        )

    [connection:protected] => mysql
    [table:protected] => discounts
    [primaryKey:protected] => id
    [keyType:protected] => int
    [incrementing] => 1
    [with:protected] => Array
        (
        )

    [withCount:protected] => Array
        (
        )

    [perPage:protected] => 15
    [exists] => 1
    [wasRecentlyCreated] => 
    [attributes:protected] => Array
        (
            [id] => 29429
            [creator_id] => 13015
            [added_by] => admin
            [instructor_id] => 
            [city_id] => 
            [organ_id] => 
            [title] => 16-6
            [discount_type] => percentage
            [source] => all
            [code] => dm56fxwe
            [percent] => 100
            [amount] => 
            [max_amount] => 
            [minimum_order] => 
            [count] => 5
            [user_type] => 
            [for_first_purchase] => 0
            [status] => active
            [expired_at] => 1765888440
            [created_at] => 1750073698
        )

    [original:protected] => Array
        (
            [id] => 29429
            [creator_id] => 13015
            [added_by] => admin
            [instructor_id] => 
            [city_id] => 
            [organ_id] => 
            [title] => 16-6
            [discount_type] => percentage
            [source] => all
            [code] => dm56fxwe
            [percent] => 100
            [amount] => 
            [max_amount] => 
            [minimum_order] => 
            [count] => 5
            [user_type] => 
            [for_first_purchase] => 0
            [status] => active
            [expired_at] => 1765888440
            [created_at] => 1750073698
        )

    [changes:protected] => Array
        (
        )

    [casts:protected] => Array
        (
        )

    [classCastCache:protected] => Array
        (
        )

    [dates:protected] => Array
        (
        )

    [dateFormat:protected] => 
    [dispatchesEvents:protected] => Array
        (
        )

    [observables:protected] => Array
        (
        )

    [relations:protected] => Array
        (
        )

    [touches:protected] => Array
        (
        )

    [hidden:protected] => Array
        (
        )

    [visible:protected] => Array
        (
        )

    [fillable:protected] => Array
        (
        )

)
  
[2025-07-07 10:34:41] local.INFO: start checkValidDiscount function  
[2025-07-07 10:34:41] local.INFO: App\Models\Discount Object
(
    [timestamps] => 
    [guarded:protected] => Array
        (
            [0] => id
        )

    [appends:protected] => Array
        (
            [0] => code_length
        )

    [connection:protected] => mysql
    [table:protected] => discounts
    [primaryKey:protected] => id
    [keyType:protected] => int
    [incrementing] => 1
    [with:protected] => Array
        (
        )

    [withCount:protected] => Array
        (
        )

    [perPage:protected] => 15
    [exists] => 1
    [wasRecentlyCreated] => 
    [attributes:protected] => Array
        (
            [id] => 29429
            [creator_id] => 13015
            [added_by] => admin
            [instructor_id] => 
            [city_id] => 
            [organ_id] => 
            [title] => 16-6
            [discount_type] => percentage
            [source] => all
            [code] => dm56fxwe
            [percent] => 100
            [amount] => 
            [max_amount] => 
            [minimum_order] => 
            [count] => 5
            [user_type] => 
            [for_first_purchase] => 0
            [status] => active
            [expired_at] => 1765888440
            [created_at] => 1750073698
        )

    [original:protected] => Array
        (
            [id] => 29429
            [creator_id] => 13015
            [added_by] => admin
            [instructor_id] => 
            [city_id] => 
            [organ_id] => 
            [title] => 16-6
            [discount_type] => percentage
            [source] => all
            [code] => dm56fxwe
            [percent] => 100
            [amount] => 
            [max_amount] => 
            [minimum_order] => 
            [count] => 5
            [user_type] => 
            [for_first_purchase] => 0
            [status] => active
            [expired_at] => 1765888440
            [created_at] => 1750073698
        )

    [changes:protected] => Array
        (
        )

    [casts:protected] => Array
        (
        )

    [classCastCache:protected] => Array
        (
        )

    [dates:protected] => Array
        (
        )

    [dateFormat:protected] => 
    [dispatchesEvents:protected] => Array
        (
        )

    [observables:protected] => Array
        (
        )

    [relations:protected] => Array
        (
        )

    [touches:protected] => Array
        (
        )

    [hidden:protected] => Array
        (
        )

    [visible:protected] => Array
        (
        )

    [fillable:protected] => Array
        (
        )

)
  
[2025-07-07 12:00:19] local.INFO: start validateCoupon web function  
[2025-07-07 12:00:19] local.INFO: Request is: Array
(
    [coupon] => 3mpzkaws
    [webinar_id] => 291
)
  
[2025-07-07 12:00:19] local.INFO: Coupon model: App\Models\Discount Object
(
    [timestamps] => 
    [guarded:protected] => Array
        (
            [0] => id
        )

    [appends:protected] => Array
        (
            [0] => code_length
        )

    [connection:protected] => mysql
    [table:protected] => discounts
    [primaryKey:protected] => id
    [keyType:protected] => int
    [incrementing] => 1
    [with:protected] => Array
        (
        )

    [withCount:protected] => Array
        (
        )

    [perPage:protected] => 15
    [exists] => 1
    [wasRecentlyCreated] => 
    [attributes:protected] => Array
        (
            [id] => 23921
            [creator_id] => 13015
            [added_by] => admin
            [instructor_id] => 
            [city_id] => 
            [organ_id] => 
            [title] => Revesion 1
            [discount_type] => percentage
            [source] => all
            [code] => 3mpzkaws
            [percent] => 100
            [amount] => 
            [max_amount] => 
            [minimum_order] => 
            [count] => 5
            [user_type] => 
            [for_first_purchase] => 0
            [status] => active
            [expired_at] => 1756806540
            [created_at] => 1740912633
        )

    [original:protected] => Array
        (
            [id] => 23921
            [creator_id] => 13015
            [added_by] => admin
            [instructor_id] => 
            [city_id] => 
            [organ_id] => 
            [title] => Revesion 1
            [discount_type] => percentage
            [source] => all
            [code] => 3mpzkaws
            [percent] => 100
            [amount] => 
            [max_amount] => 
            [minimum_order] => 
            [count] => 5
            [user_type] => 
            [for_first_purchase] => 0
            [status] => active
            [expired_at] => 1756806540
            [created_at] => 1740912633
        )

    [changes:protected] => Array
        (
        )

    [casts:protected] => Array
        (
        )

    [classCastCache:protected] => Array
        (
        )

    [dates:protected] => Array
        (
        )

    [dateFormat:protected] => 
    [dispatchesEvents:protected] => Array
        (
        )

    [observables:protected] => Array
        (
        )

    [relations:protected] => Array
        (
        )

    [touches:protected] => Array
        (
        )

    [hidden:protected] => Array
        (
        )

    [visible:protected] => Array
        (
        )

    [fillable:protected] => Array
        (
        )

)
  
[2025-07-07 12:01:04] local.INFO: start validateCoupon web function  
[2025-07-07 12:01:04] local.INFO: Request is: Array
(
    [coupon] => 6t4jek6s
    [webinar_id] => 291
)
  
[2025-07-07 12:01:04] local.INFO: Coupon model: App\Models\Discount Object
(
    [timestamps] => 
    [guarded:protected] => Array
        (
            [0] => id
        )

    [appends:protected] => Array
        (
            [0] => code_length
        )

    [connection:protected] => mysql
    [table:protected] => discounts
    [primaryKey:protected] => id
    [keyType:protected] => int
    [incrementing] => 1
    [with:protected] => Array
        (
        )

    [withCount:protected] => Array
        (
        )

    [perPage:protected] => 15
    [exists] => 1
    [wasRecentlyCreated] => 
    [attributes:protected] => Array
        (
            [id] => 25460
            [creator_id] => 13015
            [added_by] => admin
            [instructor_id] => 
            [city_id] => 
            [organ_id] => 
            [title] => Rev.4
            [discount_type] => percentage
            [source] => all
            [code] => 6t4jek6s
            [percent] => 100
            [amount] => 
            [max_amount] => 
            [minimum_order] => 
            [count] => 5
            [user_type] => 
            [for_first_purchase] => 0
            [status] => active
            [expired_at] => 1758670320
            [created_at] => 1742776384
        )

    [original:protected] => Array
        (
            [id] => 25460
            [creator_id] => 13015
            [added_by] => admin
            [instructor_id] => 
            [city_id] => 
            [organ_id] => 
            [title] => Rev.4
            [discount_type] => percentage
            [source] => all
            [code] => 6t4jek6s
            [percent] => 100
            [amount] => 
            [max_amount] => 
            [minimum_order] => 
            [count] => 5
            [user_type] => 
            [for_first_purchase] => 0
            [status] => active
            [expired_at] => 1758670320
            [created_at] => 1742776384
        )

    [changes:protected] => Array
        (
        )

    [casts:protected] => Array
        (
        )

    [classCastCache:protected] => Array
        (
        )

    [dates:protected] => Array
        (
        )

    [dateFormat:protected] => 
    [dispatchesEvents:protected] => Array
        (
        )

    [observables:protected] => Array
        (
        )

    [relations:protected] => Array
        (
        )

    [touches:protected] => Array
        (
        )

    [hidden:protected] => Array
        (
        )

    [visible:protected] => Array
        (
        )

    [fillable:protected] => Array
        (
        )

)
  
[2025-07-07 12:01:04] local.INFO: start checkValidDiscount function  
[2025-07-07 12:01:04] local.INFO: App\Models\Discount Object
(
    [timestamps] => 
    [guarded:protected] => Array
        (
            [0] => id
        )

    [appends:protected] => Array
        (
            [0] => code_length
        )

    [connection:protected] => mysql
    [table:protected] => discounts
    [primaryKey:protected] => id
    [keyType:protected] => int
    [incrementing] => 1
    [with:protected] => Array
        (
        )

    [withCount:protected] => Array
        (
        )

    [perPage:protected] => 15
    [exists] => 1
    [wasRecentlyCreated] => 
    [attributes:protected] => Array
        (
            [id] => 25460
            [creator_id] => 13015
            [added_by] => admin
            [instructor_id] => 
            [city_id] => 
            [organ_id] => 
            [title] => Rev.4
            [discount_type] => percentage
            [source] => all
            [code] => 6t4jek6s
            [percent] => 100
            [amount] => 
            [max_amount] => 
            [minimum_order] => 
            [count] => 5
            [user_type] => 
            [for_first_purchase] => 0
            [status] => active
            [expired_at] => 1758670320
            [created_at] => 1742776384
        )

    [original:protected] => Array
        (
            [id] => 25460
            [creator_id] => 13015
            [added_by] => admin
            [instructor_id] => 
            [city_id] => 
            [organ_id] => 
            [title] => Rev.4
            [discount_type] => percentage
            [source] => all
            [code] => 6t4jek6s
            [percent] => 100
            [amount] => 
            [max_amount] => 
            [minimum_order] => 
            [count] => 5
            [user_type] => 
            [for_first_purchase] => 0
            [status] => active
            [expired_at] => 1758670320
            [created_at] => 1742776384
        )

    [changes:protected] => Array
        (
        )

    [casts:protected] => Array
        (
        )

    [classCastCache:protected] => Array
        (
        )

    [dates:protected] => Array
        (
        )

    [dateFormat:protected] => 
    [dispatchesEvents:protected] => Array
        (
        )

    [observables:protected] => Array
        (
        )

    [relations:protected] => Array
        (
        )

    [touches:protected] => Array
        (
        )

    [hidden:protected] => Array
        (
        )

    [visible:protected] => Array
        (
        )

    [fillable:protected] => Array
        (
        )

)
  
[2025-07-07 14:15:00] local.INFO: start validateCoupon web function  
[2025-07-07 14:15:00] local.INFO: Request is: Array
(
    [coupon] => m7c75mb5
    [webinar_id] => 259
)
  
[2025-07-07 14:15:00] local.INFO: Coupon model: App\Models\Discount Object
(
    [timestamps] => 
    [guarded:protected] => Array
        (
            [0] => id
        )

    [appends:protected] => Array
        (
            [0] => code_length
        )

    [connection:protected] => mysql
    [table:protected] => discounts
    [primaryKey:protected] => id
    [keyType:protected] => int
    [incrementing] => 1
    [with:protected] => Array
        (
        )

    [withCount:protected] => Array
        (
        )

    [perPage:protected] => 15
    [exists] => 1
    [wasRecentlyCreated] => 
    [attributes:protected] => Array
        (
            [id] => 24055
            [creator_id] => 13015
            [added_by] => admin
            [instructor_id] => 
            [city_id] => 
            [organ_id] => 
            [title] => N
            [discount_type] => percentage
            [source] => all
            [code] => m7c75mb5
            [percent] => 100
            [amount] => 
            [max_amount] => 
            [minimum_order] => 
            [count] => 5
            [user_type] => 
            [for_first_purchase] => 0
            [status] => active
            [expired_at] => 1756821000
            [created_at] => 1740927090
        )

    [original:protected] => Array
        (
            [id] => 24055
            [creator_id] => 13015
            [added_by] => admin
            [instructor_id] => 
            [city_id] => 
            [organ_id] => 
            [title] => N
            [discount_type] => percentage
            [source] => all
            [code] => m7c75mb5
            [percent] => 100
            [amount] => 
            [max_amount] => 
            [minimum_order] => 
            [count] => 5
            [user_type] => 
            [for_first_purchase] => 0
            [status] => active
            [expired_at] => 1756821000
            [created_at] => 1740927090
        )

    [changes:protected] => Array
        (
        )

    [casts:protected] => Array
        (
        )

    [classCastCache:protected] => Array
        (
        )

    [dates:protected] => Array
        (
        )

    [dateFormat:protected] => 
    [dispatchesEvents:protected] => Array
        (
        )

    [observables:protected] => Array
        (
        )

    [relations:protected] => Array
        (
        )

    [touches:protected] => Array
        (
        )

    [hidden:protected] => Array
        (
        )

    [visible:protected] => Array
        (
        )

    [fillable:protected] => Array
        (
        )

)
  
[2025-07-07 14:15:00] local.INFO: start checkValidDiscount function  
[2025-07-07 14:15:00] local.INFO: App\Models\Discount Object
(
    [timestamps] => 
    [guarded:protected] => Array
        (
            [0] => id
        )

    [appends:protected] => Array
        (
            [0] => code_length
        )

    [connection:protected] => mysql
    [table:protected] => discounts
    [primaryKey:protected] => id
    [keyType:protected] => int
    [incrementing] => 1
    [with:protected] => Array
        (
        )

    [withCount:protected] => Array
        (
        )

    [perPage:protected] => 15
    [exists] => 1
    [wasRecentlyCreated] => 
    [attributes:protected] => Array
        (
            [id] => 24055
            [creator_id] => 13015
            [added_by] => admin
            [instructor_id] => 
            [city_id] => 
            [organ_id] => 
            [title] => N
            [discount_type] => percentage
            [source] => all
            [code] => m7c75mb5
            [percent] => 100
            [amount] => 
            [max_amount] => 
            [minimum_order] => 
            [count] => 5
            [user_type] => 
            [for_first_purchase] => 0
            [status] => active
            [expired_at] => 1756821000
            [created_at] => 1740927090
        )

    [original:protected] => Array
        (
            [id] => 24055
            [creator_id] => 13015
            [added_by] => admin
            [instructor_id] => 
            [city_id] => 
            [organ_id] => 
            [title] => N
            [discount_type] => percentage
            [source] => all
            [code] => m7c75mb5
            [percent] => 100
            [amount] => 
            [max_amount] => 
            [minimum_order] => 
            [count] => 5
            [user_type] => 
            [for_first_purchase] => 0
            [status] => active
            [expired_at] => 1756821000
            [created_at] => 1740927090
        )

    [changes:protected] => Array
        (
        )

    [casts:protected] => Array
        (
        )

    [classCastCache:protected] => Array
        (
        )

    [dates:protected] => Array
        (
        )

    [dateFormat:protected] => 
    [dispatchesEvents:protected] => Array
        (
        )

    [observables:protected] => Array
        (
        )

    [relations:protected] => Array
        (
        )

    [touches:protected] => Array
        (
        )

    [hidden:protected] => Array
        (
        )

    [visible:protected] => Array
        (
        )

    [fillable:protected] => Array
        (
        )

)
  
[2025-07-07 14:43:48] local.INFO: start validateCoupon web function  
[2025-07-07 14:43:48] local.INFO: Request is: Array
(
    [coupon] => 3zc457wm
    [webinar_id] => 297
)
  
[2025-07-07 14:43:48] local.INFO: Coupon model: App\Models\Discount Object
(
    [timestamps] => 
    [guarded:protected] => Array
        (
            [0] => id
        )

    [appends:protected] => Array
        (
            [0] => code_length
        )

    [connection:protected] => mysql
    [table:protected] => discounts
    [primaryKey:protected] => id
    [keyType:protected] => int
    [incrementing] => 1
    [with:protected] => Array
        (
        )

    [withCount:protected] => Array
        (
        )

    [perPage:protected] => 15
    [exists] => 1
    [wasRecentlyCreated] => 
    [attributes:protected] => Array
        (
            [id] => 29390
            [creator_id] => 13015
            [added_by] => admin
            [instructor_id] => 
            [city_id] => 
            [organ_id] => 
            [title] => 16-6
            [discount_type] => percentage
            [source] => all
            [code] => 3zc457wm
            [percent] => 100
            [amount] => 
            [max_amount] => 
            [minimum_order] => 
            [count] => 5
            [user_type] => 
            [for_first_purchase] => 0
            [status] => active
            [expired_at] => 1765888440
            [created_at] => 1750073697
        )

    [original:protected] => Array
        (
            [id] => 29390
            [creator_id] => 13015
            [added_by] => admin
            [instructor_id] => 
            [city_id] => 
            [organ_id] => 
            [title] => 16-6
            [discount_type] => percentage
            [source] => all
            [code] => 3zc457wm
            [percent] => 100
            [amount] => 
            [max_amount] => 
            [minimum_order] => 
            [count] => 5
            [user_type] => 
            [for_first_purchase] => 0
            [status] => active
            [expired_at] => 1765888440
            [created_at] => 1750073697
        )

    [changes:protected] => Array
        (
        )

    [casts:protected] => Array
        (
        )

    [classCastCache:protected] => Array
        (
        )

    [dates:protected] => Array
        (
        )

    [dateFormat:protected] => 
    [dispatchesEvents:protected] => Array
        (
        )

    [observables:protected] => Array
        (
        )

    [relations:protected] => Array
        (
        )

    [touches:protected] => Array
        (
        )

    [hidden:protected] => Array
        (
        )

    [visible:protected] => Array
        (
        )

    [fillable:protected] => Array
        (
        )

)
  
[2025-07-07 14:43:48] local.INFO: start checkValidDiscount function  
[2025-07-07 14:43:48] local.INFO: App\Models\Discount Object
(
    [timestamps] => 
    [guarded:protected] => Array
        (
            [0] => id
        )

    [appends:protected] => Array
        (
            [0] => code_length
        )

    [connection:protected] => mysql
    [table:protected] => discounts
    [primaryKey:protected] => id
    [keyType:protected] => int
    [incrementing] => 1
    [with:protected] => Array
        (
        )

    [withCount:protected] => Array
        (
        )

    [perPage:protected] => 15
    [exists] => 1
    [wasRecentlyCreated] => 
    [attributes:protected] => Array
        (
            [id] => 29390
            [creator_id] => 13015
            [added_by] => admin
            [instructor_id] => 
            [city_id] => 
            [organ_id] => 
            [title] => 16-6
            [discount_type] => percentage
            [source] => all
            [code] => 3zc457wm
            [percent] => 100
            [amount] => 
            [max_amount] => 
            [minimum_order] => 
            [count] => 5
            [user_type] => 
            [for_first_purchase] => 0
            [status] => active
            [expired_at] => 1765888440
            [created_at] => 1750073697
        )

    [original:protected] => Array
        (
            [id] => 29390
            [creator_id] => 13015
            [added_by] => admin
            [instructor_id] => 
            [city_id] => 
            [organ_id] => 
            [title] => 16-6
            [discount_type] => percentage
            [source] => all
            [code] => 3zc457wm
            [percent] => 100
            [amount] => 
            [max_amount] => 
            [minimum_order] => 
            [count] => 5
            [user_type] => 
            [for_first_purchase] => 0
            [status] => active
            [expired_at] => 1765888440
            [created_at] => 1750073697
        )

    [changes:protected] => Array
        (
        )

    [casts:protected] => Array
        (
        )

    [classCastCache:protected] => Array
        (
        )

    [dates:protected] => Array
        (
        )

    [dateFormat:protected] => 
    [dispatchesEvents:protected] => Array
        (
        )

    [observables:protected] => Array
        (
        )

    [relations:protected] => Array
        (
        )

    [touches:protected] => Array
        (
        )

    [hidden:protected] => Array
        (
        )

    [visible:protected] => Array
        (
        )

    [fillable:protected] => Array
        (
        )

)
  
[2025-07-07 18:21:21] local.INFO: start validateCoupon web function  
[2025-07-07 18:21:21] local.INFO: Request is: Array
(
    [coupon] => dt8u4fvt
    [webinar_id] => 234
)
  
[2025-07-07 18:21:21] local.INFO: Coupon model: App\Models\Discount Object
(
    [timestamps] => 
    [guarded:protected] => Array
        (
            [0] => id
        )

    [appends:protected] => Array
        (
            [0] => code_length
        )

    [connection:protected] => mysql
    [table:protected] => discounts
    [primaryKey:protected] => id
    [keyType:protected] => int
    [incrementing] => 1
    [with:protected] => Array
        (
        )

    [withCount:protected] => Array
        (
        )

    [perPage:protected] => 15
    [exists] => 1
    [wasRecentlyCreated] => 
    [attributes:protected] => Array
        (
            [id] => 27141
            [creator_id] => 13015
            [added_by] => admin
            [instructor_id] => 
            [city_id] => 
            [organ_id] => 
            [title] => 16-4
            [discount_type] => percentage
            [source] => all
            [code] => dt8u4fvt
            [percent] => 100
            [amount] => 
            [max_amount] => 
            [minimum_order] => 
            [count] => 5
            [user_type] => 
            [for_first_purchase] => 0
            [status] => active
            [expired_at] => 1760640780
            [created_at] => 1744833657
        )

    [original:protected] => Array
        (
            [id] => 27141
            [creator_id] => 13015
            [added_by] => admin
            [instructor_id] => 
            [city_id] => 
            [organ_id] => 
            [title] => 16-4
            [discount_type] => percentage
            [source] => all
            [code] => dt8u4fvt
            [percent] => 100
            [amount] => 
            [max_amount] => 
            [minimum_order] => 
            [count] => 5
            [user_type] => 
            [for_first_purchase] => 0
            [status] => active
            [expired_at] => 1760640780
            [created_at] => 1744833657
        )

    [changes:protected] => Array
        (
        )

    [casts:protected] => Array
        (
        )

    [classCastCache:protected] => Array
        (
        )

    [dates:protected] => Array
        (
        )

    [dateFormat:protected] => 
    [dispatchesEvents:protected] => Array
        (
        )

    [observables:protected] => Array
        (
        )

    [relations:protected] => Array
        (
        )

    [touches:protected] => Array
        (
        )

    [hidden:protected] => Array
        (
        )

    [visible:protected] => Array
        (
        )

    [fillable:protected] => Array
        (
        )

)
  
[2025-07-07 18:21:21] local.INFO: start checkValidDiscount function  
[2025-07-07 18:21:21] local.INFO: App\Models\Discount Object
(
    [timestamps] => 
    [guarded:protected] => Array
        (
            [0] => id
        )

    [appends:protected] => Array
        (
            [0] => code_length
        )

    [connection:protected] => mysql
    [table:protected] => discounts
    [primaryKey:protected] => id
    [keyType:protected] => int
    [incrementing] => 1
    [with:protected] => Array
        (
        )

    [withCount:protected] => Array
        (
        )

    [perPage:protected] => 15
    [exists] => 1
    [wasRecentlyCreated] => 
    [attributes:protected] => Array
        (
            [id] => 27141
            [creator_id] => 13015
            [added_by] => admin
            [instructor_id] => 
            [city_id] => 
            [organ_id] => 
            [title] => 16-4
            [discount_type] => percentage
            [source] => all
            [code] => dt8u4fvt
            [percent] => 100
            [amount] => 
            [max_amount] => 
            [minimum_order] => 
            [count] => 5
            [user_type] => 
            [for_first_purchase] => 0
            [status] => active
            [expired_at] => 1760640780
            [created_at] => 1744833657
        )

    [original:protected] => Array
        (
            [id] => 27141
            [creator_id] => 13015
            [added_by] => admin
            [instructor_id] => 
            [city_id] => 
            [organ_id] => 
            [title] => 16-4
            [discount_type] => percentage
            [source] => all
            [code] => dt8u4fvt
            [percent] => 100
            [amount] => 
            [max_amount] => 
            [minimum_order] => 
            [count] => 5
            [user_type] => 
            [for_first_purchase] => 0
            [status] => active
            [expired_at] => 1760640780
            [created_at] => 1744833657
        )

    [changes:protected] => Array
        (
        )

    [casts:protected] => Array
        (
        )

    [classCastCache:protected] => Array
        (
        )

    [dates:protected] => Array
        (
        )

    [dateFormat:protected] => 
    [dispatchesEvents:protected] => Array
        (
        )

    [observables:protected] => Array
        (
        )

    [relations:protected] => Array
        (
        )

    [touches:protected] => Array
        (
        )

    [hidden:protected] => Array
        (
        )

    [visible:protected] => Array
        (
        )

    [fillable:protected] => Array
        (
        )

)
  
[2025-07-07 18:47:47] local.INFO: start validateCoupon web function  
[2025-07-07 18:47:47] local.INFO: Request is: Array
(
    [coupon] => ca6dv6us
    [webinar_id] => 306
)
  
[2025-07-07 18:47:47] local.INFO: Coupon model: App\Models\Discount Object
(
    [timestamps] => 
    [guarded:protected] => Array
        (
            [0] => id
        )

    [appends:protected] => Array
        (
            [0] => code_length
        )

    [connection:protected] => mysql
    [table:protected] => discounts
    [primaryKey:protected] => id
    [keyType:protected] => int
    [incrementing] => 1
    [with:protected] => Array
        (
        )

    [withCount:protected] => Array
        (
        )

    [perPage:protected] => 15
    [exists] => 1
    [wasRecentlyCreated] => 
    [attributes:protected] => Array
        (
            [id] => 26509
            [creator_id] => 13015
            [added_by] => admin
            [instructor_id] => 
            [city_id] => 
            [organ_id] => 
            [title] => 9-4
            [discount_type] => percentage
            [source] => all
            [code] => ca6dv6us
            [percent] => 100
            [amount] => 
            [max_amount] => 
            [minimum_order] => 
            [count] => 5
            [user_type] => 
            [for_first_purchase] => 0
            [status] => active
            [expired_at] => 1759997520
            [created_at] => 1744190044
        )

    [original:protected] => Array
        (
            [id] => 26509
            [creator_id] => 13015
            [added_by] => admin
            [instructor_id] => 
            [city_id] => 
            [organ_id] => 
            [title] => 9-4
            [discount_type] => percentage
            [source] => all
            [code] => ca6dv6us
            [percent] => 100
            [amount] => 
            [max_amount] => 
            [minimum_order] => 
            [count] => 5
            [user_type] => 
            [for_first_purchase] => 0
            [status] => active
            [expired_at] => 1759997520
            [created_at] => 1744190044
        )

    [changes:protected] => Array
        (
        )

    [casts:protected] => Array
        (
        )

    [classCastCache:protected] => Array
        (
        )

    [dates:protected] => Array
        (
        )

    [dateFormat:protected] => 
    [dispatchesEvents:protected] => Array
        (
        )

    [observables:protected] => Array
        (
        )

    [relations:protected] => Array
        (
        )

    [touches:protected] => Array
        (
        )

    [hidden:protected] => Array
        (
        )

    [visible:protected] => Array
        (
        )

    [fillable:protected] => Array
        (
        )

)
  
[2025-07-07 18:47:47] local.INFO: start checkValidDiscount function  
[2025-07-07 18:47:47] local.INFO: App\Models\Discount Object
(
    [timestamps] => 
    [guarded:protected] => Array
        (
            [0] => id
        )

    [appends:protected] => Array
        (
            [0] => code_length
        )

    [connection:protected] => mysql
    [table:protected] => discounts
    [primaryKey:protected] => id
    [keyType:protected] => int
    [incrementing] => 1
    [with:protected] => Array
        (
        )

    [withCount:protected] => Array
        (
        )

    [perPage:protected] => 15
    [exists] => 1
    [wasRecentlyCreated] => 
    [attributes:protected] => Array
        (
            [id] => 26509
            [creator_id] => 13015
            [added_by] => admin
            [instructor_id] => 
            [city_id] => 
            [organ_id] => 
            [title] => 9-4
            [discount_type] => percentage
            [source] => all
            [code] => ca6dv6us
            [percent] => 100
            [amount] => 
            [max_amount] => 
            [minimum_order] => 
            [count] => 5
            [user_type] => 
            [for_first_purchase] => 0
            [status] => active
            [expired_at] => 1759997520
            [created_at] => 1744190044
        )

    [original:protected] => Array
        (
            [id] => 26509
            [creator_id] => 13015
            [added_by] => admin
            [instructor_id] => 
            [city_id] => 
            [organ_id] => 
            [title] => 9-4
            [discount_type] => percentage
            [source] => all
            [code] => ca6dv6us
            [percent] => 100
            [amount] => 
            [max_amount] => 
            [minimum_order] => 
            [count] => 5
            [user_type] => 
            [for_first_purchase] => 0
            [status] => active
            [expired_at] => 1759997520
            [created_at] => 1744190044
        )

    [changes:protected] => Array
        (
        )

    [casts:protected] => Array
        (
        )

    [classCastCache:protected] => Array
        (
        )

    [dates:protected] => Array
        (
        )

    [dateFormat:protected] => 
    [dispatchesEvents:protected] => Array
        (
        )

    [observables:protected] => Array
        (
        )

    [relations:protected] => Array
        (
        )

    [touches:protected] => Array
        (
        )

    [hidden:protected] => Array
        (
        )

    [visible:protected] => Array
        (
        )

    [fillable:protected] => Array
        (
        )

)
  
[2025-07-07 18:48:43] local.INFO: start validateCoupon web function  
[2025-07-07 18:48:43] local.INFO: Request is: Array
(
    [coupon] => ca6dv6us
    [webinar_id] => 307
)
  
[2025-07-07 18:48:43] local.INFO: Coupon model: App\Models\Discount Object
(
    [timestamps] => 
    [guarded:protected] => Array
        (
            [0] => id
        )

    [appends:protected] => Array
        (
            [0] => code_length
        )

    [connection:protected] => mysql
    [table:protected] => discounts
    [primaryKey:protected] => id
    [keyType:protected] => int
    [incrementing] => 1
    [with:protected] => Array
        (
        )

    [withCount:protected] => Array
        (
        )

    [perPage:protected] => 15
    [exists] => 1
    [wasRecentlyCreated] => 
    [attributes:protected] => Array
        (
            [id] => 26509
            [creator_id] => 13015
            [added_by] => admin
            [instructor_id] => 
            [city_id] => 
            [organ_id] => 
            [title] => 9-4
            [discount_type] => percentage
            [source] => all
            [code] => ca6dv6us
            [percent] => 100
            [amount] => 
            [max_amount] => 
            [minimum_order] => 
            [count] => 5
            [user_type] => 
            [for_first_purchase] => 0
            [status] => active
            [expired_at] => 1759997520
            [created_at] => 1744190044
        )

    [original:protected] => Array
        (
            [id] => 26509
            [creator_id] => 13015
            [added_by] => admin
            [instructor_id] => 
            [city_id] => 
            [organ_id] => 
            [title] => 9-4
            [discount_type] => percentage
            [source] => all
            [code] => ca6dv6us
            [percent] => 100
            [amount] => 
            [max_amount] => 
            [minimum_order] => 
            [count] => 5
            [user_type] => 
            [for_first_purchase] => 0
            [status] => active
            [expired_at] => 1759997520
            [created_at] => 1744190044
        )

    [changes:protected] => Array
        (
        )

    [casts:protected] => Array
        (
        )

    [classCastCache:protected] => Array
        (
        )

    [dates:protected] => Array
        (
        )

    [dateFormat:protected] => 
    [dispatchesEvents:protected] => Array
        (
        )

    [observables:protected] => Array
        (
        )

    [relations:protected] => Array
        (
        )

    [touches:protected] => Array
        (
        )

    [hidden:protected] => Array
        (
        )

    [visible:protected] => Array
        (
        )

    [fillable:protected] => Array
        (
        )

)
  
[2025-07-07 18:49:30] local.INFO: start validateCoupon web function  
[2025-07-07 18:49:30] local.INFO: Request is: Array
(
    [coupon] => 2p5w6h56
    [webinar_id] => 307
)
  
[2025-07-07 18:49:30] local.INFO: Coupon model: App\Models\Discount Object
(
    [timestamps] => 
    [guarded:protected] => Array
        (
            [0] => id
        )

    [appends:protected] => Array
        (
            [0] => code_length
        )

    [connection:protected] => mysql
    [table:protected] => discounts
    [primaryKey:protected] => id
    [keyType:protected] => int
    [incrementing] => 1
    [with:protected] => Array
        (
        )

    [withCount:protected] => Array
        (
        )

    [perPage:protected] => 15
    [exists] => 1
    [wasRecentlyCreated] => 
    [attributes:protected] => Array
        (
            [id] => 27902
            [creator_id] => 13015
            [added_by] => admin
            [instructor_id] => 
            [city_id] => 
            [organ_id] => 
            [title] => s3
            [discount_type] => percentage
            [source] => all
            [code] => 2p5w6h56
            [percent] => 100
            [amount] => 
            [max_amount] => 
            [minimum_order] => 
            [count] => 5
            [user_type] => 
            [for_first_purchase] => 0
            [status] => active
            [expired_at] => 1761075900
            [created_at] => 1745268373
        )

    [original:protected] => Array
        (
            [id] => 27902
            [creator_id] => 13015
            [added_by] => admin
            [instructor_id] => 
            [city_id] => 
            [organ_id] => 
            [title] => s3
            [discount_type] => percentage
            [source] => all
            [code] => 2p5w6h56
            [percent] => 100
            [amount] => 
            [max_amount] => 
            [minimum_order] => 
            [count] => 5
            [user_type] => 
            [for_first_purchase] => 0
            [status] => active
            [expired_at] => 1761075900
            [created_at] => 1745268373
        )

    [changes:protected] => Array
        (
        )

    [casts:protected] => Array
        (
        )

    [classCastCache:protected] => Array
        (
        )

    [dates:protected] => Array
        (
        )

    [dateFormat:protected] => 
    [dispatchesEvents:protected] => Array
        (
        )

    [observables:protected] => Array
        (
        )

    [relations:protected] => Array
        (
        )

    [touches:protected] => Array
        (
        )

    [hidden:protected] => Array
        (
        )

    [visible:protected] => Array
        (
        )

    [fillable:protected] => Array
        (
        )

)
  
[2025-07-07 18:49:30] local.INFO: start checkValidDiscount function  
[2025-07-07 18:49:30] local.INFO: App\Models\Discount Object
(
    [timestamps] => 
    [guarded:protected] => Array
        (
            [0] => id
        )

    [appends:protected] => Array
        (
            [0] => code_length
        )

    [connection:protected] => mysql
    [table:protected] => discounts
    [primaryKey:protected] => id
    [keyType:protected] => int
    [incrementing] => 1
    [with:protected] => Array
        (
        )

    [withCount:protected] => Array
        (
        )

    [perPage:protected] => 15
    [exists] => 1
    [wasRecentlyCreated] => 
    [attributes:protected] => Array
        (
            [id] => 27902
            [creator_id] => 13015
            [added_by] => admin
            [instructor_id] => 
            [city_id] => 
            [organ_id] => 
            [title] => s3
            [discount_type] => percentage
            [source] => all
            [code] => 2p5w6h56
            [percent] => 100
            [amount] => 
            [max_amount] => 
            [minimum_order] => 
            [count] => 5
            [user_type] => 
            [for_first_purchase] => 0
            [status] => active
            [expired_at] => 1761075900
            [created_at] => 1745268373
        )

    [original:protected] => Array
        (
            [id] => 27902
            [creator_id] => 13015
            [added_by] => admin
            [instructor_id] => 
            [city_id] => 
            [organ_id] => 
            [title] => s3
            [discount_type] => percentage
            [source] => all
            [code] => 2p5w6h56
            [percent] => 100
            [amount] => 
            [max_amount] => 
            [minimum_order] => 
            [count] => 5
            [user_type] => 
            [for_first_purchase] => 0
            [status] => active
            [expired_at] => 1761075900
            [created_at] => 1745268373
        )

    [changes:protected] => Array
        (
        )

    [casts:protected] => Array
        (
        )

    [classCastCache:protected] => Array
        (
        )

    [dates:protected] => Array
        (
        )

    [dateFormat:protected] => 
    [dispatchesEvents:protected] => Array
        (
        )

    [observables:protected] => Array
        (
        )

    [relations:protected] => Array
        (
        )

    [touches:protected] => Array
        (
        )

    [hidden:protected] => Array
        (
        )

    [visible:protected] => Array
        (
        )

    [fillable:protected] => Array
        (
        )

)
  
[2025-07-07 19:16:00] local.INFO: start validateCoupon web function  
[2025-07-07 19:16:00] local.INFO: Request is: Array
(
    [coupon] => zd8pck3n
    [webinar_id] => 303
)
  
[2025-07-07 19:16:00] local.INFO: Coupon model: App\Models\Discount Object
(
    [timestamps] => 
    [guarded:protected] => Array
        (
            [0] => id
        )

    [appends:protected] => Array
        (
            [0] => code_length
        )

    [connection:protected] => mysql
    [table:protected] => discounts
    [primaryKey:protected] => id
    [keyType:protected] => int
    [incrementing] => 1
    [with:protected] => Array
        (
        )

    [withCount:protected] => Array
        (
        )

    [perPage:protected] => 15
    [exists] => 1
    [wasRecentlyCreated] => 
    [attributes:protected] => Array
        (
            [id] => 29389
            [creator_id] => 13015
            [added_by] => admin
            [instructor_id] => 
            [city_id] => 
            [organ_id] => 
            [title] => 16-6
            [discount_type] => percentage
            [source] => all
            [code] => zd8pck3n
            [percent] => 100
            [amount] => 
            [max_amount] => 
            [minimum_order] => 
            [count] => 5
            [user_type] => 
            [for_first_purchase] => 0
            [status] => active
            [expired_at] => 1765888440
            [created_at] => 1750073697
        )

    [original:protected] => Array
        (
            [id] => 29389
            [creator_id] => 13015
            [added_by] => admin
            [instructor_id] => 
            [city_id] => 
            [organ_id] => 
            [title] => 16-6
            [discount_type] => percentage
            [source] => all
            [code] => zd8pck3n
            [percent] => 100
            [amount] => 
            [max_amount] => 
            [minimum_order] => 
            [count] => 5
            [user_type] => 
            [for_first_purchase] => 0
            [status] => active
            [expired_at] => 1765888440
            [created_at] => 1750073697
        )

    [changes:protected] => Array
        (
        )

    [casts:protected] => Array
        (
        )

    [classCastCache:protected] => Array
        (
        )

    [dates:protected] => Array
        (
        )

    [dateFormat:protected] => 
    [dispatchesEvents:protected] => Array
        (
        )

    [observables:protected] => Array
        (
        )

    [relations:protected] => Array
        (
        )

    [touches:protected] => Array
        (
        )

    [hidden:protected] => Array
        (
        )

    [visible:protected] => Array
        (
        )

    [fillable:protected] => Array
        (
        )

)
  
[2025-07-07 19:16:00] local.INFO: start checkValidDiscount function  
[2025-07-07 19:16:00] local.INFO: App\Models\Discount Object
(
    [timestamps] => 
    [guarded:protected] => Array
        (
            [0] => id
        )

    [appends:protected] => Array
        (
            [0] => code_length
        )

    [connection:protected] => mysql
    [table:protected] => discounts
    [primaryKey:protected] => id
    [keyType:protected] => int
    [incrementing] => 1
    [with:protected] => Array
        (
        )

    [withCount:protected] => Array
        (
        )

    [perPage:protected] => 15
    [exists] => 1
    [wasRecentlyCreated] => 
    [attributes:protected] => Array
        (
            [id] => 29389
            [creator_id] => 13015
            [added_by] => admin
            [instructor_id] => 
            [city_id] => 
            [organ_id] => 
            [title] => 16-6
            [discount_type] => percentage
            [source] => all
            [code] => zd8pck3n
            [percent] => 100
            [amount] => 
            [max_amount] => 
            [minimum_order] => 
            [count] => 5
            [user_type] => 
            [for_first_purchase] => 0
            [status] => active
            [expired_at] => 1765888440
            [created_at] => 1750073697
        )

    [original:protected] => Array
        (
            [id] => 29389
            [creator_id] => 13015
            [added_by] => admin
            [instructor_id] => 
            [city_id] => 
            [organ_id] => 
            [title] => 16-6
            [discount_type] => percentage
            [source] => all
            [code] => zd8pck3n
            [percent] => 100
            [amount] => 
            [max_amount] => 
            [minimum_order] => 
            [count] => 5
            [user_type] => 
            [for_first_purchase] => 0
            [status] => active
            [expired_at] => 1765888440
            [created_at] => 1750073697
        )

    [changes:protected] => Array
        (
        )

    [casts:protected] => Array
        (
        )

    [classCastCache:protected] => Array
        (
        )

    [dates:protected] => Array
        (
        )

    [dateFormat:protected] => 
    [dispatchesEvents:protected] => Array
        (
        )

    [observables:protected] => Array
        (
        )

    [relations:protected] => Array
        (
        )

    [touches:protected] => Array
        (
        )

    [hidden:protected] => Array
        (
        )

    [visible:protected] => Array
        (
        )

    [fillable:protected] => Array
        (
        )

)
  
