Beautiful Open-Source Form Builder
Disable free trial
JhumanJ48c16adafa33
diff --git a/api/app/Http/Controllers/SubscriptionController.php b/api/app/Http/Controllers/SubscriptionController.phpindex edfbe4a03..f3e9ca225 100644--- a/api/app/Http/Controllers/SubscriptionController.php+++ b/api/app/Http/Controllers/SubscriptionController.php@@ -40,9 +40,10 @@ class SubscriptionController extends Controller->newSubscription($pricing, BillingHelper::getPricing($pricing)[$plan])->allowPromotionCodes();- if ($trial != null) {- $checkoutBuilder->trialUntil(now()->addDays(3)->addHour());- }+ // Disable trial for now+ // if ($trial != null) {+ // $checkoutBuilder->trialUntil(now()->addDays(3)->addHour());+ // }$checkout = $checkoutBuilder->collectTaxIds()diff --git a/client/components/pages/forms/show/FormCleanings.vue b/client/components/pages/forms/show/FormCleanings.vueindex 075b8db29..c88534be7 100644--- a/client/components/pages/forms/show/FormCleanings.vue+++ b/client/components/pages/forms/show/FormCleanings.vue@@ -41,7 +41,7 @@Upgrade plan - Unlock all features</template><template v-else>- Start free trial - Unlock all features+ Unlock all features</template></UButton></TrackClick>diff --git a/client/components/pages/pricing/PricingTable.vue b/client/components/pages/pricing/PricingTable.vueindex df483f209..22256e3c4 100644--- a/client/components/pages/pricing/PricingTable.vue+++ b/client/components/pages/pricing/PricingTable.vue@@ -60,7 +60,7 @@</h3><p class="mt-2 text-base font-medium leading-7 text-neutral-600">OpnForm Pro offers empowering features tailored to the advanced- needs of teams and creators. Enjoy our free 3-day trial!+ needs of teams and creators.</p><div class="flex items-center mt-6 gap-x-4">@@ -134,7 +134,7 @@class="mr-1":to="{ name: 'register' }"trailing-icon="i-heroicons-arrow-right"- label="Start free trial"+ label="Get Pro"/><UButtonv-else-if="authenticated && user && user.is_subscribed"@@ -149,7 +149,7 @@class="mr-1"trailing-icon="i-heroicons-arrow-right"@click.prevent="openSubscriptionModal({ plan: 'default', yearly: isYearly })"- label="Start free trial"+ label="Get Pro"/></div><pdiff --git a/client/components/pages/pricing/SubscriptionModal.vue b/client/components/pages/pricing/SubscriptionModal.vueindex 34fa7fdcf..959970162 100644--- a/client/components/pages/pricing/SubscriptionModal.vue+++ b/client/components/pages/pricing/SubscriptionModal.vue@@ -88,7 +88,7 @@<UButtonclass="relative border border-white border-opacity-20 h-10 inline-flex px-4 items-center rounded-lg text-sm font-semibold w-full justify-center mt-4"@click.prevent="onSelectPlan('default')"- label="Start 3-day trial"+ label="Get Pro"/></TrackClick><UButtondiff --git a/client/pages/pricing.vue b/client/pages/pricing.vueindex 1c52334bf..70b234b6d 100644--- a/client/pages/pricing.vue+++ b/client/pages/pricing.vue@@ -347,11 +347,11 @@answer:'The OpnForm Pro Plan is designed to meet the advanced needs of teams and creators. It includes features like form confirmation emails, Slack and Discord notifications, editable submissions, custom domain, custom code integration, larger file uploads, removal of OpnForm branding, priority support, and more.',},- {- question: 'Can I try the Pro Plan before subscribing?',- answer:- 'Absolutely! We offer a free 3-day trial of the OpnForm Pro Plan. This allows you to explore all the empowering features and experience the value it brings to your form-building process. The trial is automatically applied.',- },+ // {+ // question: 'Can I try the Pro Plan before subscribing?',+ // answer:+ // 'Absolutely! We offer a free 3-day trial of the OpnForm Pro Plan. This allows you to explore all the empowering features and experience the value it brings to your form-building process. The trial is automatically applied.',+ // },{question: 'Is there a discount for annual plans?',answer: