@extends('layouts.app') @section('title', getSetting('APPLICATION_NAME') . ' | ' . $page) @section('content')
@include('include.message')
@csrf
{{ __('Payment method') }}
    @foreach (paymentGateways() as $key => $value)
  • input('payment') == $key && old('payment_gateway') == null) || old('payment_gateway') == $key || ($loop->first && old('payment_gateway') == null)) ) checked @endif>
  • @endforeach
@if ($errors->has('payment_gateway')) @endif
{{ __('Billing information') }}
@if ($errors->has('name')) {{ $errors->first('name') }} @endif
@if ($errors->has('address')) {{ $errors->first('address') }} @endif
@if ($errors->has('city')) {{ $errors->first('city') }} @endif
@if ($errors->has('state')) {{ $errors->first('state') }} @endif
@if ($errors->has('postal_code')) {{ $errors->first('postal_code') }} @endif
@if ($errors->has('country')) {{ $errors->first('country') }} @endif
@if ($errors->has('phone')) {{ $errors->first('phone') }} @endif
@if ($coupon && $coupon->type)
{{ __('Order summary') }}
  • {{ __(':name plan', ['name' => $plan->name]) }}
    {{ __('Not billed') }}
{{ __('Remove coupon?') }}
{!! __('By continuing, you agree with the :terms.', [ 'terms' => mb_strtolower( '' . __('Terms and Condition') . '', ), ]) !!}
@else
{{ __('Order summary') }}
@if ($errors->has('interval')) {{ $errors->first('interval') }} @endif
  • {{ __(':name plan', ['name' => $plan->name]) }}
    {!! __('Billed :interval.', ['interval' => mb_strtolower(__('Monthly'))]) !!}
    {!! __('Billed :interval.', ['interval' => mb_strtolower(__('Yearly'))]) !!}
    {{ formatMoney($plan->amount_month, $plan->currency) }} {{ $plan->currency }}
    {{ formatMoney($plan->amount_year, $plan->currency) }} {{ $plan->currency }}
  • @if (!$coupon || $coupon->type == 0) @foreach ($taxRates as $taxRate)
  • {{ $taxRate->name }} ({{ $taxRate->percentage }}% {{ $taxRate->type ? __('excl.') : __('incl.') }})
    @if ($taxRate->type) {{ formatMoney(checkoutExclusiveTax($plan->amount_month, $coupon->percentage ?? null, $taxRate->percentage, $inclTaxRatesPercentage), $plan->currency) }} {{ formatMoney(checkoutExclusiveTax($plan->amount_year, $coupon->percentage ?? null, $taxRate->percentage, $inclTaxRatesPercentage), $plan->currency) }} @else {{ formatMoney(calculateInclusiveTax($plan->amount_month, $coupon->percentage ?? null, $taxRate->percentage, $inclTaxRatesPercentage), $plan->currency) }} {{ formatMoney(calculateInclusiveTax($plan->amount_year, $coupon->percentage ?? null, $taxRate->percentage, $inclTaxRatesPercentage), $plan->currency) }} @endif {{ $plan->currency }}
  • @endforeach @endif @if ($coupon)
  • {{ __('Discount') }} ({{ $coupon->percentage }}%)
    -{{ formatMoney(calculateDiscount($plan->amount_month, $coupon->percentage), $plan->currency) }} -{{ formatMoney(calculateDiscount($plan->amount_year, $coupon->percentage), $plan->currency) }} {{ $plan->currency }}
    {{ __('Remove coupon?') }}
  • @endif @if ($plan->coupons && !$coupon)
  • {{ __('Have a coupon code?') }}
    has('coupon') || old('coupon') ? '' : ' disabled' }}>
    @if ($errors->has('coupon'))
    {{ $errors->first('coupon') }}
    @endif
  • @endif
@if (getSetting('GOOGLE_RECAPTCHA') == 'enabled')
@if ($errors->has('g-recaptcha-response')) {{ $errors->first('g-recaptcha-response') }} @endif
@endif
{!! __( 'By continuing, you agree with the :terms and authorize :title to charge your payment method on a recurring basis.', [ 'terms' => mb_strtolower( '' . __('Terms and Condition') . '', ), 'title' => '' . e(config('settings.title')) . '', ], ) !!} {{ __('You can cancel your subscription at any time.') }}
@endif @if (isDemoMode())
{{ __('Test cards (demo only)') }}
@endif
@endsection @section('script') @endsection