Skip to content

Security Extension

Thank you for your purchase!

Installation

Step 1: Upload Extension Files

Upload the Security extension files to your Paymenter installation:

/var/www/paymenter/extensions/Others/Security/

Upload all Security files to extensions/Others/Security/ using SFTP or your preferred file transfer method.

Step 2: Enable Extension

Enable the extension in your Paymenter admin panel:

Admin Panel → Extensions → Others → Security → Enable

The extension will automatically run database migrations when enabled.

Configuration

Extension Settings

After enabling, configure the security settings in the admin panel:

SettingDescriptionDefault
Auto-suspend fraud accountsEnable automatic fraud detectionOff
Block VPN/Proxy IPsBlock known VPN and proxy servicesOff
Max login attemptsSet threshold for IP blocking5
IP block durationSet block duration in minutes60
Enable name validationBlock gibberish namesOff
Block disposable emailsBlock temporary email addressesOff
Enable IP reputationCheck IP reputation via APIsOff
Enable audit loggingLog all security eventsOn

⚠️ CRITICAL: Required Integration

To prevent suspended users from logging in and to enable automatic security checks, you MUST integrate the security checks into your login and registration components.

Configure Login Integration

Add this to /app/Livewire/Auth/Login.php on line 12:

php
use Paymenter\Extensions\Others\Security\Listeners\SecurityLoginListener;

Add this to /app/Livewire/Auth/Login.php on line 29 (Before rate-limiter):

php
$securityError = SecurityLoginListener::checkLoginSecurity($this->email, request()->ip());
if ($securityError) {
    $this->addError('email', $securityError);
    return;
}

Configure Registration Integration

Add this to /app/Livewire/Auth/Register.php at the top with other use statements:

php
use Paymenter\Extensions\Others\Security\Listeners\SecurityLoginListener;

In your submit() method, add the security check at the beginning (before $validatedData = $this->validate();):

php
$fullName = $this->first_name . ' ' . $this->last_name;
$securityError = SecurityLoginListener::checkRegistrationSecurity($this->email, request()->ip(), $fullName);
if ($securityError) {
    $this->addError('email', $securityError);
    return;
}

And after creating the user (after User::create(...)), add:

php
SecurityLoginListener::recordSuccessfulRegistration($this->email, request()->ip(), $user->id);

Usage

Viewing Security Logs

Navigate to Admin Panel → Security → Logs to view:

  • Login attempts
  • Blocked IPs
  • Fraud detections
  • Registration blocks

Managing Blocked IPs

  1. Go to Admin Panel → Security → Blocked IPs
  2. View all currently blocked IPs
  3. Unblock IPs manually if needed

Need Help?

Join our Discord Server and open a ticket for support.

© 2025 Security Extension - BuiltByOtte. All rights reserved.

Last updated: