@extends('layouts.front') @section('title') @lang('Payment') @endsection @section('styles') @endsection @section('content')
@include('includes.form_errors')
@include('partials.front.includes.checkout')

@lang('Shipping Details:')

{{$customer->first_name . ' ' . $customer->last_name}},
{{$customer->address}}
{{$customer->city . ', ' . $customer->state . ' - ' . $customer->zip}}
{{$customer->country}}.
@lang('Phone:') {{$customer->phone}}
@lang('Email:') {{$customer->email}}
{!! Form::open(['method'=>'post', 'action'=>'CheckoutController@changeShippingAddress', 'onsubmit'=>'submit_button.disabled = true; submit_button.value = "' . __('Please Wait') . '"; return true;']) !!} {!! Form::close() !!}
@if(session()->has('coupon_invalid')) @endif @if(session()->has('coupon_amount') && session()->has('coupon_valid_above_amount') && session('coupon_valid_above_amount') < Cart::total()) @if(session()->has('coupon_code'))
@lang('Coupon Applied:') {{session('coupon_code')}}
@lang('Discount:') {{currency_format(session('coupon_amount'))}}
@else

@lang('Coupon Discount:') {{currency_format(session('coupon_amount'))}}

@endif @lang('Change Coupon?') @else @lang('Have a Coupon?') @endif
{!! Form::open(['method'=>'post', 'action'=>'FrontCouponsController@checkCoupon', 'onsubmit'=>'submit_button.disabled = true; submit_button.value = "' . __('Please Wait') . '"; return true;', 'class'=>'form-inline']) !!}
{!! Form::text('coupon', null, ['class'=>'form-control', 'placeholder'=>__('Enter Coupon'), 'required']) !!}
{!! Form::submit(__('Apply'), ['id'=>'coupon-btn', 'class'=>'btn btn-primary', 'name'=>'submit_button']) !!} {!! Form::close() !!}

@lang('Select Your Payment Method')


{!! Form::open(['method'=>'post', 'action'=>'CheckoutController@processPayment', 'onsubmit'=>'submit_button.disabled = true; submit_button.value = "' . __('Please Wait') . '"; return true;']) !!} @php $payment_methods_count = 0; @endphp
@if(config('cod.enable')) @php $payment_methods_count++; @endphp
@endif @if(config('banktransfer.enable')) @php $payment_methods_count++; @endphp
@endif @if(config('paypal.enable')) @php $payment_methods_count++; @endphp
@endif {{-- Paystack Payment Gateway Starts--}} @if(config('paystack.enable')) @php $payment_methods_count++; @endphp
@endif {{-- Paystack Payment Gateway Ends--}} {{-- Paytm Payment Gateway Starts --}} @if(config('paytm.enable')) @php $payment_methods_count++; @endphp
@endif {{-- Paytm Payment Gateway Ends--}} {{-- Pesapal Payment Gateway Starts --}} @if(config('pesapal.enable')) @php $payment_methods_count++; @endphp
@endif {{-- Paytm Payment Gateway Ends--}} @if(config('stripe.enable')) @php $payment_methods_count++; @endphp
@endif @if(config('razorpay.enable')) @php $payment_methods_count++; @endphp
@endif @if(config('instamojo.enable')) @php $payment_methods_count++; @endphp
@endif @if(config('payu.enable')) @if(config('payu.default') == 'payumoney') @php $payment_methods_count++; @endphp
@elseif(config('payu.default') == 'payubiz') @php $payment_methods_count++; @endphp
@endif @endif
@if($payment_methods_count > 0)

@lang('Make a payment of amount :amount to this bank account and provide transaction reference ID.', ['amount' => currency_format(Cart::total() + (Cart::total() * config('settings.tax_rate')) / 100)])

  • @lang('Account Number'): {{config('banktransfer.account_number')}}
  • {{config('banktransfer.branch_code_label')}}: {{config('banktransfer.branch_code')}}
  • @lang('Name'): {{config('banktransfer.name')}}

@else
@lang('No payment methods available.')
@endif {!! Form::close() !!}
@endsection @section('scripts') @endsection