Setting Up Payment Gateways in MonsterTools

MonsterTools provides comprehensive payment gateway integration, allowing you to accept payments through multiple methods including PayPal, Stripe, and Bank Transfer. This guide will walk you through configuring each payment option to start monetizing your tools.

Accessing Payment Settings

  1. Navigate to MonsterTools > Payment Settings in your WordPress admin

  2. You'll see a tabbed interface with four main sections:


1. Currency Configuration

Before setting up payment gateways, configure your global currency settings:

Primary Settings:

Example Configurations:

**US Format:**
- Currency: USD
- Position: Left ($99.99)
- Thousands: , (1,000)
- Decimal: . (99.99)
- Decimals: 2 
**European Format:**
- Currency: EUR
- Position: Right (99,99€)
- Thousands: . (1.000)
- Decimal: , (99,99)
- Decimals: 2

2. PayPal Setup

PayPal is one of the most popular payment gateways and supports both one-time and recurring payments.

Step-by-Step Configuration:

  1. Enable PayPal

  2. Set Mode

  3. Get API Credentials

  4. Enter Credentials

  5. Webhook Configuration (Essential for Subscriptions)

PayPal Webhook Setup:

  1. Go to PayPal Developer Dashboard > Your App > Webhooks

  2. Click "Add Webhook"

  3. Enter the Webhook URL shown in MonsterTools settings

  4. Select these events:

  5. Copy the Webhook ID and paste it in MonsterTools

Testing PayPal:


3. Stripe Setup

Stripe provides robust credit card processing with excellent developer tools.

Step-by-Step Configuration:

  1. Enable Stripe

  2. Set Mode

  3. Get API Keys

  4. Enter Credentials

  5. Webhook Configuration (Critical for Recurring Payments)

Stripe Webhook Setup:

  1. Go to Stripe Dashboard > Developers > Webhooks

  2. Click "Add endpoint"

  3. Enter the Webhook URL shown in MonsterTools settings

  4. Select these events:

  5. Copy the Signing Secret and paste it in MonsterTools

Testing Stripe:


4. Bank Transfer Setup

For users who prefer manual bank payments or local payment methods.

Step-by-Step Configuration:

  1. Enable Bank Transfer

  2. Enter Bank Details

Example Bank Details:

Bank Name: Example National Bank
Account Holder: Your Business Name
Account Number: 123456789
Routing Number: 021000021
SWIFT Code: EXAMPLEUS33

Bank Transfer Workflow:

  1. Customer selects "Bank Transfer" at checkout

  2. System displays your bank details

  3. Customer manually transfers payment

  4. You manually confirm payment in WordPress admin

  5. System grants subscription access


Payment Gateway Best Practices

1. Security Considerations

2. Testing Strategy

3. User Experience


Troubleshooting Common Issues

PayPal Problems:

Stripe Issues:

Bank Transfer:

General Payment Issues:


Webhook Configuration Details

Why Webhooks are Essential:

Webhook Testing:

Webhook Security:


Going Live Checklist

Before activating live payments:


Advanced Configuration

Custom Payment Gateways:

Developers can add custom payment gateways using hooks:

// Add custom payment gateway
add_filter('monstertools_payment_settings_groups', function($groups, $prefix) {
    $groups['custom_gateway'] = [
        'box_config' => [
            // Configuration array
        ],
        'fields' => [
            // Custom fields
        ]
    ];
    return $groups;
}, 10, 2);

Payment Method Conditional Logic:

// Show/hide payment methods based on conditions
add_filter('monstertools_available_payment_methods', function($methods, $onlyReady) {
    unset($methods['bank']);
    return $methods;
}, 10, 2);

// Only show bank transfer for administrators
add_filter('monstertools_available_payment_methods', function($methods, $onlyReady) {
    if (!current_user_can('manage_options')) {
        // Remove bank transfer for non-admins
        $methods = array_filter($methods, function($method) {
            return $method['id'] !== 'bank';
        });
    }
    
    return $methods;
}, 10, 2);

Monitoring & Maintenance

Regular Checks:

Key Metrics to Track:

By following this comprehensive guide, you'll have your payment system configured correctly and be ready to start accepting payments for your MonsterTools subscription plans. Remember to test thoroughly before going live and monitor your payment system regularly for optimal performance.