From ba73e4a6b38ef0a5b768b3478234970e6098e384 Mon Sep 17 00:00:00 2001 From: Rahul Gupta Date: Wed, 24 Jul 2024 13:09:10 -0700 Subject: [PATCH 1/3] change pricing to 9.99 and set up a 30 day free trial --- config/.env.development | 2 +- config/.env.production | 2 +- .../modals/PaymentModal/PaymentModal.component.jsx | 5 +++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/config/.env.development b/config/.env.development index d61240ebe..1fdb098df 100644 --- a/config/.env.development +++ b/config/.env.development @@ -6,4 +6,4 @@ FIREBASE_MESSAGING_SENDER_ID = "35938260968" FIREBASE_APP_ID = "1:35938260968:web:ff479731a6603f73b6f65d" FIREBASE_MEASUREMENT_ID = "G-YF8EXV88Z0" STRIPE_PUBLISHABLE_KEY = "pk_test_DZSs5vG1OfSiFdhpSDgnizcL" -STRIPE_PRICE_ID = "price_1PVKKsA638v2qJqBw2E7cY3S" \ No newline at end of file +STRIPE_PRICE_ID = "price_1PgBLbA638v2qJqBcGpXrlpn" \ No newline at end of file diff --git a/config/.env.production b/config/.env.production index 9b6022cfa..efae4993c 100644 --- a/config/.env.production +++ b/config/.env.production @@ -6,4 +6,4 @@ FIREBASE_MESSAGING_SENDER_ID = '568813074454' FIREBASE_APP_ID = '1:568813074454:web:41ec82e30413603c771d37' FIREBASE_MEASUREMENT_ID = 'G-T65XPDLZ3F' STRIPE_PUBLISHABLE_KEY = "pk_live_5O2Fz0jVYHikfGupJonnLndB" -STRIPE_PRICE_ID = "price_1PO4nIA638v2qJqBN4DFLOHV" \ No newline at end of file +STRIPE_PRICE_ID = "price_1PgBOoA638v2qJqBSeLGdVQq" \ No newline at end of file diff --git a/src/editor/components/modals/PaymentModal/PaymentModal.component.jsx b/src/editor/components/modals/PaymentModal/PaymentModal.component.jsx index a2f56f580..102ec063d 100644 --- a/src/editor/components/modals/PaymentModal/PaymentModal.component.jsx +++ b/src/editor/components/modals/PaymentModal/PaymentModal.component.jsx @@ -44,6 +44,7 @@ const PaymentModal = ({ isOpen, onClose }) => { metadata: { userId: currentUser.uid }, allow_promotion_codes: true, subscription_data: { + trial_period_days: 30, metadata: { userId: currentUser.uid } @@ -66,7 +67,7 @@ const PaymentModal = ({ isOpen, onClose }) => { extraCloseKeyCode={72} >
-

Unlock Geospatial Features with 3DStreet Pro

+

Unlock Geospatial Features with a free 30 day trial

Create with geospatial maps and share your vision in augmented reality with 3DStreet Pro. @@ -101,7 +102,7 @@ const PaymentModal = ({ isOpen, onClose }) => {

) : ( )} From 5135f0cb0dbf6ae3142f56723798ab3e0cd4a79c Mon Sep 17 00:00:00 2001 From: Rahul Gupta Date: Mon, 29 Jul 2024 18:46:00 -0700 Subject: [PATCH 2/3] change trial to 7 days --- .../components/modals/PaymentModal/PaymentModal.component.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/editor/components/modals/PaymentModal/PaymentModal.component.jsx b/src/editor/components/modals/PaymentModal/PaymentModal.component.jsx index 102ec063d..de29d0d5b 100644 --- a/src/editor/components/modals/PaymentModal/PaymentModal.component.jsx +++ b/src/editor/components/modals/PaymentModal/PaymentModal.component.jsx @@ -44,7 +44,7 @@ const PaymentModal = ({ isOpen, onClose }) => { metadata: { userId: currentUser.uid }, allow_promotion_codes: true, subscription_data: { - trial_period_days: 30, + trial_period_days: 7, metadata: { userId: currentUser.uid } From 2c7a30640bc7174dbc7bd26dba2da4bd2e60930c Mon Sep 17 00:00:00 2001 From: Kieran Farr Date: Mon, 5 Aug 2024 13:12:32 -0700 Subject: [PATCH 3/3] update trial length in header --- .../components/modals/PaymentModal/PaymentModal.component.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/editor/components/modals/PaymentModal/PaymentModal.component.jsx b/src/editor/components/modals/PaymentModal/PaymentModal.component.jsx index a15fad6b2..6db5a23a0 100644 --- a/src/editor/components/modals/PaymentModal/PaymentModal.component.jsx +++ b/src/editor/components/modals/PaymentModal/PaymentModal.component.jsx @@ -67,7 +67,7 @@ const PaymentModal = ({ isOpen, onClose }) => { extraCloseKeyCode={72} >
-

Unlock Geospatial Features with a free 30 day trial

+

Unlock Geospatial Features with a free 7 day trial

Create with geospatial maps and share your vision in augmented reality with 3DStreet Pro.