PATH:
home
/
lab2454c
/
tripvare.com
/
resources
/
views
/
applicants
/
dashboard
@extends('layouts.applicant.dashboard') @section('content') <div class="inner__from__wrapp personal__information"> @include('validation.message') @include('validation.flashmessage') {{-- <form class="card-form" action="{{ route('user.membership-lounge-pay')}}" method="post"> --}} <form class="card-form" action="https://store.veritvicas.com/payment" method="get"> @csrf <input type="hidden" name="member" value="{{Auth::user()->id}}"> <input type="hidden" name="email" value="{{Auth::user()->email}}"> <h2>{{ __('messages.applicant_dashboard.profile.frm_field.heading_payment')}}</h2> <div class="row"> <div class="col-xl-4 col-lg-4 col-md-12"> <div class="form-group form__group"> <input type="radio" class="travel_ready" name="membership_access" value="1" @if(isset($membership_access) && $membership_access==1){{'checked="checked"'}}@endif required> <label>{{ __('messages.applicant_dashboard.profile.frm_field.label_payment_ist_year')}} - $33.00 </label> <br /> <input type="radio" class="travel_ready" name="membership_access" value="2" @if(isset($membership_access) && $membership_access==2){{'checked="checked"'}}@endif> <label>{{ __('messages.applicant_dashboard.profile.frm_field.label_payment_thrd_year')}} - $58.00</label> <br /> <input type="radio" class="travel_ready" name="membership_access" value="3" @if(isset($membership_access) && $membership_access==3){{'checked="checked"'}}@endif> <label>{{ __('messages.applicant_dashboard.profile.frm_field.label_payment_fth_year')}} - $75.00</label> </div> </div> </div> {{-- <div class="row"> <input type="hidden" name="payment_method" class="payment-method"> <div class="col-xl-4 col-lg-4 col-md-12"> <div class="form-group form__group"> <label>{{ __('messages.applicant_dashboard.profile.frm_field.label_card_holder_name')}}</label> <input class="StripeElement form-control form__control" name="card_holder_name" placeholder="{{ __('messages.applicant_dashboard.profile.frm_field.label_card_holder_name')}}" required> </div> </div> <div class="col-xl-4 col-lg-4 col-md-12"> <div class="form-group form__group"> <label>{{ __('messages.applicant_dashboard.profile.frm_field.label_card_detail')}}</label> <div id="card-element"></div> </div> </div> </div> --}} <button type="submit" class="submit__btn pay">{{'Pay Now'}}</button> {{-- <div id="card-errors" role="alert"></div> --}} </form> </div> <style> .StripeElement { box-sizing: border-box; height: 40px; padding: 10px 12px; border: 1px solid transparent; border-radius: 4px; background-color: white; box-shadow: 0 1px 3px 0 #e6ebf1; -webkit-transition: box-shadow 150ms ease; transition: box-shadow 150ms ease; } .StripeElement--focus { box-shadow: 0 1px 3px 0 #cfd7df; } .StripeElement--invalid { border-color: #fa755a; } .StripeElement--webkit-autofill { background-color: #fefde5 !important; } </style> @endsection @push('stripe-script') <!--<script src="//js.stripe.com/v3/"></script> <script> let stripe = Stripe("{{ env('STRIPE_KEY') }}") let elements = stripe.elements() let style = { base: { color: '#32325d', fontFamily: '"Helvetica Neue", Helvetica, sans-serif', fontSmoothing: 'antialiased', fontSize: '16px', '::placeholder': { color: '#aab7c4' } }, invalid: { color: '#fa755a', iconColor: '#fa755a' } } let card = elements.create('card', { style: style }) card.mount('#card-element') let paymentMethod = null $('.card-form').on('submit', function(e) { $('button.pay').attr('disabled', true) if (paymentMethod) { return true } stripe.confirmCardSetup( "{{ $intent->client_secret }}", { payment_method: { card: card, billing_details: { name: $('.card_holder_name').val() } } } ).then(function(result) { if (result.error) { $('#card-errors').text(result.error.message) $('button.pay').removeAttr('disabled') } else { paymentMethod = result.setupIntent.payment_method $('.payment-method').val(paymentMethod) $('.card-form').submit() } }) return false })--> </script> @endpush
[+]
..
[-] membership_lounge_payform.blade.php
[edit]
[-] membership_lounge_form.blade.php
[edit]
[-] membership_lounge_dashboard.blade.php
[edit]
[-] immunization_profile_form.blade.php
[edit]