mirror of
https://github.com/AustinKelsay/plebdevs.git
synced 2025-06-03 07:42:03 +00:00
reset prod prices
This commit is contained in:
parent
ab7b5fc273
commit
34d0165c89
@ -38,7 +38,7 @@ const SubscriptionPaymentButtons = ({
|
||||
|
||||
// Calculate the amount based on the subscription type
|
||||
const getAmount = () => {
|
||||
return subscriptionType === 'yearly' ? 500 : 50;
|
||||
return subscriptionType === 'yearly' ? 500000 : 50000;
|
||||
};
|
||||
|
||||
const amount = getAmount();
|
||||
|
@ -117,11 +117,6 @@ const UserSubscription = () => {
|
||||
}
|
||||
};
|
||||
|
||||
// Calculate the subscription amount based on type
|
||||
const getAmount = () => {
|
||||
return subscriptionType === 'yearly' ? 500 : 50;
|
||||
};
|
||||
|
||||
return (
|
||||
<div className="py-4 px-1">
|
||||
{windowWidth < 768 && <h1 className="text-3xl font-bold mb-6">Subscription Management</h1>}
|
||||
|
@ -11,7 +11,7 @@ const lnAddress = process.env.LIGHTNING_ADDRESS;
|
||||
// Calculate subscription amount based on type
|
||||
const getAmount = (subscriptionType) => {
|
||||
// 500K for yearly (saves ~17% compared to monthly), 50K for monthly
|
||||
return subscriptionType === 'yearly' ? 500 : 50;
|
||||
return subscriptionType === 'yearly' ? 500000 : 50000;
|
||||
};
|
||||
|
||||
export default async function handler(req, res) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user