mirror of
https://github.com/AustinKelsay/plebdevs.git
synced 2025-06-06 18:31:00 +00:00
Fix subscription amount
This commit is contained in:
parent
c8e5e13840
commit
4c76cd0a3c
@ -27,7 +27,7 @@ const SubscriptionPaymentButtons = ({ onSuccess, onError, onRecurringSubscriptio
|
|||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
|
|
||||||
const lnAddress = process.env.NEXT_PUBLIC_LIGHTNING_ADDRESS;
|
const lnAddress = process.env.NEXT_PUBLIC_LIGHTNING_ADDRESS;
|
||||||
const amount = 50;
|
const amount = 50000;
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
initializeBitcoinConnect();
|
initializeBitcoinConnect();
|
||||||
@ -92,7 +92,7 @@ const SubscriptionPaymentButtons = ({ onSuccess, onError, onRecurringSubscriptio
|
|||||||
const initNwcOptions = {
|
const initNwcOptions = {
|
||||||
name: "plebdevs.com",
|
name: "plebdevs.com",
|
||||||
requestMethods: ['pay_invoice'],
|
requestMethods: ['pay_invoice'],
|
||||||
maxAmount: 500,
|
maxAmount: 50000,
|
||||||
editable: false,
|
editable: false,
|
||||||
budgetRenewal: 'monthly',
|
budgetRenewal: 'monthly',
|
||||||
expiresAt: yearFromNow,
|
expiresAt: yearFromNow,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user