Logo

Checkout

Login Or Create Account

Payment

Document

NR 511 Week 3 Assignment; SNAPPS Written Assignment

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 (54.83ms)time
    • Application (66.18ms)time
    • 1 x Application (54.69%)
      66.18ms
      1 x Booting (45.31%)
      54.83ms
      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
        4.06msthesagf1_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
        730μ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-511-week-3-assignment-snapps-written-assignment-1' and `products`.`deleted_at` is null limit 1
        8.61msthesagf1_secgracustCheckoutController.php#57
        Bindings
        • 0: nr-511-week-3-assignment-snapps-written-assignment-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
        950μ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
        850μ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
        1.04msthesagf1_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.02msthesagf1_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` = 4250 and `product_categories`.`product_id` is not null
        970μsthesagf1_secgracustindex.blade.php#58
        Bindings
        • 0: 4250
        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
        1.01msthesagf1_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
        850μ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
        970μ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
        1.06msthesagf1_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.09msthesagf1_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.17msthesagf1_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
        860μ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
          KCYQxJaSidriOkk81gBnZsNlPT0fO7z44ynnhfBr
          _previous
          array:1 [ "url" => "https://securegrades.com/checkout/nr-511-week-3-assignment-snapps-written-assi...
          _flash
          array:2 [ "old" => [] "new" => [] ]
          PHPDEBUGBAR_STACK_DATA
          []
          telescope
          View in Telescope
          path_info
          /checkout/nr-511-week-3-assignment-snapps-written-assignment-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=eyJpdiI6IlhEb1YvNkNFdnNTS1YxQ29XRm5rYWc9PSIsInZhbHVlIjoiZ3NOMW5HdUVnaXI1VjRGSkRDTDF3QnU0Y0RJR1I4Q3M3NjZ4cDZ5UFVzQTlJTVJ0TXJTcURtQ3A4bytOc2tZRDl6S2R1NXBjdWhzc3F6V3hXZ0lhR294bkR2cFRYeEpsY2l5Sk5ndi9zNFEvUnhCcHhudHlibmRnY0s3alNINXAiLCJtYWMiOiJhNzY4NjJlZGZhNDdkZTMzZmViMTY0YWExYjUzYzAwOTg4M2QzZTZhN2FjNjYxMjQ5YWQxYWQ1MDExMjhkMGU0IiwidGFnIjoiIn0%3D; securegrades_session=eyJpdiI6IkFrN2p4ZHRsSTBQUUVBSXcwSythRkE9PSIsInZhbHVlIjoiWWZTSjU4Y08zNVd4UkJIRHhPR3BhS0puOG5vcHJkakhMY0EwVk56cnltU3pQYkRqYkRjbUk2cFFyMnNjYTBrajh0dFZPSWpua3I5bGhCeTkxSFpzbmJkMHFwcVhLd3hyOW1Ca2ZnNTcxZDZBR0hIRTg5bjJkYXNUR3o4SHBiL1AiLCJtYWMiOiJhM2M1NWYyMjJmOWExZjJkNzlkNzk1OWY4N2U5M2Q0MzM5NzYxZGRkYzc0OTgzODMzMDRhMGUzZmM2N2VjY2I4IiwidGFnIjoiIn0%3DXSRF-TOKEN=eyJpdiI6IlhEb1YvNkNFdnNTS1YxQ29XRm5rYWc9PSIsInZhbHVlIjoiZ3NOMW5HdUVnaXI1VjRGSkRDTDF3QnU0Y0RJR1I4Q3M3NjZ4cDZ5UFVzQTlJTVJ0TXJTcURtQ3A4bytOc2tZRDl6S2R1N" ] "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" => "KCYQxJaSidriOkk81gBnZsNlPT0fO7z44ynnhfBr" "securegrades_session" => "CUhCkBDXz2D88WTu7ftI0D23Sh3uvD14aBpdvR7h" ]
          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 => "Tue, 15 Apr 2025 06:28:43 GMT" ] "set-cookie" => array:2 [ 0 => "XSRF-TOKEN=eyJpdiI6IndVSHNPbXBpMyt6ZnU2cXkzTFQyS2c9PSIsInZhbHVlIjoiWFNhOEMwbG52VWhQVkhGRE1SQW1qaWc5NS9oOGJ3cS9yVytyeFVKeWExQjVCMkhxNUZQbGJXdUNhOTFITGx0RFo3NUwvdWJ3eG92TEdGbGVacHJZMi9Bb0tRVmVOQ3g5Vk01c05EZFFwRmd5dW0yMVVxOXhrcHhXemtYamZmekwiLCJtYWMiOiI0YmQ2NmY3Zjg3ZGY1ZjU2YzVkZTUxNmQxMTY0MWNmZmNiNjEyNmU0MWU2YjQxNWQwMWE5OWI2ZTkwYjM4YjZlIiwidGFnIjoiIn0%3D; expires=Tue, 15 Apr 2025 08:28:43 GMT; Max-Age=7200; path=/; secure; samesite=laxXSRF-TOKEN=eyJpdiI6IndVSHNPbXBpMyt6ZnU2cXkzTFQyS2c9PSIsInZhbHVlIjoiWFNhOEMwbG52VWhQVkhGRE1SQW1qaWc5NS9oOGJ3cS9yVytyeFVKeWExQjVCMkhxNUZQbGJXdUNhOTFITGx0RFo3NUwvd" 1 => "securegrades_session=eyJpdiI6IjFG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1SQW1qaWc5NS9oOGJ3cS9yVytyeFVKeWExQjVCMkhxNUZQbGJXdUNhOTFITGx0RFo3NUwvd" 1 => "securegrades_session=eyJpdiI6IjFGeDZDMHZWcW8vdm1CSVFBdU1XL0E9PSIsInZhbHVlIjoiWC9nNzFEVUVmT1daNU1yRnhNTmoxT0NrSGw4eGY0TjRXdzVWMUdZRHZhUU9aZ0JSR2V1bzVrN2kyUHVFSmdFaTBnd29kT3h5cy96Sll2WS9XR3VFU3RGd25IQWN1b2VEUjFpbVRkUVZvNjBMSWJHN3A3cFU4ZUoyMzJMMkZ5ZTUiLCJtYWMiOiI0ZGI5NGE4NGQzOGQyNzU4MjRhYWM4ZWViZDgzYjZmZTI3MWU4ZGYzY2VmNTJlYTkwYjAwYWI4MzFjMmQ2YWU3IiwidGFnIjoiIn0%3D; expires=Tue, 15-Apr-2025 08:28:43 GMT; path=/; httponlysecuregrades_session=eyJpdiI6IjFGeDZDMHZWcW8vdm1CSVFBdU1XL0E9PSIsInZhbHVlIjoiWC9nNzFEVUVmT1daNU1yRnhNTmoxT0NrSGw4eGY0TjRXdzVWMUdZRHZhUU9aZ0JSR2V1bzVrN2kyUHVFSmd" ] ]
          session_attributes
          0 of 0
          array:4 [ "_token" => "KCYQxJaSidriOkk81gBnZsNlPT0fO7z44ynnhfBr" "_previous" => array:1 [ "url" => "https://securegrades.com/checkout/nr-511-week-3-assignment-snapps-written-assignment-1" ] "_flash" => array:2 [ "old" => [] "new" => [] ] "PHPDEBUGBAR_STACK_DATA" => [] ]
          ClearShow all
          Date ↕MethodURLData
          #12025-04-15 06:28:43GET/checkout/nr-511-week-3-assignment-snapps-written-assignment-141634