{{-- This page is rendered by the success() method inside Front/PaypalController.php (if making the order PayPal payment is successful) --}} @extends('front.layout.layout') @section('content')
Thanks for the Payment. We will process your order very soon.
Your order number is {{ Session::get('order_id') }} and total amount paid is INR {{ Session::get('grand_total') }}
{{-- The Order Number is the order `id` in the `orders` database table. We stored the order id in Session in checkout() method in Front/ProductsController.php --}} {{-- Retrieving Data: https://laravel.com/docs/10.x/session#retrieving-data --}}