@extends('layouts.app', ['title' => __tr('Proceed to Pay for Subscription')]) @section('content') @include('users.partials.header', [ 'title' => __tr('Proceed to Pay for Subscription'), 'description' => '', 'class' => 'col-lg-7' ]) @php $paymentMethod = $subscriptionRequestRecord->__data['manual_txn_details']['selected_payment_method'] ?? null; @endphp
@if($existingRequestExist)
{{ __tr('You already have existing initiated/pending request.') }}
@endif

{{ $planDetails['title'] }}

@foreach ($planDetails['features'] as $featureKey => $featureValue) @php $structureFeatureValue = $featureValue; $featureValue = $featureValue; @endphp
@if (isset($featureValue['type']) and ($featureValue['type'] == 'switch')) @if (isset($featureValue['limit']) and $featureValue['limit']) @else @endif {{ ($structureFeatureValue['description']) }} @else @if (isset($featureValue['limit']) and $featureValue['limit'] < 0) {{ __tr('Unlimited') }} @elseif(isset($featureValue['limit'])) {{ $featureValue['limit'] }} @endif {{ ($structureFeatureValue['description']) }} @if(isset($featureValue['limit_duration_title'])) {{ ($featureValue['limit_duration_title']) }} @endif @endif
@endforeach
@if ($checkPlanUsages)

{!! __tr('Due to the over use of following features __checkPlanUsages__ as per the selected plan so this plan can not be subscribed as it has lower limits, Please choose different plan OR reduce your usages.', [ '__checkPlanUsages__' => "$checkPlanUsages" ]) !!}

{{ __tr('Go back to My Subscription') }}
@else

{{ $planFrequencyTitle }} {{ $planChargesFormatted }}
{{ __tr('No auto debit') }}

{{ __tr('New Expiry Date will be on') }}
{{ $expiryDateFormatted }}

@if ($existingPlanDaysAdjustments)
{{ __tr('Your current plan balance has been adjusted') }}
@endif

@if (($paymentMethod == 'upi') and ($subscriptionRequestRecord->status == 'initiated'))
{{ __tr('UPI Payments') }}
{{ __tr('UPI Payment') }}

{{ __tr('Scan QR code and make the payment using any UPI app, once the payment made submit your transaction ID') }}

{{ getAppSettings('payment_upi_customer_notes') }}

@elseif ($paymentMethod == 'bank_transfer' and ($subscriptionRequestRecord->status == 'initiated'))
{{ __tr('Bank Transfer') }}

{{ __tr('Deposit Instructions are given below') }}

{{ getAppSettings('bank_transfer_instructions') }}

@endif
@if ($paymentMethod == 'paypal' and ($subscriptionRequestRecord->status == 'initiated'))
{{ __tr('PayPal') }}
@elseif($paymentMethod == 'razorpay' and ($subscriptionRequestRecord->status == 'initiated'))
@elseif($paymentMethod == 'paystack' and ($subscriptionRequestRecord->status == 'initiated'))
@elseif($paymentMethod == 'yoomoney' and ($subscriptionRequestRecord->status == 'initiated'))
@else
{{ __tr('Payment Details') }} @if ($subscriptionRequestRecord->status == 'initiated')
@elseif ($subscriptionRequestRecord->status == 'pending')

{{ __tr('We have already recorded your details. Please wait while admin confirm it. If needed you contact us using following link') }}

{{ __tr('Contact Us') }}
@endif
@endif @endif
@endsection @if(!$checkPlanUsages) {{-- include paypal blade --}} @include('subscription.manual-subscription.paypal-partial') @endif @if(!$checkPlanUsages) {{-- include paystack blade --}} @include('subscription.manual-subscription.paystack-partial') @endif @if(!$checkPlanUsages) {{-- include razorpay blade --}} @include('subscription.manual-subscription.razorpay-partial') @endif @if(!$checkPlanUsages) {{-- include paystack blade --}} @include('subscription.manual-subscription.yoomoney-partial') @endif