public function getCheckout() { // Get the bag items. $bag = Bag::with('product.product_media.media')->where('user_id', '=', Auth::user()->id)->get(); // Get the cards. $cards = Stripe::getCards(); // Get the addresses. $addresses = Address::where('user_id', '=', Auth::user()->id)->get(); // Render the view. return View::make('brochure.my.checkout', ['bag' => $bag, 'cards' => $cards->data, 'addresses' => $addresses]); }