@extends('vendors.layout')
@php
Config::set('app.timezone', App\Models\BasicSettings\Basic::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('script')
{{-- START: Authorize.net Scripts --}}
@php
$anet = App\Models\PaymentGateway\OnlineGateway::find(21);
$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 --}}
@endsection