T.ME/BIBIL_0DAY
CasperSecurity


Server : Apache/2
System : Linux server-15-235-50-60 5.15.0-164-generic #174-Ubuntu SMP Fri Nov 14 20:25:16 UTC 2025 x86_64
User : gositeme ( 1004)
PHP Version : 8.2.29
Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Directory :  /home/gositeme/domains/soundstudiopro.com/private_html/webhooks/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/gositeme/domains/soundstudiopro.com/private_html/webhooks/paypal.php
<?php
// PayPal Webhook Handler
// This handles incoming PayPal payment notifications

require_once '../config/database.php';

// Log all incoming webhook events
$webhook_data = file_get_contents('php://input');
$headers = getallheaders();

$log_entry = [
    'timestamp' => date('Y-m-d H:i:s'),
    'action' => 'paypal_webhook_received',
    'headers' => $headers,
    'body' => $webhook_data
];

$webhook_log_file = __DIR__ . '/../logs/paypal_webhooks.log';
file_put_contents($webhook_log_file, json_encode($log_entry) . "\n", FILE_APPEND | LOCK_EX);

// For now, we'll just log the webhook
// In a real implementation, you would:
// 1. Verify the webhook signature
// 2. Process the payment status
// 3. Add credits to user account
// 4. Send confirmation email

echo json_encode(['status' => 'received']);
?> 

CasperSecurity Mini