diff --git a/components/TheFooter.vue b/components/TheFooter.vue index b631418f..593cc7b9 100644 --- a/components/TheFooter.vue +++ b/components/TheFooter.vue @@ -212,7 +212,7 @@ const handleChangeTheme = (target) => { - Made by PK Lab + Made by PK Labs diff --git a/components/modals/APIModal.vue b/components/modals/APIModal.vue index ca366115..55d74e57 100644 --- a/components/modals/APIModal.vue +++ b/components/modals/APIModal.vue @@ -18,6 +18,11 @@ const plans = reactive([ monthly: null, annually: null, }, + stripe: { + monthly: null, + annually: null, + }, + requests: { rps: 3, rpd: 100_000, @@ -38,6 +43,11 @@ const plans = reactive([ monthly: 149, annually: 119, }, + stripe: { + monthly: "cN2dTe5ygb0V9DG6oo", + annually: "7sI8yU5ygd934jm001", + }, + requests: { rps: 10, rpd: 500_000, @@ -58,6 +68,11 @@ const plans = reactive([ monthly: 149, annually: 119, }, + stripe: { + monthly: "fZe7uQ1i0glfdTW5km", + annually: "eVaaH2f8Qb0VbLOcMP", + }, + requests: { rps: 10, rpd: 500_000, @@ -78,6 +93,11 @@ const plans = reactive([ monthly: 299, annually: 239, }, + stripe: { + monthly: "00g2aw4ucfhbbLObIM", + annually: "eVa02o1i05GBaHK9AF", + }, + requests: { rps: 30, rpd: 1_500_000, @@ -95,6 +115,13 @@ const plans = reactive([ ]) const selectedPlan = ref(0) const selectedBilling = ref("annually") + +const getPaymentLink = () => { + const key = plans[selectedPlan.value].stripe[selectedBilling.value] + + if (!key) return + return `https://buy.stripe.com/${key}` +}