mirror of
https://github.com/AustinKelsay/plebdevs.git
synced 2025-04-19 10:51:20 +00:00
Lower subscription cost
This commit is contained in:
parent
dd09351fb2
commit
da5484eca5
@ -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
|
||||
|
@ -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}
|
||||
|
@ -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) {
|
||||
|
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user