Lower subscription cost

This commit is contained in:
austinkelsay 2024-12-03 11:26:40 -06:00
parent dd09351fb2
commit da5484eca5
No known key found for this signature in database
GPG Key ID: 44CB4EC6D9F2FA02
4 changed files with 7 additions and 7 deletions

View File

@ -18,8 +18,8 @@ PlebDevs is an open-source platform that combines educational content, community
- Free content available to all (viewable on any Nostr client) and zappable
- Premium content purchasable with Lightning or through a PlebDevs subscription
- Subscription options:
- Pay-as-you-go: 70,000 sats - One-time payment for one month of access
- Recurring: 70,000 sats/month - Automatic renewal via Nostr Wallet Connect
- Pay-as-you-go: 50,000 sats - One-time payment for one month of access
- Recurring: 50,000 sats/month - Automatic renewal via Nostr Wallet Connect
- ⭐️ **Subscription Benefits**:
- Full access to all paid content
- 1:1 calendar for tutoring/help

View File

@ -27,7 +27,7 @@ const SubscriptionPaymentButtons = ({ onSuccess, onError, onRecurringSubscriptio
const router = useRouter();
const lnAddress = process.env.NEXT_PUBLIC_LIGHTNING_ADDRESS;
const amount = 70000;
const amount = 50000;
useEffect(() => {
initializeBitcoinConnect();
@ -92,7 +92,7 @@ const SubscriptionPaymentButtons = ({ onSuccess, onError, onRecurringSubscriptio
const initNwcOptions = {
name: "plebdevs.com",
requestMethods: ['pay_invoice'],
maxAmount: 70000,
maxAmount: 50000,
editable: false,
budgetRenewal: 'monthly',
expiresAt: yearFromNow,
@ -257,7 +257,7 @@ const SubscriptionPaymentButtons = ({ onSuccess, onError, onRecurringSubscriptio
<AlbyButton handleSubmit={handleRecurringSubscription} />
<span className='my-4 text-lg font-bold'>or</span>
<p className='text-lg font-bold'>Manually enter NWC URL</p>
<span className='text-sm text-gray-500'>*make sure you set a budget of at least 70000 sats and set budget renewal to monthly</span>
<span className='text-sm text-gray-500'>*make sure you set a budget of at least 50000 sats and set budget renewal to monthly</span>
<input
type="text"
value={nwcInput}

View File

@ -3,7 +3,7 @@ import { webln } from "@getalby/sdk";
import { LightningAddress } from '@getalby/lightning-tools';
const lnAddress = process.env.LIGHTNING_ADDRESS;
const amount = 70000; // Set the subscription amount in satoshis
const amount = 50000; // Set the subscription amount in satoshis
export default async function handler(req, res) {
// if (req.headers.authorization !== process.env.CRON_SECRET) {

View File

@ -271,7 +271,7 @@ const Subscribe = () => {
</div>
<div className='flex flex-col gap-2'>
<h3 className="text-lg font-semibold">How much does the subscription cost?</h3>
<p>The subscription is 70,000 sats per month.</p>
<p>The subscription is 50,000 sats per month.</p>
</div>
<div>
<h3 className="text-lg font-semibold">How do I Subscribe? (Pay as you go)</h3>