Logo

Checkout

Login Or Create Account

Payment

Document

NR 503 Week 1 Discussion- Exercise and Discussion Questions from Curley Textbook; Chapter 1, Exercise 1.5

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 Version118msRequest Duration2MBMemory UsageGET checkout/{slug}Route
    • Booting (61.71ms)time
    • Application (56.22ms)time
    • 1 x Booting (52.32%)
      61.71ms
      1 x Application (47.66%)
      56.22ms
      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 duplicated19.54ms
      • 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
        3.77msthesagf1_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
        580μ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` = 'nr-503-week-1-discussion-exercise-and-discussion-questions-from-curley-textbook-chapter-1-exercise-15' and `products`.`deleted_at` is null limit 1
        3.31msthesagf1_secgracustCheckoutController.php#57
        Bindings
        • 0: nr-503-week-1-discussion-exercise-and-discussion-questions-from-curley-textbook-chapter-1-exercise-15
        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
        540μsthesagf1_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
        780μ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
        610μ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`
        670μ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` = 1658 and `product_categories`.`product_id` is not null
        1.29msthesagf1_secgracustindex.blade.php#58
        Bindings
        • 0: 1658
        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 (68) limit 1
        860μsthesagf1_secgracustindex.blade.php#58
        Bindings
        • 0: 68
        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
        1.08msthesagf1_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
        830μ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
        920μ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
        1.15msthesagf1_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
        1.15msthesagf1_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
        1.11msthesagf1_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
        890μ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
          zO8IPESjXmTAqHHxoGXYMLOMsuGWhnNFNByAftOg
          _previous
          array:1 [ "url" => "https://securegrades.com/checkout/nr-503-week-1-discussion-exercise-and-discus...
          _flash
          array:2 [ "old" => [] "new" => [] ]
          PHPDEBUGBAR_STACK_DATA
          []
          telescope
          View in Telescope
          path_info
          /checkout/nr-503-week-1-discussion-exercise-and-discussion-questions-from-curley-textbook-chapter-1-exercise-15
          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=eyJpdiI6IkQzSGIzQ1FrODMxOFJuK3hXczJvaGc9PSIsInZhbHVlIjoiVE8xNVYxZyt1MWlXcjhQQnpQUlpkK1Q4ZGlrU0JaSXRhNm9lRTdxNGpCeTgxNzVBQkFhS3hBQVhJRkhYS2F1Tm5Fd2ZRZWlKN0dpcHUyMDRRb2RuQkRJaFFWVUNHZi84UEJoWTdzYmZnUnJtd3YyTlhKVUhNMGZGN1JnTHRlU2UiLCJtYWMiOiI5ODMyNWMyMTE3NDNkODk5MmJjNDg3ZThiOTI5NmYwZDVhODI2NTk5YjMxMzhkNWU5NTc2ZWEzODQxNTMyZTUzIiwidGFnIjoiIn0%3D; securegrades_session=eyJpdiI6IjZJajgxUTkxZmUvelVMUEJjeDNMd3c9PSIsInZhbHVlIjoiNytVY3dPZGkxM1EyZXNlSDFxQjBnamZCdWNmekprRU5mZytHSUpyK1U1Qk1jOXBsejJTdi9jSHVWRzdyTm9ORnd0MUtBL1NTSjJPd244MXUxWkdLc1ZMRnFCdnpkVlYzWDFYYWVpWjlIaWl2dDFQUDQ5R3JiSzk3djh4dW9ZMlYiLCJtYWMiOiIwZWQ3M2QwMWExOTEwY2M5NmEzZWZiZjExZjg1ODQ1ZTI0ZDJjZjYxMzRiZDMyYWY5YzlkODY0MWUzOGY3NjM0IiwidGFnIjoiIn0%3DXSRF-TOKEN=eyJpdiI6IkQzSGIzQ1FrODMxOFJuK3hXczJvaGc9PSIsInZhbHVlIjoiVE8xNVYxZyt1MWlXcjhQQnpQUlpkK1Q4ZGlrU0JaSXRhNm9lRTdxNGpCeTgxNzVBQkFhS3hBQVhJRkhYS2F1Tm5Fd2ZRZ" ] "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" => "zO8IPESjXmTAqHHxoGXYMLOMsuGWhnNFNByAftOg" "securegrades_session" => "jYRmopQxstLAV2d3rgzTbcL5yMhvSpm1zVDrowXe" ]
          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 17:39:24 GMT" ] "set-cookie" => array:2 [ 0 => "XSRF-TOKEN=eyJpdiI6IndEd1Fxc0pQdjVWZmpWL2l6M1cxdGc9PSIsInZhbHVlIjoidWtTVXdMTkJTdWErbVp5VkpXaXk3VWxqR0ZjTHlhN0tXcmRlVWVxTHQ5RWUyc2tQeWhyanRkT0hJY3lld1Z6ODJKRytkWWhQK055RFlEVkxlUzI4ODdLYVh0bEF4L1haZUpVWXk5dFFDbXFnTWhHeHpuY29QemdmM3ovWEVQVlEiLCJtYWMiOiI4YzQ5N2Q1MzBhMGEzYjNhNzU3NmQxODhjZjE2NGU3Mzg4MTJjOGM2YTdiZjliYTNiZDAxNTkzYjAxMjc2YjNmIiwidGFnIjoiIn0%3D; expires=Sat, 12 Apr 2025 19:39:24 GMT; Max-Age=7200; path=/; secure; samesite=laxXSRF-TOKEN=eyJpdiI6IndEd1Fxc0pQdjVWZmpWL2l6M1cxdGc9PSIsInZhbHVlIjoidWtTVXdMTkJTdWErbVp5VkpXaXk3VWxqR0ZjTHlhN0tXcmRlVWVxTHQ5RWUyc2tQeWhyanRkT0hJY3lld1Z6ODJKRytkW" 1 => "securegrades_session=eyJpdiI6Im5GeHU2YkVLYk02MEJNamZzdngyc2c9PSIsInZhbHVlIjoidnUzYWFMUkRCMGFBY1lmRCtNVmR0ZWJLTnZ0RDd4bll2RGlYSXZEWmIza3pXUTJ0cTFOS2tOZkRpeWNRNzJQeUlTUEp2Z3hoN05BS293OUNnM0xtdEZFNXdBenIyaE5FS3A4OFZ0bCt0cU8vOUVuSVlOSENVQkd6ZmhFVytzaDgiLCJtYWMiOiIxOTE0ZDEyNGM0YTg2ZWQzYzJjMzc2ZTIwMTAwNjAxMTlkYzMyM2RkYThkNzBmZTM4NTdiNjJhYTgxMGY1Zjk4IiwidGFnIjoiIn0%3D; expires=Sat, 12 Apr 2025 19:39:24 GMT; Max-Age=7200; path=/; httponly; samesite=laxsecuregrades_session=eyJpdiI6Im5GeHU2YkVLYk02MEJNamZzdngyc2c9PSIsInZhbHVlIjoidnUzYWFMUkRCMGFBY1lmRCtNVmR0ZWJLTnZ0RDd4bll2RGlYSXZEWmIza3pXUTJ0cTFOS2tOZkRpeWNRNzJ" ] "Set-Cookie" => array:2 [ 0 => "XSRF-TOKEN=eyJpdiI6IndEd1Fxc0pQdjVWZmpWL2l6M1cxdGc9PSIsInZhbHVlIjoidWtTVXdMTkJTdWErbVp5VkpXaXk3VWxqR0ZjTHlhN0tXcmRlVWVxTHQ5RWUyc2tQeWhyanRkT0hJY3lld1Z6ODJKRytkWWhQK055RFlEVkxlUzI4ODdLYVh0bEF4L1haZUpVWXk5dFFDbXFnTWhHeHpuY29QemdmM3ovWEVQVlEiLCJtYWMiOiI4YzQ5N2Q1MzBhMGEzYjNhNzU3NmQxODhjZjE2NGU3Mzg4MTJjOGM2YTdiZjliYTNiZDAxNTkzYjAxMjc2YjNmIiwidGFnIjoiIn0%3D; expires=Sat, 12-Apr-2025 19:39:24 GMT; path=/; secureXSRF-TOKEN=eyJpdiI6IndEd1Fxc0pQdjVWZmpWL2l6M1cxdGc9PSIsInZhbHVlIjoidWtTVXdMTkJTdWErbVp5VkpXaXk3VWxqR0ZjTHlhN0tXcmRlVWVxTHQ5RWUyc2tQeWhyanRkT0hJY3lld1Z6ODJKRytkW" 1 => "securegrades_session=eyJpdiI6Im5GeHU2YkVLYk02MEJNamZzdngyc2c9PSIsInZhbHVlIjoidnUzYWFMUkRCMGFBY1lmRCtNVmR0ZWJLTnZ0RDd4bll2RGlYSXZEWmIza3pXUTJ0cTFOS2tOZkRpeWNRNzJQeUlTUEp2Z3hoN05BS293OUNnM0xtdEZFNXdBenIyaE5FS3A4OFZ0bCt0cU8vOUVuSVlOSENVQkd6ZmhFVytzaDgiLCJtYWMiOiIxOTE0ZDEyNGM0YTg2ZWQzYzJjMzc2ZTIwMTAwNjAxMTlkYzMyM2RkYThkNzBmZTM4NTdiNjJhYTgxMGY1Zjk4IiwidGFnIjoiIn0%3D; expires=Sat, 12-Apr-2025 19:39:24 GMT; path=/; httponlysecuregrades_session=eyJpdiI6Im5GeHU2YkVLYk02MEJNamZzdngyc2c9PSIsInZhbHVlIjoidnUzYWFMUkRCMGFBY1lmRCtNVmR0ZWJLTnZ0RDd4bll2RGlYSXZEWmIza3pXUTJ0cTFOS2tOZkRpeWNRNzJ" ] ]
          session_attributes
          0 of 0
          array:4 [ "_token" => "zO8IPESjXmTAqHHxoGXYMLOMsuGWhnNFNByAftOg" "_previous" => array:1 [ "url" => "https://securegrades.com/checkout/nr-503-week-1-discussion-exercise-and-discussion-questions-from-curley-textbook-chapter-1-exercise-15" ] "_flash" => array:2 [ "old" => [] "new" => [] ] "PHPDEBUGBAR_STACK_DATA" => [] ]
          ClearShow all
          Date ↕MethodURLData
          #12025-04-12 17:39:24GET/checkout/nr-503-week-1-discussion-exercise-and-discussion-questions-from-curley-textbook-chapter-1-exercise-1541634