@extends('user.layout')
@php
Config::set('app.timezone', App\Models\BasicSetting::first()->timezone);
@endphp
@section('content')
@if ($message = Session::get('error'))
{{ $message }}
@endif
@if (!empty($membership) && ($membership->package->term == 'lifetime' || $membership->is_trial == 1))
{{ __('If you purchase this package') }} ({{ $package->title }}),
{{ __('then your current package') }} ({{ $membership->package->title }}
@if ($membership->is_trial == 1)
{{ __('Trial') }}
@endif)
{{ __('will be replaced immediately') }}
@endif
@endsection
@section('scripts')
{{-- START: Authorize.net Scripts --}}
@php
$anet = App\Models\PaymentGateway::find(20);
$anerInfo = $anet->convertAutoData();
$anetTest = $anerInfo['sandbox_check'];
if ($anetTest == 1) {
$anetSrc = 'https://jstest.authorize.net/v1/Accept.js';
} else {
$anetSrc = 'https://js.authorize.net/v1/Accept.js';
}
@endphp
{{-- END: Authorize.net Scripts --}}
@if (!empty($stripe_key))
@endif
@endsection