Logo

Checkout

Login Or Create Account

Payment

Document

SCI 228 Week 7 Lab Assignment; Life Cycle

Price



$10

Pay as you go

  • You are paying only for the selected document
  • Download available instantly after payment
  • You are going to buy only ONE document right now

Request history8.1.28PHP Version148msRequest Duration2MBMemory UsageGET checkout/{slug}Route
    • Booting (85.54ms)time
    • Application (62ms)time
    • 1 x Booting (57.96%)
      85.54ms
      1 x Application (42.02%)
      62.00ms
      4 templates were rendered
      • checkout.indexindex.blade.php#?blade
      • layouts.appapp.blade.php#?blade
      • layouts.navigationnavigation.blade.php#?blade
      • components.footerfooter.blade.php#?blade
      uri
      GET checkout/{slug}
      middleware
      web
      controller
      App\Http\Controllers\CheckoutController@index
      namespace
      prefix
      where
      as
      checkout
      file
      app/Http/Controllers/CheckoutController.php:56-67
      16 statements were executed, 10 of which were duplicates, 6 unique. Show only duplicated15.34ms
      • Connection Establishedthesagf1_secgracustCheckoutController.php#46
        Backtrace
        • 15. app/Http/Controllers/CheckoutController.php:46
        • 17. vendor/laravel/framework/src/Illuminate/Container/Container.php:952
        • 18. vendor/laravel/framework/src/Illuminate/Container/Container.php:795
        • 19. vendor/laravel/framework/src/Illuminate/Foundation/Application.php:957
        • 20. vendor/laravel/framework/src/Illuminate/Container/Container.php:731
      • select * from `payment_gateways` where `name` = 'Stripe' limit 1
        4.61msthesagf1_secgracustCheckoutController.php#46
        Bindings
        • 0: Stripe
        Backtrace
        • 16. app/Http/Controllers/CheckoutController.php:46
        • 18. vendor/laravel/framework/src/Illuminate/Container/Container.php:952
        • 19. vendor/laravel/framework/src/Illuminate/Container/Container.php:795
        • 20. vendor/laravel/framework/src/Illuminate/Foundation/Application.php:957
        • 21. vendor/laravel/framework/src/Illuminate/Container/Container.php:731
      • select * from `payment_gateways` where `name` = 'Stripe' limit 1
        470μsthesagf1_secgracustCheckoutController.php#52
        Bindings
        • 0: Stripe
        Backtrace
        • 16. app/Http/Controllers/CheckoutController.php:52
        • 18. vendor/laravel/framework/src/Illuminate/Container/Container.php:952
        • 19. vendor/laravel/framework/src/Illuminate/Container/Container.php:795
        • 20. vendor/laravel/framework/src/Illuminate/Foundation/Application.php:957
        • 21. vendor/laravel/framework/src/Illuminate/Container/Container.php:731
      • select * from `products` where `slug` = 'sci-228-week-7-lab-assignment-life-cycle-1' and `products`.`deleted_at` is null limit 1
        2.06msthesagf1_secgracustCheckoutController.php#57
        Bindings
        • 0: sci-228-week-7-lab-assignment-life-cycle-1
        Backtrace
        • 16. app/Http/Controllers/CheckoutController.php:57
        • 17. vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
        • 18. vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:43
        • 19. vendor/laravel/framework/src/Illuminate/Routing/Route.php:260
        • 20. vendor/laravel/framework/src/Illuminate/Routing/Route.php:205
      • select * from `payment_gateways` where `is_for_subscription` = 0 and `status` = 1
        2.28msthesagf1_secgracustPaymentGateway.php#19
        Bindings
        • 0: 0
        • 1: 1
        Backtrace
        • 15. app/Models/PaymentGateway.php:19
        • 16. app/Http/Controllers/CheckoutController.php:60
        • 17. vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
        • 18. vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:43
        • 19. vendor/laravel/framework/src/Illuminate/Routing/Route.php:260
      • select * from `pages` where `status` = 1
        590μsthesagf1_secgracustPages.php#18
        Bindings
        • 0: 1
        Backtrace
        • 15. app/Models/Pages.php:18
        • 16. app/Providers/AppServiceProvider.php:21
        • 17. vendor/laravel/framework/src/Illuminate/View/Concerns/ManagesEvents.php:162
        • 21. vendor/laravel/framework/src/Illuminate/View/Concerns/ManagesEvents.php:177
        • 22. vendor/laravel/framework/src/Illuminate/View/View.php:188
      • select * from `site_setting` limit 1
        440μsthesagf1_secgracustAppServiceProvider.php#29
        Backtrace
        • 19. app/Providers/AppServiceProvider.php:29
        • 20. vendor/laravel/framework/src/Illuminate/View/Concerns/ManagesEvents.php:162
        • 24. vendor/laravel/framework/src/Illuminate/View/Concerns/ManagesEvents.php:177
        • 25. vendor/laravel/framework/src/Illuminate/View/View.php:188
        • 26. vendor/laravel/framework/src/Illuminate/View/View.php:159
      • select * from `plans`
        860μsthesagf1_secgracustindex.blade.php#55
        Backtrace
        • 18. view::checkout.index:55
        • 20. vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:124
        • 21. vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58
        • 22. vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:72
        • 23. vendor/laravel/framework/src/Illuminate/View/View.php:207
      • select * from `product_categories` where `product_categories`.`product_id` = 521 and `product_categories`.`product_id` is not null
        510μsthesagf1_secgracustindex.blade.php#58
        Bindings
        • 0: 521
        Backtrace
        • 20. view::checkout.index:58
        • 22. vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:124
        • 23. vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58
        • 24. vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:72
        • 25. vendor/laravel/framework/src/Illuminate/View/View.php:207
      • select * from `subscription_plan_user` where `user_id` is null and `category_id` in (55) limit 1
        460μsthesagf1_secgracustindex.blade.php#58
        Bindings
        • 0: 55
        Backtrace
        • 14. view::checkout.index:58
        • 16. vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:124
        • 17. vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58
        • 18. vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:72
        • 19. vendor/laravel/framework/src/Illuminate/View/View.php:207
      • select * from `subscription_plan` where `id` is null limit 1
        390μsthesagf1_secgracustindex.blade.php#60
        Backtrace
        • 16. view::checkout.index:60
        • 18. vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:124
        • 19. vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58
        • 20. vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:72
        • 21. vendor/laravel/framework/src/Illuminate/View/View.php:207
      • select * from `pages` where `status` = 1
        590μsthesagf1_secgracustPages.php#18
        Bindings
        • 0: 1
        Backtrace
        • 15. app/Models/Pages.php:18
        • 16. app/Providers/AppServiceProvider.php:21
        • 17. vendor/laravel/framework/src/Illuminate/View/Concerns/ManagesEvents.php:162
        • 21. vendor/laravel/framework/src/Illuminate/View/Concerns/ManagesEvents.php:177
        • 22. vendor/laravel/framework/src/Illuminate/View/View.php:188
      • select * from `site_setting` limit 1
        310μsthesagf1_secgracustAppServiceProvider.php#29
        Backtrace
        • 19. app/Providers/AppServiceProvider.php:29
        • 20. vendor/laravel/framework/src/Illuminate/View/Concerns/ManagesEvents.php:162
        • 24. vendor/laravel/framework/src/Illuminate/View/Concerns/ManagesEvents.php:177
        • 25. vendor/laravel/framework/src/Illuminate/View/View.php:188
        • 26. vendor/laravel/framework/src/Illuminate/View/View.php:159
      • select * from `pages` where `status` = 1
        540μsthesagf1_secgracustPages.php#18
        Bindings
        • 0: 1
        Backtrace
        • 15. app/Models/Pages.php:18
        • 16. app/Providers/AppServiceProvider.php:21
        • 17. vendor/laravel/framework/src/Illuminate/View/Concerns/ManagesEvents.php:162
        • 21. vendor/laravel/framework/src/Illuminate/View/Concerns/ManagesEvents.php:177
        • 22. vendor/laravel/framework/src/Illuminate/View/View.php:188
      • select * from `site_setting` limit 1
        300μsthesagf1_secgracustAppServiceProvider.php#29
        Backtrace
        • 19. app/Providers/AppServiceProvider.php:29
        • 20. vendor/laravel/framework/src/Illuminate/View/Concerns/ManagesEvents.php:162
        • 24. vendor/laravel/framework/src/Illuminate/View/Concerns/ManagesEvents.php:177
        • 25. vendor/laravel/framework/src/Illuminate/View/View.php:188
        • 26. vendor/laravel/framework/src/Illuminate/View/View.php:159
      • select * from `pages` where `status` = 1
        570μsthesagf1_secgracustPages.php#18
        Bindings
        • 0: 1
        Backtrace
        • 15. app/Models/Pages.php:18
        • 16. app/Providers/AppServiceProvider.php:21
        • 17. vendor/laravel/framework/src/Illuminate/View/Concerns/ManagesEvents.php:162
        • 21. vendor/laravel/framework/src/Illuminate/View/Concerns/ManagesEvents.php:177
        • 22. vendor/laravel/framework/src/Illuminate/View/View.php:188
      • select * from `site_setting` limit 1
        360μsthesagf1_secgracustAppServiceProvider.php#29
        Backtrace
        • 19. app/Providers/AppServiceProvider.php:29
        • 20. vendor/laravel/framework/src/Illuminate/View/Concerns/ManagesEvents.php:162
        • 24. vendor/laravel/framework/src/Illuminate/View/Concerns/ManagesEvents.php:177
        • 25. vendor/laravel/framework/src/Illuminate/View/View.php:188
        • 26. vendor/laravel/framework/src/Illuminate/View/View.php:159
      App\Models\Pages
      20Pages.php#?
      App\Models\Plan
      5Plan.php#?
      App\Models\SiteSetting
      4SiteSetting.php#?
      App\Models\PaymentGateway
      3PaymentGateway.php#?
      App\Models\Product
      1Product.php#?
      App\Models\ProductCategory
      1ProductCategory.php#?
          _token
          ZZ3jCWsMSEgi14DeQj9bMFIfbVn0dhScAgj2TykY
          _previous
          array:1 [ "url" => "https://securegrades.com/checkout/sci-228-week-7-lab-assignment-life-cycle-1" ...
          _flash
          array:2 [ "old" => [] "new" => [] ]
          PHPDEBUGBAR_STACK_DATA
          []
          telescope
          View in Telescope
          path_info
          /checkout/sci-228-week-7-lab-assignment-life-cycle-1
          status_code
          200
          
          status_text
          OK
          format
          html
          content_type
          text/html; charset=UTF-8
          request_query
          []
          
          request_request
          []
          
          request_headers
          0 of 0
          array:18 [ "accept" => array:1 [ 0 => "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7" ] "accept-encoding" => array:1 [ 0 => "gzip, deflate, br, zstd" ] "content-length" => array:1 [ 0 => "0" ] "cookie" => array:1 [ 0 => "XSRF-TOKEN=eyJpdiI6IlVucHY4MmNzZFR6Tlk4K3BQeDlEaFE9PSIsInZhbHVlIjoiWnVFWkpIN3dXeXJTMk1DeVhmMU9tM29sbTdFbGx4SUpOTXZMWUd3MXAyZ2dsaTdBbFpZa2UxTVhxem5CNTRoUTF6QUoxeEE4UW5RQU1tb09UWmVCcVBKdFdxcldhVC9ibDdqQWN6c1ZxMlNyd0l1ZU4vN0tpVEFlejRRRTJ4OUUiLCJtYWMiOiI1OTM3NTI4ZjcyYjU4N2RkMGJiOTE4ZTkxNzA5ZWMzNmQ3NmVkNzZlZTI4NzI3ZWE2N2Q5ZmNiYzU0YjgxZDJkIiwidGFnIjoiIn0%3D; securegrades_session=eyJpdiI6ImhjZDJ1bm5SSVhGbmowWGpkTkhxdWc9PSIsInZhbHVlIjoiYlJ4enR2VEFwSXFSSm1EZGtqdGN6L0dycEVIaDVQK2tXRnphQjFyRG1RbGV1MlVWM2cwOGcrS1FjZUIySndmSitRUVA4QUt2V3RsRlhYTmtIOEZRM0s3dzY1czh1N0oydTdiNFJzK0pjTndrU1ZLVFRqZC9pdWxFSUFnWG9jbEYiLCJtYWMiOiJjZmE4MGEwODgyMjgxZWJkM2UzMGE4NmU5NDFhMGM1ODc3ZTJmZTYxNTI4YWJlOThiOWZmNzk3NDEwMTZkNjdiIiwidGFnIjoiIn0%3DXSRF-TOKEN=eyJpdiI6IlVucHY4MmNzZFR6Tlk4K3BQeDlEaFE9PSIsInZhbHVlIjoiWnVFWkpIN3dXeXJTMk1DeVhmMU9tM29sbTdFbGx4SUpOTXZMWUd3MXAyZ2dsaTdBbFpZa2UxTVhxem5CNTRoUTF6QUoxe" ] "host" => array:1 [ 0 => "securegrades.com" ] "pragma" => array:1 [ 0 => "no-cache" ] "user-agent" => array:1 [ 0 => "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)" ] "cache-control" => array:1 [ 0 => "no-cache" ] "sec-ch-ua" => array:1 [ 0 => ""HeadlessChrome";v="129", "Not=A?Brand";v="8", "Chromium";v="129"" ] "sec-ch-ua-mobile" => array:1 [ 0 => "?0" ] "sec-ch-ua-platform" => array:1 [ 0 => ""Windows"" ] "upgrade-insecure-requests" => array:1 [ 0 => "1" ] "sec-fetch-site" => array:1 [ 0 => "none" ] "sec-fetch-mode" => array:1 [ 0 => "navigate" ] "sec-fetch-user" => array:1 [ 0 => "?1" ] "sec-fetch-dest" => array:1 [ 0 => "document" ] "priority" => array:1 [ 0 => "u=0, i" ] "x-https" => array:1 [ 0 => "1" ] ]
          request_cookies
          0 of 0
          array:2 [ "XSRF-TOKEN" => "ZZ3jCWsMSEgi14DeQj9bMFIfbVn0dhScAgj2TykY" "securegrades_session" => "VOQU9LyH5luBQbK7sOMmnMdJuqJdpDQj9nc9o816" ]
          response_headers
          0 of 0
          array:5 [ "content-type" => array:1 [ 0 => "text/html; charset=UTF-8" ] "cache-control" => array:1 [ 0 => "no-cache, private" ] "date" => array:1 [ 0 => "Sat, 12 Apr 2025 09:44:43 GMT" ] "set-cookie" => array:2 [ 0 => "XSRF-TOKEN=eyJpdiI6Ii9NSzY1cmowK3hRelJXWGs0SGc0amc9PSIsInZhbHVlIjoiWWRuZXZJRFdRai9DRjhidG9CNDBQWDZFRm1MdHo3bmpmUVlKb29KZ1Q2a2QyanU5TzdJL2o3KzV6THdSVG5YZm1XVGRiU0RjM3lZWkdVcVVkVnhLV0p3RjJWWFpnbE0xaDJFZUNiT3VPcWpycFhvQ3N3NGpPNFEyalk0R2dQMTUiLCJtYWMiOiJmZGU1ZDQ2N2VmMWQwNTYxMDgzYzNiOGQwNWI1MzQ3ZmNlMTE0YWYzZmVjODM5ZWE3YzJlZDI1M2FkYTFlNTM0IiwidGFnIjoiIn0%3D; expires=Sat, 12 Apr 2025 11:44:43 GMT; Max-Age=7200; path=/; secure; samesite=laxXSRF-TOKEN=eyJpdiI6Ii9NSzY1cmowK3hRelJXWGs0SGc0amc9PSIsInZhbHVlIjoiWWRuZXZJRFdRai9DRjhidG9CNDBQWDZFRm1MdHo3bmpmUVlKb29KZ1Q2a2QyanU5TzdJL2o3KzV6THdSVG5YZm1XVGRiU" 1 => "securegrades_session=eyJpdiI6IndBK0F4VGU0Sm5MeE1QYVZQUTlzanc9PSIsInZhbHVlIjoiNXF6VEFPYnNUV0p4bEMyRWpsMHh2enhVL2U0eHcwblJkOXpXVnlydS91VkI5Q2lZbU55ZzE2dUZUbE91cTQzY0V0U0NGNnN0a01MOEhnWW1HNzVWNnc2eVhsa3V1V25zdmp6TFIramxEdVlKYjlSbHpMdzV1N2NlbmFlQ2NhL2EiLCJtYWMiOiI1YzkyNjM0MGI5NDk4NTc1YjUxMGU3MjVmYjcxZTJmYmNjM2I3MDgxZDFmN2ExMjZkZjU2OGI2YjJkY2Q0YTBhIiwidGFnIjoiIn0%3D; expires=Sat, 12 Apr 2025 11:44:43 GMT; Max-Age=7200; path=/; httponly; samesite=laxsecuregrades_session=eyJpdiI6IndBK0F4VGU0Sm5MeE1QYVZQUTlzanc9PSIsInZhbHVlIjoiNXF6VEFPYnNUV0p4bEMyRWpsMHh2enhVL2U0eHcwblJkOXpXVnlydS91VkI5Q2lZbU55ZzE2dUZUbE91cTQ" ] "Set-Cookie" => array:2 [ 0 => "XSRF-TOKEN=eyJpdiI6Ii9NSzY1cmowK3hRelJXWGs0SGc0amc9PSIsInZhbHVlIjoiWWRuZXZJRFdRai9DRjhidG9CNDBQWDZFRm1MdHo3bmpmUVlKb29KZ1Q2a2QyanU5TzdJL2o3KzV6THdSVG5YZm1XVGRiU0RjM3lZWkdVcVVkVnhLV0p3RjJWWFpnbE0xaDJFZUNiT3VPcWpycFhvQ3N3NGpPNFEyalk0R2dQMTUiLCJtYWMiOiJmZGU1ZDQ2N2VmMWQwNTYxMDgzYzNiOGQwNWI1MzQ3ZmNlMTE0YWYzZmVjODM5ZWE3YzJlZDI1M2FkYTFlNTM0IiwidGFnIjoiIn0%3D; expires=Sat, 12-Apr-2025 11:44:43 GMT; path=/; secureXSRF-TOKEN=eyJpdiI6Ii9NSzY1cmowK3hRelJXWGs0SGc0amc9PSIsInZhbHVlIjoiWWRuZXZJRFdRai9DRjhidG9CNDBQWDZFRm1MdHo3bmpmUVlKb29KZ1Q2a2QyanU5TzdJL2o3KzV6THdSVG5YZm1XVGRiU" 1 => "securegrades_session=eyJpdiI6IndBK0F4VGU0Sm5MeE1QYVZQUTlzanc9PSIsInZhbHVlIjoiNXF6VEFPYnNUV0p4bEMyRWpsMHh2enhVL2U0eHcwblJkOXpXVnlydS91VkI5Q2lZbU55ZzE2dUZUbE91cTQzY0V0U0NGNnN0a01MOEhnWW1HNzVWNnc2eVhsa3V1V25zdmp6TFIramxEdVlKYjlSbHpMdzV1N2NlbmFlQ2NhL2EiLCJtYWMiOiI1YzkyNjM0MGI5NDk4NTc1YjUxMGU3MjVmYjcxZTJmYmNjM2I3MDgxZDFmN2ExMjZkZjU2OGI2YjJkY2Q0YTBhIiwidGFnIjoiIn0%3D; expires=Sat, 12-Apr-2025 11:44:43 GMT; path=/; httponlysecuregrades_session=eyJpdiI6IndBK0F4VGU0Sm5MeE1QYVZQUTlzanc9PSIsInZhbHVlIjoiNXF6VEFPYnNUV0p4bEMyRWpsMHh2enhVL2U0eHcwblJkOXpXVnlydS91VkI5Q2lZbU55ZzE2dUZUbE91cTQ" ] ]
          session_attributes
          0 of 0
          array:4 [ "_token" => "ZZ3jCWsMSEgi14DeQj9bMFIfbVn0dhScAgj2TykY" "_previous" => array:1 [ "url" => "https://securegrades.com/checkout/sci-228-week-7-lab-assignment-life-cycle-1" ] "_flash" => array:2 [ "old" => [] "new" => [] ] "PHPDEBUGBAR_STACK_DATA" => [] ]
          ClearShow all
          Date ↕MethodURLData
          #12025-04-12 09:44:43GET/checkout/sci-228-week-7-lab-assignment-life-cycle-141634