[2025-06-14 00:53:32] local.INFO: start validateCoupon web function  
[2025-06-14 00:53:32] local.INFO: Request is: Array
(
    [coupon] => r7653748
    [webinar_id] => 307
)
  
[2025-06-14 00:53:32] 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] => 28889
            [creator_id] => 13015
            [added_by] => admin
            [instructor_id] => 
            [city_id] => 
            [organ_id] => 
            [title] => 17-5
            [discount_type] => percentage
            [source] => all
            [code] => r7653748
            [percent] => 100
            [amount] => 
            [max_amount] => 
            [minimum_order] => 
            [count] => 5
            [user_type] => 
            [for_first_purchase] => 0
            [status] => active
            [expired_at] => 1763406300
            [created_at] => 1747505131
        )

    [original:protected] => Array
        (
            [id] => 28889
            [creator_id] => 13015
            [added_by] => admin
            [instructor_id] => 
            [city_id] => 
            [organ_id] => 
            [title] => 17-5
            [discount_type] => percentage
            [source] => all
            [code] => r7653748
            [percent] => 100
            [amount] => 
            [max_amount] => 
            [minimum_order] => 
            [count] => 5
            [user_type] => 
            [for_first_purchase] => 0
            [status] => active
            [expired_at] => 1763406300
            [created_at] => 1747505131
        )

    [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-06-14 00:53:36] local.INFO: start validateCoupon web function  
[2025-06-14 00:53:36] local.INFO: Request is: Array
(
    [coupon] => r7653748
    [webinar_id] => 307
)
  
[2025-06-14 00:53:36] 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] => 28889
            [creator_id] => 13015
            [added_by] => admin
            [instructor_id] => 
            [city_id] => 
            [organ_id] => 
            [title] => 17-5
            [discount_type] => percentage
            [source] => all
            [code] => r7653748
            [percent] => 100
            [amount] => 
            [max_amount] => 
            [minimum_order] => 
            [count] => 5
            [user_type] => 
            [for_first_purchase] => 0
            [status] => active
            [expired_at] => 1763406300
            [created_at] => 1747505131
        )

    [original:protected] => Array
        (
            [id] => 28889
            [creator_id] => 13015
            [added_by] => admin
            [instructor_id] => 
            [city_id] => 
            [organ_id] => 
            [title] => 17-5
            [discount_type] => percentage
            [source] => all
            [code] => r7653748
            [percent] => 100
            [amount] => 
            [max_amount] => 
            [minimum_order] => 
            [count] => 5
            [user_type] => 
            [for_first_purchase] => 0
            [status] => active
            [expired_at] => 1763406300
            [created_at] => 1747505131
        )

    [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-06-14 00:54:08] local.INFO: start validateCoupon web function  
[2025-06-14 00:54:08] local.INFO: Request is: Array
(
    [coupon] => 2c77hzws
    [webinar_id] => 307
)
  
[2025-06-14 00:54:08] 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] => 29211
            [creator_id] => 13015
            [added_by] => admin
            [instructor_id] => 
            [city_id] => 
            [organ_id] => 
            [title] => 31-5
            [discount_type] => percentage
            [source] => all
            [code] => 2c77hzws
            [percent] => 100
            [amount] => 
            [max_amount] => 
            [minimum_order] => 
            [count] => 5
            [user_type] => 
            [for_first_purchase] => 0
            [status] => active
            [expired_at] => 1764615660
            [created_at] => 1748714574
        )

    [original:protected] => Array
        (
            [id] => 29211
            [creator_id] => 13015
            [added_by] => admin
            [instructor_id] => 
            [city_id] => 
            [organ_id] => 
            [title] => 31-5
            [discount_type] => percentage
            [source] => all
            [code] => 2c77hzws
            [percent] => 100
            [amount] => 
            [max_amount] => 
            [minimum_order] => 
            [count] => 5
            [user_type] => 
            [for_first_purchase] => 0
            [status] => active
            [expired_at] => 1764615660
            [created_at] => 1748714574
        )

    [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-06-14 00:54:08] local.INFO: start checkValidDiscount function  
[2025-06-14 00:54:08] 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] => 29211
            [creator_id] => 13015
            [added_by] => admin
            [instructor_id] => 
            [city_id] => 
            [organ_id] => 
            [title] => 31-5
            [discount_type] => percentage
            [source] => all
            [code] => 2c77hzws
            [percent] => 100
            [amount] => 
            [max_amount] => 
            [minimum_order] => 
            [count] => 5
            [user_type] => 
            [for_first_purchase] => 0
            [status] => active
            [expired_at] => 1764615660
            [created_at] => 1748714574
        )

    [original:protected] => Array
        (
            [id] => 29211
            [creator_id] => 13015
            [added_by] => admin
            [instructor_id] => 
            [city_id] => 
            [organ_id] => 
            [title] => 31-5
            [discount_type] => percentage
            [source] => all
            [code] => 2c77hzws
            [percent] => 100
            [amount] => 
            [max_amount] => 
            [minimum_order] => 
            [count] => 5
            [user_type] => 
            [for_first_purchase] => 0
            [status] => active
            [expired_at] => 1764615660
            [created_at] => 1748714574
        )

    [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-06-14 12:56:28] local.INFO: start validateCoupon web function  
[2025-06-14 12:56:28] local.INFO: Request is: Array
(
    [coupon] => 7s6abhpz
    [webinar_id] => 301
)
  
[2025-06-14 12:56:28] 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] => 29195
            [creator_id] => 13015
            [added_by] => admin
            [instructor_id] => 
            [city_id] => 
            [organ_id] => 
            [title] => 31-5
            [discount_type] => percentage
            [source] => all
            [code] => 7s6abhpz
            [percent] => 100
            [amount] => 
            [max_amount] => 
            [minimum_order] => 
            [count] => 5
            [user_type] => 
            [for_first_purchase] => 0
            [status] => active
            [expired_at] => 1764615660
            [created_at] => 1748714574
        )

    [original:protected] => Array
        (
            [id] => 29195
            [creator_id] => 13015
            [added_by] => admin
            [instructor_id] => 
            [city_id] => 
            [organ_id] => 
            [title] => 31-5
            [discount_type] => percentage
            [source] => all
            [code] => 7s6abhpz
            [percent] => 100
            [amount] => 
            [max_amount] => 
            [minimum_order] => 
            [count] => 5
            [user_type] => 
            [for_first_purchase] => 0
            [status] => active
            [expired_at] => 1764615660
            [created_at] => 1748714574
        )

    [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-06-14 12:56:28] local.INFO: start checkValidDiscount function  
[2025-06-14 12:56:28] 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] => 29195
            [creator_id] => 13015
            [added_by] => admin
            [instructor_id] => 
            [city_id] => 
            [organ_id] => 
            [title] => 31-5
            [discount_type] => percentage
            [source] => all
            [code] => 7s6abhpz
            [percent] => 100
            [amount] => 
            [max_amount] => 
            [minimum_order] => 
            [count] => 5
            [user_type] => 
            [for_first_purchase] => 0
            [status] => active
            [expired_at] => 1764615660
            [created_at] => 1748714574
        )

    [original:protected] => Array
        (
            [id] => 29195
            [creator_id] => 13015
            [added_by] => admin
            [instructor_id] => 
            [city_id] => 
            [organ_id] => 
            [title] => 31-5
            [discount_type] => percentage
            [source] => all
            [code] => 7s6abhpz
            [percent] => 100
            [amount] => 
            [max_amount] => 
            [minimum_order] => 
            [count] => 5
            [user_type] => 
            [for_first_purchase] => 0
            [status] => active
            [expired_at] => 1764615660
            [created_at] => 1748714574
        )

    [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
        (
        )

)
  
