Logo

Checkout

Login Or Create Account

Payment

Document

MKT 315 Topic 5 Participation - Exercise 5 - Subway Pricing Problems

Price



$15

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 Version144msRequest Duration2MBMemory UsageGET checkout/{slug}Route
    • Booting (61.53ms)time
    • Application (82.04ms)time
    • 1 x Application (57.13%)
      82.04ms
      1 x Booting (42.85%)
      61.53ms
      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 duplicated29.03ms
      • 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.16msthesagf1_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.18msthesagf1_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` = 'mkt-315-topic-5-participation-exercise-5-subway-pricing-problems' and `products`.`deleted_at` is null limit 1
        9.57msthesagf1_secgracustCheckoutController.php#57
        Bindings
        • 0: mkt-315-topic-5-participation-exercise-5-subway-pricing-problems
        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
        660μ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
        930μ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
        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 `plans`
        840μ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` = 4086 and `product_categories`.`product_id` is not null
        790μsthesagf1_secgracustindex.blade.php#58
        Bindings
        • 0: 4086
        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 (212) limit 1
        670μsthesagf1_secgracustindex.blade.php#58
        Bindings
        • 0: 212
        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
        680μ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
        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
        500μ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
        5msthesagf1_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
        810μ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
        730μ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
        720μ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
          S85qIvoQyPXRXN8IvsuN5Qpn9ZakU7ualGSKjqpV
          _previous
          array:1 [ "url" => "https://securegrades.com/checkout/mkt-315-topic-5-participation-exercise-5-sub...
          _flash
          array:2 [ "old" => [] "new" => [] ]
          PHPDEBUGBAR_STACK_DATA
          []
          telescope
          View in Telescope
          path_info
          /checkout/mkt-315-topic-5-participation-exercise-5-subway-pricing-problems
          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:17 [ "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" ] "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
          []
          
          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 23:10:49 GMT" ] "set-cookie" => array:2 [ 0 => "XSRF-TOKEN=eyJpdiI6IklicGE5TjdqV2ZLUG9pbUNIaGIwSnc9PSIsInZhbHVlIjoiQU1VT3dCVXNIVGFBZ0ZTMXo1ZWMySmt5NXYzWHJmVFA1di9tS0tMQzArc1Npc3VqcEFWU0orLzhQRDN2d1k3RGlBdWJsVnhWVXhnQnY4STloMVA2MSt2Z0xwMFk0TEpFYzVUbWQydUpuOGk2ZzRmUHRzcEhhWkdIakxFU0J0dmkiLCJtYWMiOiIyMTNhM2M1ZjA5MWY2OTgzZjY0MTgzM2IxYjMxYzQxYTY2ZjFmNWRiYzY5MGYxZDE4ZDc5ZDQ2MTg3MWQ5YmNhIiwidGFnIjoiIn0%3D; expires=Sun, 13 Apr 2025 01:10:49 GMT; Max-Age=7200; path=/; secure; samesite=laxXSRF-TOKEN=eyJpdiI6IklicGE5TjdqV2ZLUG9pbUNIaGIwSnc9PSIsInZhbHVlIjoiQU1VT3dCVXNIVGFBZ0ZTMXo1ZWMySmt5NXYzWHJmVFA1di9tS0tMQzArc1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jdqV2ZLUG9pbUNIaGIwSnc9PSIsInZhbHVlIjoiQU1VT3dCVXNIVGFBZ0ZTMXo1ZWMySmt5NXYzWHJmVFA1di9tS0tMQzArc1Npc3VqcEFWU0orLzhQRDN2d1k3RGlBdWJsV" 1 => "securegrades_session=eyJpdiI6InE0OXdTbFRRVmlMOXFMUHpjUVlpcHc9PSIsInZhbHVlIjoidjl4d0U1NkV3cGlyMVpGcGRYTlJyZ0ZuZ2thS1U0bEJSVVZhMEdDZUNxaFVxUnNoV1Vpd1h2R0NMekNXcjM5ZTVVNjA3bk5Lb0tYbFozbVh1MnNlVE92QzhXbCtNZ29JYjkwZks5OE9Ca0VXdG1teVluaUdkQ3BsTWpPSXBOZk4iLCJtYWMiOiJhZDgxZmUxMTU0ZTQ5NmU3MTVkN2Y2NGUwNWI3YmUzODM0Yzc2MzU0YjVlNmRiMDM1YTRjNDFhZjMzZmJkMGVlIiwidGFnIjoiIn0%3D; expires=Sun, 13-Apr-2025 01:10:49 GMT; path=/; httponlysecuregrades_session=eyJpdiI6InE0OXdTbFRRVmlMOXFMUHpjUVlpcHc9PSIsInZhbHVlIjoidjl4d0U1NkV3cGlyMVpGcGRYTlJyZ0ZuZ2thS1U0bEJSVVZhMEdDZUNxaFVxUnNoV1Vpd1h2R0NMekNXcjM" ] ]
          session_attributes
          0 of 0
          array:4 [ "_token" => "S85qIvoQyPXRXN8IvsuN5Qpn9ZakU7ualGSKjqpV" "_previous" => array:1 [ "url" => "https://securegrades.com/checkout/mkt-315-topic-5-participation-exercise-5-subway-pricing-problems" ] "_flash" => array:2 [ "old" => [] "new" => [] ] "PHPDEBUGBAR_STACK_DATA" => [] ]
          ClearShow all
          Date ↕MethodURLData
          #12025-04-12 23:10:49GET/checkout/mkt-315-topic-5-participation-exercise-5-subway-pricing-problems41634