updated
This commit is contained in:
@@ -30,7 +30,7 @@ class PaypalController extends Controller
|
|||||||
|
|
||||||
public function __construct()
|
public function __construct()
|
||||||
{
|
{
|
||||||
$paypal_env = "live";
|
$paypal_env = "sandbox";
|
||||||
$paypal_apiUrl = 'https://api.paypal.com'; // default
|
$paypal_apiUrl = 'https://api.paypal.com'; // default
|
||||||
|
|
||||||
if ($paypal_env == 'live') {
|
if ($paypal_env == 'live') {
|
||||||
@@ -240,7 +240,7 @@ class PaypalController extends Controller
|
|||||||
$transaction->setInvoiceNumber(date('Ymd') . '-' . $invoice_num);
|
$transaction->setInvoiceNumber(date('Ymd') . '-' . $invoice_num);
|
||||||
|
|
||||||
$redirectUrls = PayPal::RedirectUrls();
|
$redirectUrls = PayPal::RedirectUrls();
|
||||||
$redirectUrls->setReturnUrl(route('getDone'));
|
$redirectUrls->setReturnUrl(route('thank-you-for-your-purchase'));
|
||||||
$redirectUrls->setCancelUrl(route('getCancel'));
|
$redirectUrls->setCancelUrl(route('getCancel'));
|
||||||
// var_dump($shippingAddress)
|
// var_dump($shippingAddress)
|
||||||
|
|
||||||
@@ -290,7 +290,7 @@ class PaypalController extends Controller
|
|||||||
$m = new TeamStoreModel;
|
$m = new TeamStoreModel;
|
||||||
$UserModel = new UserModel;
|
$UserModel = new UserModel;
|
||||||
$userId = 0;
|
$userId = 0;
|
||||||
|
|
||||||
if (!Auth::guest()) {
|
if (!Auth::guest()) {
|
||||||
$userId = Auth::user()->id;
|
$userId = Auth::user()->id;
|
||||||
}
|
}
|
||||||
@@ -337,7 +337,7 @@ class PaypalController extends Controller
|
|||||||
}
|
}
|
||||||
// var_dump($item->ShippingCostId);
|
// var_dump($item->ShippingCostId);
|
||||||
if ($item->ShippingCostId == 1) {
|
if ($item->ShippingCostId == 1) {
|
||||||
|
|
||||||
$getSmallItemQty += $item->Quantity;
|
$getSmallItemQty += $item->Quantity;
|
||||||
} else if ($item->ShippingCostId == 2) {
|
} else if ($item->ShippingCostId == 2) {
|
||||||
$getBulkyItemQty += $item->Quantity;
|
$getBulkyItemQty += $item->Quantity;
|
||||||
@@ -359,15 +359,15 @@ class PaypalController extends Controller
|
|||||||
|
|
||||||
// $getSmallItemQty = ceil($getSmallItemQty / 3) * 8.99;
|
// $getSmallItemQty = ceil($getSmallItemQty / 3) * 8.99;
|
||||||
|
|
||||||
if($getSmallItemQty >= 1) {
|
if ($getSmallItemQty >= 1) {
|
||||||
if($getSmallItemQty >= 2) {
|
if ($getSmallItemQty >= 2) {
|
||||||
$getSmallItemQty = ceil(($getSmallItemQty - 1) / 1) * 2.49;
|
$getSmallItemQty = ceil(($getSmallItemQty - 1) / 1) * 2.49;
|
||||||
$getSmallItemQty = $getSmallItemQty + 8.99;
|
$getSmallItemQty = $getSmallItemQty + 8.99;
|
||||||
}else {
|
} else {
|
||||||
$getSmallItemQty = 8.99;
|
$getSmallItemQty = 8.99;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
$getBulkyItemQty = ceil($getBulkyItemQty / 1) * 8;
|
$getBulkyItemQty = ceil($getBulkyItemQty / 1) * 8;
|
||||||
$getMaskItemQty = ceil($getMaskItemQty / 25) * 8;
|
$getMaskItemQty = ceil($getMaskItemQty / 25) * 8;
|
||||||
@@ -378,10 +378,10 @@ class PaypalController extends Controller
|
|||||||
$shippingFee = $CAShippingfee;
|
$shippingFee = $CAShippingfee;
|
||||||
}
|
}
|
||||||
|
|
||||||
if($getSubtotal[0]->Subtotal >= 99 && $countryCode != "CA") {
|
if ($getSubtotal[0]->Subtotal >= 99 && $countryCode != "CA") {
|
||||||
return $shippingFee = 0;
|
return $shippingFee = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
return $shippingFee;
|
return $shippingFee;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -426,7 +426,7 @@ class PaypalController extends Controller
|
|||||||
|
|
||||||
$checkCartKey = $paypal_model->checkCartKey($cartKey);
|
$checkCartKey = $paypal_model->checkCartKey($cartKey);
|
||||||
|
|
||||||
if(count($checkCartKey) > 0) {
|
if (count($checkCartKey) > 0) {
|
||||||
$message = 'You already paid for this order. Please check your Order Page. <a href="user/orders"> <strong> <u>click here</u> </strong></a>.';
|
$message = 'You already paid for this order. Please check your Order Page. <a href="user/orders"> <strong> <u>click here</u> </strong></a>.';
|
||||||
Session::put('cartkeyError', $message);
|
Session::put('cartkeyError', $message);
|
||||||
return Redirect::route('cart');
|
return Redirect::route('cart');
|
||||||
@@ -600,10 +600,10 @@ class PaypalController extends Controller
|
|||||||
$request->session()->forget('cartkey'); // clear session for cartkey
|
$request->session()->forget('cartkey'); // clear session for cartkey
|
||||||
|
|
||||||
// redirect to thank you page.
|
// redirect to thank you page.
|
||||||
return view('paypal.get_done')
|
return view('paypal.payment_success')
|
||||||
->with('currency', $currency)
|
->with('currency', $currency)
|
||||||
->with('total', $total);
|
->with('total', $total);
|
||||||
}else {
|
} else {
|
||||||
Session::put('cartkeyError', 'Something went wrong. Please try again.');
|
Session::put('cartkeyError', 'Something went wrong. Please try again.');
|
||||||
return Redirect::route('cart');
|
return Redirect::route('cart');
|
||||||
}
|
}
|
||||||
@@ -632,6 +632,11 @@ class PaypalController extends Controller
|
|||||||
// var_dump($obj->transactions[0]->item_list->shipping_address);
|
// var_dump($obj->transactions[0]->item_list->shipping_address);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function thankyou()
|
||||||
|
{
|
||||||
|
return view('paypal.payment_success');
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
public function getCancel(Request $request)
|
public function getCancel(Request $request)
|
||||||
{
|
{
|
||||||
@@ -641,7 +646,7 @@ class PaypalController extends Controller
|
|||||||
$items = $m->myCart($cartKey);
|
$items = $m->myCart($cartKey);
|
||||||
$getSubtotal = $m->getSubtotal($cartKey);
|
$getSubtotal = $m->getSubtotal($cartKey);
|
||||||
|
|
||||||
if($items == null) {
|
if ($items == null) {
|
||||||
return redirect()->route('cart');
|
return redirect()->route('cart');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -156,11 +156,14 @@ Route::group(['middleware' => 'auth'], function () {
|
|||||||
|
|
||||||
Route::get('payPremium', ['as' => 'payPremium', 'uses' => 'paypal\PaypalController@payPremium']);
|
Route::get('payPremium', ['as' => 'payPremium', 'uses' => 'paypal\PaypalController@payPremium']);
|
||||||
Route::get('getCheckout', ['as' => 'getCheckout', 'uses' => 'paypal\PaypalController@getCheckout']);
|
Route::get('getCheckout', ['as' => 'getCheckout', 'uses' => 'paypal\PaypalController@getCheckout']);
|
||||||
Route::get('getDone', ['as' => 'getDone', 'uses' => 'paypal\PaypalController@getDone']);
|
// Route::get('getDone', ['as' => 'getDone', 'uses' => 'paypal\PaypalController@getDone']);
|
||||||
|
Route::get('thank-you-for-your-purchase', ['as' => 'thank-you-for-your-purchase', 'uses' => 'paypal\PaypalController@getDone']);
|
||||||
Route::get('getCancel', ['as' => 'getCancel', 'uses' => 'paypal\PaypalController@getCancel']);
|
Route::get('getCancel', ['as' => 'getCancel', 'uses' => 'paypal\PaypalController@getCancel']);
|
||||||
Route::get('getDoneTest', ['as' => 'getDoneTest', 'uses' => 'paypal\PaypalController@getDoneTest']);
|
Route::get('getDoneTest', ['as' => 'getDoneTest', 'uses' => 'paypal\PaypalController@getDoneTest']);
|
||||||
|
|
||||||
// END PAYPAL ROUTES
|
// END PAYPAL ROUTES
|
||||||
});
|
});
|
||||||
|
// Route::get('thank-you-for-your-purchase', 'paypal\PaypalController@thankyou');
|
||||||
|
|
||||||
Route::group(['middleware' => 'admin'], function () {
|
Route::group(['middleware' => 'admin'], function () {
|
||||||
Route::get('admin', function () {
|
Route::get('admin', function () {
|
||||||
|
|||||||
@@ -1,162 +1,131 @@
|
|||||||
@extends('merchbay_main')
|
@extends('merchbay_main')
|
||||||
@section('main-content')
|
@section('main-content')
|
||||||
|
|
||||||
<div class="main__carousel">
|
<div class="main__carousel">
|
||||||
<div class="">
|
<div class="">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-lg-12">
|
<div class="col-lg-12">
|
||||||
<div
|
<div id="carouselExampleDark" class="carousel carousel-dark slide" data-bs-ride="carousel">
|
||||||
id="carouselExampleDark"
|
<ol class="carousel-indicators">
|
||||||
class="carousel carousel-dark slide"
|
<li data-bs-target="#carouselExampleDark" data-bs-slide-to="0" class="active"></li>
|
||||||
data-bs-ride="carousel"
|
<li data-bs-target="#carouselExampleDark" data-bs-slide-to="1"></li>
|
||||||
>
|
{{-- <li data-bs-target="#carouselExampleDark" data-bs-slide-to="2"></li>
|
||||||
<ol class="carousel-indicators">
|
<li data-bs-target="#carouselExampleDark" data-bs-slide-to="3"></li> --}}
|
||||||
<li
|
</ol>
|
||||||
data-bs-target="#carouselExampleDark"
|
<div class="carousel-inner">
|
||||||
data-bs-slide-to="0"
|
<div class="carousel-item active" data-bs-interval="10000">
|
||||||
class="active"
|
<a href="">
|
||||||
></li>
|
<img src="https://crewsportswear.app:5955/merchbay/slider/krut-merch.jpg"
|
||||||
<li
|
class="d-block w-100" alt="...">
|
||||||
data-bs-target="#carouselExampleDark"
|
</a>
|
||||||
data-bs-slide-to="1"
|
|
||||||
></li>
|
</div>
|
||||||
<li
|
<!-- <div class="carousel-item" data-bs-interval="10000">
|
||||||
data-bs-target="#carouselExampleDark"
|
<img src="https://crewsportswear.app:5955/WIPCAPS.jpg" class="d-block w-100" alt="...">
|
||||||
data-bs-slide-to="2"
|
</div> -->
|
||||||
></li>
|
<!-- <div class="carousel-item" data-bs-interval="10000">
|
||||||
<li
|
<img src="https://crewsportswear.app:5955/NINONG.jpg" class="d-block w-100" alt="...">
|
||||||
data-bs-target="#carouselExampleDark"
|
</div> -->
|
||||||
data-bs-slide-to="3"
|
<div class="carousel-item" data-bs-interval="10000">
|
||||||
></li>
|
<a href="">
|
||||||
</ol>
|
<img src="https://crewsportswear.app:5955/DRIVE.jpg" class="d-block w-100" alt="...">
|
||||||
<div class="carousel-inner">
|
</a>
|
||||||
<div class="carousel-item active" data-bs-interval="10000">
|
</div>
|
||||||
<img src="https://crewsportswear.app:5955/merchbay/slider/krut-merch.jpg" class="d-block w-100" alt="...">
|
</div>
|
||||||
</div>
|
<a class="carousel-control-prev" href="#carouselExampleDark" role="button" data-bs-slide="prev">
|
||||||
<!-- <div class="carousel-item" data-bs-interval="10000">
|
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
|
||||||
<img src="https://crewsportswear.app:5955/WIPCAPS.jpg" class="d-block w-100" alt="...">
|
<span class="visually-hidden">Previous</span>
|
||||||
</div> -->
|
</a>
|
||||||
<!-- <div class="carousel-item" data-bs-interval="10000">
|
<a class="carousel-control-next" href="#carouselExampleDark" role="button" data-bs-slide="next">
|
||||||
<img src="https://crewsportswear.app:5955/NINONG.jpg" class="d-block w-100" alt="...">
|
<span class="carousel-control-next-icon" aria-hidden="true"></span>
|
||||||
</div> -->
|
<span class="visually-hidden">Next</span>
|
||||||
<div class="carousel-item" data-bs-interval="10000">
|
</a>
|
||||||
<img src="https://crewsportswear.app:5955/DRIVE.jpg" class="d-block w-100" alt="...">
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<a
|
|
||||||
class="carousel-control-prev"
|
|
||||||
href="#carouselExampleDark"
|
|
||||||
role="button"
|
|
||||||
data-bs-slide="prev"
|
|
||||||
>
|
|
||||||
<span
|
|
||||||
class="carousel-control-prev-icon"
|
|
||||||
aria-hidden="true"
|
|
||||||
></span>
|
|
||||||
<span class="visually-hidden">Previous</span>
|
|
||||||
</a>
|
|
||||||
<a
|
|
||||||
class="carousel-control-next"
|
|
||||||
href="#carouselExampleDark"
|
|
||||||
role="button"
|
|
||||||
data-bs-slide="next"
|
|
||||||
>
|
|
||||||
<span
|
|
||||||
class="carousel-control-next-icon"
|
|
||||||
aria-hidden="true"
|
|
||||||
></span>
|
|
||||||
<span class="visually-hidden">Next</span>
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="main__content mt-5">
|
<div class="main__content mt-5">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<!-- Forms Search -->
|
<!-- Forms Search -->
|
||||||
<div class="row justify-content-md-center">
|
<div class="row justify-content-md-center">
|
||||||
<div class="col-lg-8">
|
<div class="col-lg-8">
|
||||||
<form class="row g-2 g-lg-5">
|
<form class="row g-2 g-lg-5">
|
||||||
<div class="col-lg-9">
|
<div class="col-lg-9">
|
||||||
<div class="input-group">
|
<div class="input-group">
|
||||||
{{-- <input
|
{{-- <input
|
||||||
type="text"
|
type="text"
|
||||||
class="form-control border-end-0"
|
class="form-control border-end-0"
|
||||||
placeholder="Search Store"
|
placeholder="Search Store"
|
||||||
aria-label="Search Store"
|
aria-label="Search Store"
|
||||||
aria-describedby="basic-addon2"
|
aria-describedby="basic-addon2"
|
||||||
/> --}}
|
/> --}}
|
||||||
<input type="text" class="form-control border-end-0" placeholder="Search Store" value="{{ $keyword }}" name="q">
|
<input type="text" class="form-control border-end-0" placeholder="Search Store"
|
||||||
<input type="hidden" class="form-control border-end-0" placeholder="Search Store" value="latest" name="s">
|
value="{{ $keyword }}" name="q">
|
||||||
<button
|
<input type="hidden" class="form-control border-end-0" placeholder="Search Store"
|
||||||
class="input-group-text bg-white border-start-0"
|
value="latest" name="s">
|
||||||
id="basic-addon2"
|
<button class="input-group-text bg-white border-start-0" id="basic-addon2"><i
|
||||||
><i class="fa fa-search"></i
|
class="fa fa-search"></i></button>
|
||||||
></button>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="col-lg-3 added-or">
|
||||||
|
<a href="{{ url('templates') }}" type="submit" class="btn btn-black mb-3 w-100">
|
||||||
|
Design your own
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-lg-3 added-or">
|
|
||||||
<a href="{{ url('templates') }}" type="submit" class="btn btn-black mb-3 w-100">
|
@include('teamstore-sublayouts.stores')
|
||||||
Design your own
|
<!-- First 12 Stores -->
|
||||||
</a>
|
|
||||||
|
<!-- Featured Products -->
|
||||||
|
<div class="row py-5">
|
||||||
|
<div class="col-lg-12">
|
||||||
|
<div class="text-center">
|
||||||
|
<h3>Featured Products</h3>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
@foreach ($featured_products as $product)
|
||||||
|
<div class="col-lg-2 col-md-3 col-6" v-for="index in 6" :key="index">
|
||||||
|
<div class="text-center p-3">
|
||||||
|
<a href="{{ url('store') . '/' . $product->StoreUrl . '/product/' . $product->ProductURL }}">
|
||||||
|
<div class="store-logo">
|
||||||
|
<img src="{{ config('site_config.images_url') . '/' . $product->Image }}"
|
||||||
|
alt="{{ $product->ProductName }}" class="d-block border shadow-sm">
|
||||||
|
</div>
|
||||||
|
<div class="store-name text-truncate">{{ $product->ProductName }}</div>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
@endforeach
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</form>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
|
|
||||||
@include('teamstore-sublayouts.stores')
|
|
||||||
<!-- First 12 Stores -->
|
|
||||||
|
|
||||||
<!-- Featured Products -->
|
|
||||||
<div class="row py-5">
|
|
||||||
<div class="col-lg-12">
|
|
||||||
<div class="text-center">
|
|
||||||
<h3>Featured Products</h3>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
@foreach ($featured_products as $product)
|
|
||||||
<div
|
|
||||||
class="col-lg-2 col-md-3 col-6"
|
|
||||||
v-for="index in 6"
|
|
||||||
:key="index"
|
|
||||||
>
|
|
||||||
<div class="text-center p-3">
|
|
||||||
<a href="{{ url('store') . '/' . $product->StoreUrl . '/product/' . $product->ProductURL }}">
|
|
||||||
<div class="store-logo">
|
|
||||||
<img src="{{ config('site_config.images_url') . '/' . $product->Image }}" alt="{{ $product->ProductName }}" class="d-block border shadow-sm">
|
|
||||||
</div>
|
|
||||||
<div class="store-name text-truncate">{{ $product->ProductName }}</div>
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
@endforeach
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- calling designers -->
|
<!-- calling designers -->
|
||||||
<div class="adbg">
|
<div class="adbg">
|
||||||
<div class="row py-3">
|
<div class="row py-3">
|
||||||
<div class="col-lg-8">
|
<div class="col-lg-8">
|
||||||
<div class="p-5">
|
<div class="p-5">
|
||||||
<h2>
|
<h2>
|
||||||
Calling all <span class="designer-text">Creators</span>
|
Calling all <span class="designer-text">Creators</span>
|
||||||
</h2>
|
</h2>
|
||||||
<p>
|
<p>
|
||||||
<a href="{{ url('auth/login') }}">Sign in</a> on Merchbay and share your creativity and expand
|
<a href="{{ url('auth/login') }}">Sign in</a> on Merchbay and share your creativity and expand
|
||||||
<br />your ideas. Click below button to know more.
|
<br />your ideas. Click below button to know more.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div class="pt-3">
|
<div class="pt-3">
|
||||||
<a href="{{ url('/contact-us') }}" type="button" class="btn btn-black mb-3 px-5">
|
<a href="{{ url('/contact-us') }}" type="button" class="btn btn-black mb-3 px-5">
|
||||||
Learn more
|
Learn more
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
@endsection
|
||||||
@endsection
|
|
||||||
|
|||||||
@@ -1,95 +1,98 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
||||||
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
|
|
||||||
<meta name="description" content="Custom Uniforms offered in a variety colors to match your team. Browse through our baseball, fastpitch, softball, lacrosse, football, volleyball and basketball gear.">
|
|
||||||
<meta name="keywords" content="custom uniforms, footwear, athletic equipment, sporting goods">
|
|
||||||
<meta name="author" content="Frank John Begornia">
|
|
||||||
<meta name="csrf_token" content="{{ csrf_token() }}" />
|
|
||||||
|
|
||||||
<meta property="og:url" content="http://uniformnetwork.com/crew/" />
|
<head>
|
||||||
<meta property="og:type" content="article" />
|
<meta charset="utf-8">
|
||||||
<meta property="og:title" content="CREW Apparel" />
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
<meta property="og:description" content="Custom Uniforms offered in a variety colors to match your team. Browse through our baseball, fastpitch, softball, lacrosse, football, volleyball and basketball gear." />
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<meta property="og:image" content="{{asset('public/images/fb-share-logo.png')}}" />
|
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
|
||||||
|
<meta name="description" content="Custom Uniforms offered in a variety colors to match your team. Browse through our baseball, fastpitch, softball, lacrosse, football, volleyball and basketball gear.">
|
||||||
|
<meta name="keywords" content="custom uniforms, footwear, athletic equipment, sporting goods">
|
||||||
|
<meta name="author" content="Frank John Begornia">
|
||||||
|
<meta name="csrf_token" content="{{ csrf_token() }}" />
|
||||||
|
|
||||||
<!-- favicons
|
<meta property="og:url" content="http://uniformnetwork.com/crew/" />
|
||||||
|
<meta property="og:type" content="article" />
|
||||||
|
<meta property="og:title" content="CREW Apparel" />
|
||||||
|
<meta property="og:description" content="Custom Uniforms offered in a variety colors to match your team. Browse through our baseball, fastpitch, softball, lacrosse, football, volleyball and basketball gear." />
|
||||||
|
<meta property="og:image" content="{{asset('public/images/fb-share-logo.png')}}" />
|
||||||
|
|
||||||
|
<!-- favicons
|
||||||
<link rel="apple-touch-icon" sizes="180x180" href="{{asset('public/favicons/apple-touch-icon.png')}}">
|
<link rel="apple-touch-icon" sizes="180x180" href="{{asset('public/favicons/apple-touch-icon.png')}}">
|
||||||
<link rel="icon" type="image/png" href="{{asset('public/favicons/favicon-32x32.png')}}" sizes="32x32">
|
<link rel="icon" type="image/png" href="{{asset('public/favicons/favicon-32x32.png')}}" sizes="32x32">
|
||||||
<link rel="icon" type="image/png" href="{{asset('public/favicons/favicon-16x16.png')}}" sizes="16x16">
|
<link rel="icon" type="image/png" href="{{asset('public/favicons/favicon-16x16.png')}}" sizes="16x16">
|
||||||
<link rel="manifest" href="{{asset('public/favicons/manifest.json')}}">
|
<link rel="manifest" href="{{asset('public/favicons/manifest.json')}}">
|
||||||
<link rel="mask-icon" href="{{asset('public/favicons/safari-pinned-tab.svg')}}" color="#5bbad5">
|
<link rel="mask-icon" href="{{asset('public/favicons/safari-pinned-tab.svg')}}" color="#5bbad5">
|
||||||
<meta name="theme-color" content="#ffffff">-->
|
<meta name="theme-color" content="#ffffff">-->
|
||||||
<!-- end favicons -->
|
<!-- end favicons -->
|
||||||
<title>CREW Sportswear</title>
|
<title>CREW Sportswear</title>
|
||||||
|
|
||||||
<!-- Bootstrap core CSS -->
|
<!-- Bootstrap core CSS -->
|
||||||
<link href="{{asset('public/assets/css/bootstrap.min.css')}}" rel="stylesheet">
|
<link href="{{asset('public/assets/css/bootstrap.min.css')}}" rel="stylesheet">
|
||||||
|
|
||||||
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
|
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
|
||||||
<link href="{{asset('public/assets/css/ie10-viewport-bug-workaround.css')}}" rel="stylesheet">
|
<link href="{{asset('public/assets/css/ie10-viewport-bug-workaround.css')}}" rel="stylesheet">
|
||||||
|
|
||||||
<!-- Custom styles for this template -->
|
<!-- Custom styles for this template -->
|
||||||
<link href="{{asset('public/assets/css/style.css')}}" rel="stylesheet">
|
<link href="{{asset('public/assets/css/style.css')}}" rel="stylesheet">
|
||||||
|
|
||||||
<!-- Just for debugging purposes. Don't actually copy these 2 lines! -->
|
<!-- Just for debugging purposes. Don't actually copy these 2 lines! -->
|
||||||
<!--[if lt IE 9]><script src="../../assets/js/ie8-responsive-file-warning.js"></script><![endif]-->
|
<!--[if lt IE 9]><script src="../../assets/js/ie8-responsive-file-warning.js"></script><![endif]-->
|
||||||
<script src="{{asset('public/assets/js/ie-emulation-modes-warning.js')}}"></script>
|
<script src="{{asset('public/assets/js/ie-emulation-modes-warning.js')}}"></script>
|
||||||
|
|
||||||
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
|
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
|
||||||
<!--[if lt IE 9]>
|
<!--[if lt IE 9]>
|
||||||
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
|
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
|
||||||
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
|
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
|
||||||
|
|
||||||
<![endif]-->
|
<![endif]-->
|
||||||
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
|
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
|
||||||
|
|
||||||
<!-- Social Media Share button
|
<!-- Social Media Share button
|
||||||
<script type="text/javascript" src="//platform-api.sharethis.com/js/sharethis.js#property=599bc5cf6d61950012975405&product=sticky-share-buttons"></script>-->
|
<script type="text/javascript" src="//platform-api.sharethis.com/js/sharethis.js#property=599bc5cf6d61950012975405&product=sticky-share-buttons"></script>-->
|
||||||
|
|
||||||
<link href="{{asset('/public/designer/css/build.css')}}" rel="stylesheet">
|
<link href="{{asset('/public/designer/css/build.css')}}" rel="stylesheet">
|
||||||
<style>
|
<style>
|
||||||
|
|
||||||
</style>
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
</style>
|
||||||
|
</head>
|
||||||
<div class="container">
|
|
||||||
</div> <!-- /container -->
|
<body>
|
||||||
|
|
||||||
|
<div class="container">
|
||||||
|
|
||||||
<!-- Bootstrap core JavaScript ================================================= !-->
|
</div> <!-- /container -->
|
||||||
<!-- Placed at the end of the document so the pages load faster -->
|
|
||||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
|
<!-- Bootstrap core JavaScript ================================================= !-->
|
||||||
<script src="{{asset('public/assets/js/bootstrap.min.js')}}"></script>
|
<!-- Placed at the end of the document so the pages load faster -->
|
||||||
<!-- <script>window.jQuery || document.write('<script src="{{asset('public/assets/js/vendor/jquery.min.js')}}"><\/script>')</script> -->
|
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
|
||||||
<!-- <script src="https://ajax.aspnetcdn.com/ajax/jquery.validate/1.11.1/jquery.validate.min.js"></script> -->
|
<script src="{{asset('public/assets/js/bootstrap.min.js')}}"></script>
|
||||||
<script src="{{asset('public/assets/js/jquery.validate.js')}}"></script>
|
<!-- <script>window.jQuery || document.write('<script src="{{asset('public/assets/js/vendor/jquery.min.js')}}"><\/script>')</script> -->
|
||||||
<!-- <script type="text/javascript" src="https://cdn.ywxi.net/js/1.js" async></script> -->
|
<!-- <script src="https://ajax.aspnetcdn.com/ajax/jquery.validate/1.11.1/jquery.validate.min.js"></script> -->
|
||||||
<!-- <script src="{{asset('public/assets/js/crew-designer.js')}}"></script> -->
|
<script src="{{asset('public/assets/js/jquery.validate.js')}}"></script>
|
||||||
<script src="https://unpkg.com/sweetalert/dist/sweetalert.min.js"></script>
|
<!-- <script type="text/javascript" src="https://cdn.ywxi.net/js/1.js" async></script> -->
|
||||||
<script>
|
<!-- <script src="{{asset('public/assets/js/crew-designer.js')}}"></script> -->
|
||||||
$(document).ready(function() {
|
<script src="https://unpkg.com/sweetalert/dist/sweetalert.min.js"></script>
|
||||||
|
<script>
|
||||||
swal({
|
$(document).ready(function() {
|
||||||
title: "Thank you",
|
|
||||||
text: "Your payment of {{ $total }} {{ $currency }} is complete.",
|
swal({
|
||||||
icon: "success",
|
title: "Thank you",
|
||||||
buttons: "OK",
|
text: "Your payment of {{ $total }} {{ $currency }} is complete.",
|
||||||
|
icon: "success",
|
||||||
})
|
buttons: "OK",
|
||||||
.then((willDelete) => {
|
|
||||||
if (willDelete) {
|
})
|
||||||
window.location = "{{ url('') }}"
|
.then((willDelete) => {
|
||||||
} else {
|
if (willDelete) {
|
||||||
console.log("asdad");
|
window.location = "{{ url('') }}"
|
||||||
}
|
} else {
|
||||||
});
|
console.log("asdad");
|
||||||
|
}
|
||||||
});
|
});
|
||||||
</script>
|
|
||||||
</body>
|
});
|
||||||
</html>
|
</script>
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
||||||
129
resources/views/paypal/payment_success.blade.php
Normal file
129
resources/views/paypal/payment_success.blade.php
Normal file
@@ -0,0 +1,129 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
|
||||||
|
<meta name="description" content="Custom Uniforms offered in a variety colors to match your team. Browse through our baseball, fastpitch, softball, lacrosse, football, volleyball and basketball gear.">
|
||||||
|
<meta name="keywords" content="custom uniforms, footwear, athletic equipment, sporting goods">
|
||||||
|
<meta name="author" content="Frank John Begornia">
|
||||||
|
<meta name="csrf_token" content="{{ csrf_token() }}" />
|
||||||
|
|
||||||
|
<meta property="og:url" content="https://merchbay.com" />
|
||||||
|
<meta property="og:type" content="article" />
|
||||||
|
<meta property="og:title" content="Merchbay" />
|
||||||
|
<meta property="og:description" content="Custom Uniforms offered in a variety colors to match your team. Browse through our baseball, fastpitch, softball, lacrosse, football, volleyball and basketball gear." />
|
||||||
|
<meta property="og:image" content="{{asset('public/images/fb-share-logo.png')}}" />
|
||||||
|
|
||||||
|
<!-- favicons
|
||||||
|
<link rel="apple-touch-icon" sizes="180x180" href="{{asset('public/favicons/apple-touch-icon.png')}}">
|
||||||
|
<link rel="icon" type="image/png" href="{{asset('public/favicons/favicon-32x32.png')}}" sizes="32x32">
|
||||||
|
<link rel="icon" type="image/png" href="{{asset('public/favicons/favicon-16x16.png')}}" sizes="16x16">
|
||||||
|
<link rel="manifest" href="{{asset('public/favicons/manifest.json')}}">
|
||||||
|
<link rel="mask-icon" href="{{asset('public/favicons/safari-pinned-tab.svg')}}" color="#5bbad5">
|
||||||
|
<meta name="theme-color" content="#ffffff">-->
|
||||||
|
<!-- end favicons -->
|
||||||
|
<title>Merchbay</title>
|
||||||
|
|
||||||
|
<!-- Bootstrap core CSS -->
|
||||||
|
<!-- <link href="{{asset('public/assets/css/bootstrap.min.css')}}" rel="stylesheet"> -->
|
||||||
|
|
||||||
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.1/dist/css/bootstrap.min.css" integrity="sha384-zCbKRCUGaJDkqS1kPbPd7TveP5iyJE0EjAuZQTgFLD2ylzuqKfdKlfG/eSrtxUkn" crossorigin="anonymous">
|
||||||
|
|
||||||
|
|
||||||
|
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
|
||||||
|
<link href="{{asset('public/assets/css/ie10-viewport-bug-workaround.css')}}" rel="stylesheet">
|
||||||
|
|
||||||
|
<!-- Custom styles for this template -->
|
||||||
|
<link href="{{asset('public/assets/css/style.css')}}" rel="stylesheet">
|
||||||
|
|
||||||
|
<!-- Just for debugging purposes. Don't actually copy these 2 lines! -->
|
||||||
|
<!--[if lt IE 9]><script src="../../assets/js/ie8-responsive-file-warning.js"></script><![endif]-->
|
||||||
|
<script src="{{asset('public/assets/js/ie-emulation-modes-warning.js')}}"></script>
|
||||||
|
|
||||||
|
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
|
||||||
|
<!--[if lt IE 9]>
|
||||||
|
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
|
||||||
|
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
|
||||||
|
|
||||||
|
<![endif]-->
|
||||||
|
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
|
||||||
|
|
||||||
|
<!-- Social Media Share button
|
||||||
|
<script type="text/javascript" src="//platform-api.sharethis.com/js/sharethis.js#property=599bc5cf6d61950012975405&product=sticky-share-buttons"></script>-->
|
||||||
|
|
||||||
|
<link href="{{asset('/public/designer/css/build.css')}}" rel="stylesheet">
|
||||||
|
<style>
|
||||||
|
.btn-black {
|
||||||
|
color: #fff;
|
||||||
|
background-color: #000000;
|
||||||
|
border-color: #000000;
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn-black:hover {
|
||||||
|
color: #000000;
|
||||||
|
background-color: transparent;
|
||||||
|
border-color: #000000;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<div class="container h-100 py-5 text-center">
|
||||||
|
<div class="row align-items-center h-100">
|
||||||
|
<div class="col-6 mx-auto">
|
||||||
|
<div class="jumbotron">
|
||||||
|
<h2> <i class="fa fa-check text-success"></i> Thank you</h2>
|
||||||
|
<h6>
|
||||||
|
Your payment of {{ $total }} {{ $currency }} is complete.
|
||||||
|
</h6>
|
||||||
|
<div class="py-5">
|
||||||
|
<a href="{{ url('/') }}" class="btn btn-black px-5">Shop Again</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<p>Copyright © {{ date('Y') }}, <b>MERCHBAY</b>. All right reserved.</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Bootstrap core JavaScript ================================================= !-->
|
||||||
|
<!-- Placed at the end of the document so the pages load faster -->
|
||||||
|
<!-- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script> -->
|
||||||
|
<!-- <script src="{{asset('public/assets/js/bootstrap.min.js')}}"></script> -->
|
||||||
|
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.1/dist/umd/popper.min.js" integrity="sha384-9/reFTGAW83EW2RDu2S0VKaIzap3H66lZH81PoYlFhbGU+6BZp6G7niu735Sk7lN" crossorigin="anonymous"></script>
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.6.1/dist/js/bootstrap.min.js" integrity="sha384-VHvPCCyXqtD5DqJeNxl2dtTyhF78xXNXdkwX1CZeRusQfRKp+tA7hAShOK/B/fQ2" crossorigin="anonymous"></script>
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.6.1/dist/js/bootstrap.bundle.min.js" integrity="sha384-fQybjgWLrvvRgtW6bFlB7jaZrFsaBXjsOMm/tB9LTS58ONXgqbR9W8oWht/amnpF" crossorigin="anonymous"></script>
|
||||||
|
|
||||||
|
<!-- <script>window.jQuery || document.write('<script src="{{asset('public/assets/js/vendor/jquery.min.js')}}"><\/script>')</script> -->
|
||||||
|
<!-- <script src="https://ajax.aspnetcdn.com/ajax/jquery.validate/1.11.1/jquery.validate.min.js"></script> -->
|
||||||
|
<!-- <script src="{{asset('public/assets/js/jquery.validate.js')}}"></script> -->
|
||||||
|
<!-- <script type="text/javascript" src="https://cdn.ywxi.net/js/1.js" async></script> -->
|
||||||
|
<!-- <script src="{{asset('public/assets/js/crew-designer.js')}}"></script> -->
|
||||||
|
<!-- <script src="https://unpkg.com/sweetalert/dist/sweetalert.min.js"></script> -->
|
||||||
|
<script>
|
||||||
|
// $(document).ready(function() {
|
||||||
|
|
||||||
|
// swal({
|
||||||
|
// title: "Thank you",
|
||||||
|
// text: "Your payment of is completed.",
|
||||||
|
// icon: "success",
|
||||||
|
// buttons: "OK",
|
||||||
|
|
||||||
|
// })
|
||||||
|
// .then((willDelete) => {
|
||||||
|
// if (willDelete) {
|
||||||
|
// window.location = "{{ url('') }}"
|
||||||
|
// } else {
|
||||||
|
// console.log("asdad");
|
||||||
|
// }
|
||||||
|
// });
|
||||||
|
|
||||||
|
// });
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
||||||
Reference in New Issue
Block a user