Logo

Checkout

Login Or Create Account

Payment

Document

NR 503 Week 1 Discussion; Exercise and Discussion Questions from Curley Textbook; Chapter 2, Exercise 2.1

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 Version121msRequest Duration2MBMemory UsageGET checkout/{slug}Route
    • Booting (56.74ms)time
    • Application (64.64ms)time
    • 1 x Application (53.24%)
      64.64ms
      1 x Booting (46.74%)
      56.74ms
      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 duplicated26.13ms
      • 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
        5.85msthesagf1_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
        1.02msthesagf1_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-2-exercise-21' and `products`.`deleted_at` is null limit 1
        6.63msthesagf1_secgracustCheckoutController.php#57
        Bindings
        • 0: nr-503-week-1-discussion-exercise-and-discussion-questions-from-curley-textbook-chapter-2-exercise-21
        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
        930μ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
        1.29msthesagf1_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.02msthesagf1_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`
        1.22msthesagf1_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` = 1646 and `product_categories`.`product_id` is not null
        920μsthesagf1_secgracustindex.blade.php#58
        Bindings
        • 0: 1646
        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
        580μ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
        900μ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
        790μ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
        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
      • select * from `pages` where `status` = 1
        1.06msthesagf1_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
        800μ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-2-exercise-21
          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=eyJpdiI6IlNrV05zRmx3RmwzcWYrRWxGSTJONGc9PSIsInZhbHVlIjoiU2NTMHF3aUplUkswcmJkSS9aUFo4cHN5cU1WU2hvYW1Sb1ZPRU9FSlJJTHdRSGFNM1RsbENjeUR1aWRtT0RWaWZDRzFTWkhTM2lvVmowRDdyT05LTGR4bElCbVRNaHYwZXZiOGZiRC9DRFdHak5mVzVBczFzZHpQRTJFcTZOMXIiLCJtYWMiOiIzYzI5NjdhNzcwYzk3YmExOGU5ODk2ZjlkMTg4OGUwZmQ0NWE5NjIyYWFlNTk4OTUzMjg2M2E1ZDRlZTg3MWEwIiwidGFnIjoiIn0%3D; securegrades_session=eyJpdiI6InpkZzNQcEUxMjNTUUJSNWRtWmwwOEE9PSIsInZhbHVlIjoiSDZ2dkFMZkUvbk0xdE5PZi83MzNzQ3J3bTQ0RmdIVjFlTDZHQndYWExoMkErTjRWdHViQzllK1owZkNVamN4RFF0OTJES1AwMXpvTk1HZFVmOE43M0FldlNkV08wMytiMHZkOFc1c2F4blBpREl4Sm5wdkhMckJ1VGtmQUM0OFAiLCJtYWMiOiIzMjBiMzBkNGYxN2QyOThmNmRmOTZkMjM2MDg2NDI0MTAwZThlYjdhNTYyNjBjNGZmMTliNDBlZGYyMzFhNTM4IiwidGFnIjoiIn0%3DXSRF-TOKEN=eyJpdiI6IlNrV05zRmx3RmwzcWYrRWxGSTJONGc9PSIsInZhbHVlIjoiU2NTMHF3aUplUkswcmJkSS9aUFo4cHN5cU1WU2hvYW1Sb1ZPRU9FSlJJTHdRSGFNM1RsbENjeUR1aWRtT0RWaWZDRzFTW" ] "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:26 GMT" ] "set-cookie" => array:2 [ 0 => "XSRF-TOKEN=eyJpdiI6InYvTVlQWnUzd1hwNXBJUVVzV3huMGc9PSIsInZhbHVlIjoieTNJMFJlZFRDY3dzUmI5d0sySzgwamlEMmFhbmJrOHJuVFNwL1VVM0dKakgrM0V3ditXVlVhV3dWeit1MEk2ZkRONWxpN3JwZGcxUmVnL2hldk9sV0VTQ3c3R1RqMTMyUWs1OTd4ajFxOWltaThoMy9YWHZmR0s5NWZ4ME82eTYiLCJtYWMiOiIyNjkwYmViOTk3NmViNDk0MTMxNGE4MDQ3MjIwYWU1NzI3MGM0MGMyMzNmMzkwOWNkYjJmNmMxN2VjOTg0NjAwIiwidGFnIjoiIn0%3D; expires=Sat, 12 Apr 2025 19:39:26 GMT; Max-Age=7200; path=/; secure; samesite=laxXSRF-TOKEN=eyJpdiI6InYvTVlQWnUzd1hwNXBJUVVzV3huMGc9PSIsInZhbHVlIjoieTNJMFJlZFRDY3dzUmI5d0sySzgwamlEMmFhbmJrOHJuVFNwL1VVM0dKakgrM0V3ditXVlVhV3dWeit1MEk2ZkRONWxpN" 1 => "securegrades_session=eyJpdiI6InBjQU15YkVscE52cDI1TkJEOUR3ZlE9PSIsInZhbHVlIjoiVXpnSHFGY0Q0Z1NPaDFGcXNTMWtrZm9mOTFUYUFoSEJBdmh3OW9vaVplMDBlY2FRN3hPTTBITzAxb2JkQXZ2OEw1ZGt2RjhDcmdnbEhRN3dTUXJKcFJDN3Zyd09BM2x5dDhMNElKN1E0OTRLM2g0UDZhN0xlclg0Z2E2ZzIxM2UiLCJtYWMiOiI4NGRjYjMwNTFkOGNjODM3MDE3ZjY1ZDJlY2IwNTc0OWM4ZmU3N2ExMGI4Nzg2NjdmZGQ0MGQ0Nzc5NDNhZWUzIiwidGFnIjoiIn0%3D; expires=Sat, 12 Apr 2025 19:39:26 GMT; Max-Age=7200; path=/; httponly; samesite=laxsecuregrades_session=eyJpdiI6InBjQU15YkVscE52cDI1TkJEOUR3ZlE9PSIsInZhbHVlIjoiVXpnSHFGY0Q0Z1NPaDFGcXNTMWtrZm9mOTFUYUFoSEJBdmh3OW9vaVplMDBlY2FRN3hPTTBITzAxb2JkQXZ" ] "Set-Cookie" => array:2 [ 0 => "XSRF-TOKEN=eyJpdiI6InYvTVlQWnUzd1hwNXBJUVVzV3huMGc9PSIsInZhbHVlIjoieTNJMFJlZFRDY3dzUmI5d0sySzgwamlEMmFhbmJrOHJuVFNwL1VVM0dKakgrM0V3ditXVlVhV3dWeit1MEk2ZkRONWxpN3JwZGcxUmVnL2hldk9sV0VTQ3c3R1RqMTMyUWs1OTd4ajFxOWltaThoMy9YWHZmR0s5NWZ4ME82eTYiLCJtYWMiOiIyNjkwYmViOTk3NmViNDk0MTMxNGE4MDQ3MjIwYWU1NzI3MGM0MGMyMzNmMzkwOWNkYjJmNmMxN2VjOTg0NjAwIiwidGFnIjoiIn0%3D; expires=Sat, 12-Apr-2025 19:39:26 GMT; path=/; secureXSRF-TOKEN=eyJpdiI6InYvTVlQWnUzd1hwNXBJUVVzV3huMGc9PSIsInZhbHVlIjoieTNJMFJlZFRDY3dzUmI5d0sySzgwamlEMmFhbmJrOHJuVFNwL1VVM0dKakgrM0V3ditXVlVhV3dWeit1MEk2ZkRONWxpN" 1 => "securegrades_session=eyJpdiI6InBjQU15YkVscE52cDI1TkJEOUR3ZlE9PSIsInZhbHVlIjoiVXpnSHFGY0Q0Z1NPaDFGcXNTMWtrZm9mOTFUYUFoSEJBdmh3OW9vaVplMDBlY2FRN3hPTTBITzAxb2JkQXZ2OEw1ZGt2RjhDcmdnbEhRN3dTUXJKcFJDN3Zyd09BM2x5dDhMNElKN1E0OTRLM2g0UDZhN0xlclg0Z2E2ZzIxM2UiLCJtYWMiOiI4NGRjYjMwNTFkOGNjODM3MDE3ZjY1ZDJlY2IwNTc0OWM4ZmU3N2ExMGI4Nzg2NjdmZGQ0MGQ0Nzc5NDNhZWUzIiwidGFnIjoiIn0%3D; expires=Sat, 12-Apr-2025 19:39:26 GMT; path=/; httponlysecuregrades_session=eyJpdiI6InBjQU15YkVscE52cDI1TkJEOUR3ZlE9PSIsInZhbHVlIjoiVXpnSHFGY0Q0Z1NPaDFGcXNTMWtrZm9mOTFUYUFoSEJBdmh3OW9vaVplMDBlY2FRN3hPTTBITzAxb2JkQXZ" ] ]
          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-2-exercise-21" ] "_flash" => array:2 [ "old" => [] "new" => [] ] "PHPDEBUGBAR_STACK_DATA" => [] ]
          ClearShow all
          Date ↕MethodURLData
          #12025-04-12 17:39:26GET/checkout/nr-503-week-1-discussion-exercise-and-discussion-questions-from-curley-textbook-chapter-2-exercise-2141634