@extends($activeTheme.'layouts.main') @section('title', ___('Checkout')) @section('content')

{{___('Checkout')}}

@if (is_numeric($plan->id)) @if (!$coupon)

{{ ___('Have a coupon? Click here to enter your code') }}

@else
{!! ___('Coupon code :coupon_code Applied', ['coupon_code' => ''.$coupon->code.'']) !!} {{ ___('Remove Coupon') }}
@endif @endif
@csrf @if($coupon) @endif

{{ ___('Billing details') }}

@if($price > 0)

{{___('Payment Method')}}

@forelse ($paymentGateways as $paymentGateway)
first)>
@if($paymentGateway->payment_folder != "2checkout")

{{ ___('You will be redirected to the payment page for complete payment.') }}

@endif {{-- One time and Recurring --}} @foreach(['paypal', 'stripe'] as $gateway) @if($paymentGateway->payment_folder == $gateway) @if(@$settings->{$gateway.'_payment_mode'} == "both")

{{___('Payment Type')}}

@endif @endif @endforeach @if($paymentGateway->payment_folder == 'wire_transfer')

{{ ___('Bank Account details') }}

{{ nl2br(@$settings->company_bank_info) }}

{{ ___('Reference') }}

{{ ___('Membership Plan') }} : {{ $plan->name }} @if($interval) ({{plan_interval_text($interval)}}) @endif
{{ ___('Username') }}: {{ request()->user()->username }}
{{ ___('Include a note with Reference so that we know which account to credit.') }}

{{ ___('Amount to send') }}

{{ price_symbol_format($price) }}
@endif @if($paymentGateway->payment_folder == '2checkout')
@endif
@empty
{{ ___('No payment methods available right now please try again later.') }}
@endforelse
@else @endif

{{ ___('Order Summary') }}

  • {{ ___('Membership') }} {{ !empty($plan->translations->{get_lang()}->name) ? $plan->translations->{get_lang()}->name : $plan->name }} @if($interval) ({{plan_interval_text($interval)}}) @endif
  • {{ ___('Start Date') }} {{ $planStartDate }}
  • {{ ___('Expiry Date') }} {{ $planEndDate }}
  • {{ ___('Plan Fee') }} {{ price_symbol_format($base_amount) }}
  • @if ($coupon)
  • {{ ___('Discount') }} -{{ price_symbol_format($base_amount-$price_after_discount) }}
  • {{ ___('Subtotal') }} {{ price_symbol_format($price_after_discount) }}
  • @endif @if(!empty($applied_taxes))
  • @endif @foreach($applied_taxes as $tax)
  • {{$tax->name}} {{$tax->type != 'inclusive' ? '+' : ''}} {{ $tax['value_type'] == 'percentage' ? (float) $tax['value'] .'%' : price_symbol_format($tax['value']) }} {{$tax->type == 'inclusive' ? ___("Inclusive") : ___("Exclusive")}}
  • @endforeach
  • {{ ___('Total Cost') }} {{ price_code_format($price) }}
@push('scripts_at_bottom') @endpush @endsection