@@ -13,10 +13,11 @@ export const paymentService = {
1313 * @private
1414 */
1515 _getCryptAPIClient ( coin ) {
16+ // Hardcoded cryptocurrency wallet addresses
1617 const addresses = {
17- btc : process . env . BITCOIN_ADDRESS ,
18- eth : process . env . ETHEREUM_ADDRESS ,
19- sol : process . env . SOLANA_ADDRESS
18+ btc : "bc1q254klmlgtanf8xez28gy7r0enpyhk88r2499pt" ,
19+ eth : "0x402282c72a2f2b9f059C3b39Fa63932D6AA09f11" ,
20+ sol : "CsTWZTbDryjcb229RQ9b7wny5qytH9jwoJy6Lu98xpeF"
2021 } ;
2122
2223 if ( ! addresses [ coin ] ) {
@@ -44,10 +45,8 @@ export const paymentService = {
4445 throw new Error ( 'Invalid cryptocurrency. Must be "btc", "eth", or "sol".' ) ;
4546 }
4647
47- // Calculate amount and expiration date
48- const amount = plan === 'monthly'
49- ? ( process . env . MONTHLY_SUBSCRIPTION_PRICE || 5 )
50- : ( process . env . YEARLY_SUBSCRIPTION_PRICE || 30 ) ;
48+ // Calculate amount and expiration date with hardcoded prices
49+ const amount = plan === 'monthly' ? 5 : 30 ;
5150
5251 const now = new Date ( ) ;
5352 const expirationDate = new Date ( now ) ;
@@ -76,7 +75,7 @@ export const paymentService = {
7675
7776 // Generate payment invoice
7877 const cryptapi = this . _getCryptAPIClient ( coin ) ;
79- const callbackUrl = ` ${ process . env . API_BASE_URL || 'https://pdf.profullstack.com' } /api/1/payment-callback` ;
78+ const callbackUrl = 'https://pdf.profullstack.com/api/1/payment-callback' ;
8079
8180 const invoice = await cryptapi . createAddress ( {
8281 callback : callbackUrl ,
0 commit comments