@extends('layouts.theme') @section('title',__('staticwords.subscribe')) @section('main-wrapper')

{{__('staticwords.paymentinformation')}}


{{__('staticwords.purchasepackageinformation')}}
@if(Session::has('coupon_applied')) @endif @if(!Session::has('coupon_applied')) @endif
{{__('staticwords.packagename')}} {{$plan->name}}
{{__('staticwords.amount')}} {{number_format(($plan->amount) / ($plan->interval_count),2)}} @if(Session::has('current_currency'))({{ currency($plan->amount, $from = $plan->currency, $to = Session::has('current_currency') ? ucfirst(Session::get('current_currency')) : $plan->currency, $format = true) }} {{ __('equivalent to your currency')}})@endif
{{__('Coupon')}} - ({{ucfirst(Session::get('coupon_applied')['code'])}}) {{Session::get('coupon_applied')['amount'] }} OFF
{{__('Total Amount')}} {{$plan->amount - Session::get('coupon_applied')['amount'] }} / {{$plan->interval}} @if(Session::has('current_currency'))({{ currency($plan->amount - Session::get('coupon_applied')['amount'], $from = $plan->currency, $to = Session::has('current_currency') ? ucfirst(Session::get('current_currency')) : $plan->currency, $format = true) }} {{ __('equivalent to your currency')}}) @endif
{{__('staticwords.duration')}} {{number_format(($plan->amount) / ($plan->interval_count),2)}}/ {{$plan->interval}} @if(Session::has('current_currency')) ({{ currency($plan->amount, $from = $plan->currency, $to = Session::has('current_currency') ? ucfirst(Session::get('current_currency')) : $plan->currency, $format = true) }} {{ __('equivalent to your currency')}}) @endif
 
 

 

{{ __('staticwords.Pay') }}   {{ $plan->amount }} {{ __('staticwords.pay_method') }}


@php $session_amount = Session::has('coupon_applied') ? Session::get('coupon_applied')['amount'] : 0 @endphp
@if(Session::has('success'))
{{Session::get('success')}}
@endif @if(Session::has('deleted'))
{{Session::get('deleted')}}
@endif
@csrf
{{-- --}}
@if (isset($stripe_payment) && $stripe_payment == 1 && in_array('stripe',$currency_payments))
@if(env('STRIPE_KEY') != NULL && env('STRIPE_SECRET') != NULL) {!! Form::open(['method' => 'POST', 'action' => 'UserAccountController@subscribe', 'id' => 'payment-form']) !!} {{csrf_field()}}
{{--
--}}
{!! Form::close() !!} @else @component('components.alert') Stripe Payment @endcomponent @endif
@endif @if (isset($paypal_payment) && $paypal_payment == 1 && in_array('paypal',$currency_payments)) {{-- @dd(Session::has('coupon_applied') ? Session::get('coupon_applied')['amount'] : 0); --}}
@if(env('PAYPAL_CLIENT_ID') != NULL && env('PAYPAL_SECRET_ID') != NULL && env('PAYPAL_MODE') != NULL) {!! Form::open(['method' => 'POST', 'action' => 'PaypalController@postPaymentWithpaypal']) !!} {!! Form::close() !!} @else @component('components.alert') Paypal Payment @endcomponent @endif
@endif @if(isset($braintree) && $braintree==1 && in_array('braintree',$currency_payments))
@if(env('BTREE_ENVIRONMENT') != NULL && env('BTREE_MERCHANT_ID') !=NULL && env('BTREE_PUBLIC_KEY') !=NULL && env('BTREE_PRIVATE_KEY') != NULL && env('BTREE_MERCHANT_ACCOUNT_ID') != NULL) {{__('staticwords.payvia')}} Card / Paypal
{{ csrf_field() }}
@else @component('components.alert') Braintree Payment @endcomponent @endif
@endif @if (isset($mollie_payment) && $mollie_payment == 1 && in_array('mollie',$currency_payments))
@if(env('MOLLIE_KEY') != NULL)
{{ csrf_field() }}
@endif
@endif @if (isset($cashfree_payment) && $cashfree_payment == 1 && in_array('cashfree',$currency_payments))
@if(env('CASHFREE_APP_ID') != NULL && env('CASHFREE_SECRET_ID') != NULL && env('CASHFREE_API_END_URL') != NULL) @if(isset(Auth::user()->mobile) && Auth::user()->mobile != NULL)
{!! Form::open(['method' => 'POST', 'action' => 'PayViaCashFreeController@payment']) !!} {!! Form::close() !!}
@else

Please filled your mobile no. {{__('clickhere')}}

@endif @else @component('components.alert') Cashfree @endcomponent @endif
@endif @if(isset($coin_payment) && $coin_payment==1 && in_array('coinpay',$currency_payments))
@if(env('COINPAYMENTS_MERCHANT_ID') != NULL && env('COINPAYMENTS_PUBLIC_KEY') != NULL && env('COINPAYMENTS_PRIVATE_KEY') != NULL)
{{ csrf_field() }}
@else @component('components.alert') Coin Payment @endcomponent @endif
@endif @if (isset($payu_payment) && $payu_payment == 1 && in_array('payu',$currency_payments))
@if(env('PAYU_METHOD') != NULL && env('PAYU_DEFAULT') != NULL && env('PAYU_MERCHANT_KEY') != NULL && env('PAYU_MERCHANT_SALT') != NULL) {!! Form::open(['method' => 'POST', 'action' => 'PayuController@payment']) !!} {!! Form::close() !!} @else @component('components.alert') Payu Payment @endcomponent @endif
@endif @if (isset($paytm_payment) && $paytm_payment == 1 && in_array('paytm',$currency_payments))
@if(env('PAYTM_MID') != NULL && env('PAYTM_MERCHANT_KEY') != NULL)
{!! Form::open(['method' => 'POST', 'action' => 'PaytemController@store']) !!} {!! Form::close() !!}
@else @component('components.alert') Paytm Payment @endcomponent @endif
@endif @if (isset($razorpay_payment) && $razorpay_payment == 1 && in_array('razorpay',$currency_payments))
@if(env('RAZOR_PAY_KEY') != NULL && env('RAZOR_PAY_SECRET') != NULL)
@else @component('components.alert') Razorpay Payment @endcomponent @endif
@endif @if (isset($instamojo_payment) && $instamojo_payment == 1 && in_array('instamojo',$currency_payments))
@if(env('IM_API_KEY') != NULL && env('IM_AUTH_TOKEN') != NULL && env('IM_URL') != NULL)
Name
Mobile Number
Email Id
Event Fees
@else @component('components.alert') Instamojo Payment @endcomponent @endif
@endif @if(isset($paystack) && $paystack == 1 && in_array('paystack',$currency_payments))
@if(env('PAYSTACK_PUBLIC_KEY') != NULL && env('PAYSTACK_SECRET_KEY') != NULL && env('PAYSTACK_PAYMENT_URL') != NULL)
@php $amount = ($plan->amount - $session_amount)*100; @endphp
{{ csrf_field() }}
@else @component('components.alert') Paystack Payment @endcomponent @endif
@endif @if(isset($flutterrave_payment) && $flutterrave_payment == 1 && in_array('flutterrave',$currency_payments))
@if(env('RAVE_PUBLIC_KEY') != NULL && env('RAVE_SECRET_KEY') != NULL && env('RAVE_COUNTRY') != NULL )
{{ csrf_field() }}
@else @component('components.alert') Flutterrave Payment @endcomponent @endif
@endif @if(isset($omise_payment) && $omise_payment == 1 && in_array('omise',$currency_payments))
@if(env('OMISE_PUBLIC_KEY') != NULL && env('OMISE_SECRET_KEY') != NULL && env('OMISE_API_VERSION') != NULL)
@csrf
@else @component('components.alert') Omise Payment @endcomponent @endif
@endif @php $payhere_order_id = uniqid(); @endphp @if (isset($payhere_payment) && $payhere_payment == 1 && in_array('payhere',$currency_payments))
@if(env('PAYHERE_BUISNESS_APP_CODE') != NULL && env('PAYHERE_APP_SECRET') != NULL && env('PAYHERE_MERCHANT_ID') != NULL && env('PAYHERE_MODE') != NULL)
@csrf
@else @component('components.alert') PayHere Payment @endcomponent @endif
@endif @if (isset($bankdetails) && $bankdetails == 1 && in_array('bankdetail',$currency_payments))
@if(($account_name != NULL) && ($account_no != NULL) && ($ifsc_code != NULL) && ($bank!= NULL)) @else @component('components.alert') Bank Detail @endcomponent @endif
@endif @if(isset($manualpaymentmethod)) @foreach($manualpaymentmethod as $mpm)

{{$mpm->description}}

@if($mpm->thumbnail != NULL) @endif
@csrf
@endforeach @endif
@endsection @section('custom-script') @endsection