Pakistani Payment Gateway
for WooCommerce

Complete payment solution for Pakistani businesses supporting 14 popular payment methods including Easypaisa, JazzCash, SadaPay, and major banks

14 Payment Methods
WhatsApp Integration
Custom Email Templates
100% Free
Version 1.0.0 • GPL v2 Licensed
✓ No Registration Required ✓ No Hidden Costs ✓ Full Features Included

📋 Overview

The Pakistani Payment Gateway plugin is a comprehensive payment solution designed specifically for Pakistani businesses using WooCommerce. It seamlessly integrates 14 popular Pakistani payment methods including mobile wallets and major banks, making it easier for your customers to pay using their preferred method.

🎯 Perfect For: E-commerce stores, online businesses, service providers, and any WooCommerce-powered website targeting Pakistani customers.
⬇️ Download Plugin (Free)

No registration required • GPL v2 Licensed • 100% Free

Supported Payment Methods

📱 Mobile Wallets

Easypaisa

Pakistan's leading mobile wallet

JazzCash

Popular mobile payment service

SadaPay

Modern digital wallet

NayaPay

Digital payment solution

Zindigi

JS Bank's digital wallet

🏦 Banks

HBL

Habib Bank Limited

UBL

United Bank Limited

Meezan Bank

Islamic banking

MCB

Muslim Commercial Bank

Allied Bank

Allied Bank Limited

Bank Alfalah

Bank Alfalah Limited

Faysal Bank

Faysal Bank Limited

Standard Chartered

Standard Chartered Bank

Generic Bank Transfer

Any Pakistani bank

System Requirements

Requirement Minimum Version
WordPress 5.0 or higher
WooCommerce 3.0 or higher
PHP 7.2 or higher

✨ Key Features

🔍 Transaction ID Tracking

Customers can enter transaction IDs for easy payment verification and tracking.

👤 Sender Verification

Collect sender account number and name to verify payment authenticity.

⚙️ Customizable Checkout Fields

Control which fields are shown and whether they're required or optional.

💬 WhatsApp Integration

Send payment notifications via WhatsApp to admin and customers automatically.

📧 Custom Email Templates

Fully customizable payment pending and approved email templates with variables.

💰 Payment Fees

Add fixed or percentage-based fees for specific payment methods.

🎯 Conditional Logic

Set minimum/maximum cart amounts for each payment gateway availability.

📝 Custom Fields

Add up to 3 custom fields per payment gateway for additional information.

🖼️ Gateway Icons

Upload custom logos for each payment method to enhance user experience.

✅ Auto-Complete Orders

Automatically mark orders as completed after payment verification.

⏰ Payment Reminders

Send automatic email reminders for pending payments to customers.

🌐 Multi-language Support

Translation ready with text domain for international audiences.

Detailed Feature Breakdown

Transaction Management

Email Customization

WhatsApp Features

Payment Gateway Controls

📥 Installation Guide

Method 1: Manual Installation

  1. Download the Plugin

    Download the pakistani-payment-gateways.php file from the official source.

  2. Upload to WordPress

    Navigate to your WordPress installation directory and upload the file to:

    /wp-content/plugins/pakistani-payment-gateways/

    Create the folder if it doesn't exist.

  3. Activate the Plugin

    Go to WordPress Admin → Plugins → Installed Plugins

    Find "Pakistani Payment Gateway" and click "Activate"

  4. Verify Installation

    Go to WooCommerce → Settings → Payments

    You should see all 14 Pakistani payment methods listed

Method 2: FTP Upload

  1. Connect via FTP

    Use an FTP client (FileZilla, WinSCP, etc.) to connect to your server

  2. Navigate to Plugins Directory

    Go to: /public_html/wp-content/plugins/

  3. Create Plugin Folder

    Create a new folder: pakistani-payment-gateways

  4. Upload Plugin File

    Upload pakistani-payment-gateways.php to the new folder

  5. Activate in WordPress

    Go to WordPress Admin → Plugins and activate the plugin

⚠️ Important: Make sure WooCommerce is installed and activated before installing this plugin. The plugin requires WooCommerce to function properly.

Post-Installation Checklist

✅ Installation Complete! You can now proceed to configure your payment gateways.
⬇️ Download Plugin File

⚙️ Configuration Guide

Basic Setup

  1. Access Payment Settings

    Navigate to: WooCommerce → Settings → Payments

  2. Enable Payment Gateways

    Toggle the switch to enable the payment methods you want to offer

  3. Configure Each Gateway

    Click "Manage" or the gateway name to access configuration options

Gateway Configuration Options

1. Basic Settings

Setting Description
Enable/Disable Turn the payment gateway on or off
Title Name shown to customers at checkout (e.g., "Pay with Easypaisa")
Description Brief description shown during checkout
Instructions Detailed instructions shown on thank you page and emails

2. Account Details (Mobile Wallets)

3. Account Details (Banks)

4. Checkout Field Settings

Setting Purpose
Show Transaction ID Field Display field for customers to enter transaction ID
Require Transaction ID Make transaction ID mandatory for order completion
Show Sender Details Display fields for sender account number and name
Require Sender Details Make sender information mandatory

5. Email Template Configuration

Customize emails sent to customers with these settings:

Available Email Variables:
{order_number}, {customer_name}, {order_total}, {payment_method}, {transaction_id}, {sender_name}, {sender_number}, {site_name}, {order_date}, {billing_address}, {billing_city}, {billing_phone}, {billing_email}, {order_items}
Payment Pending Email
Payment Approved Email

6. WhatsApp Integration

7. Payment Fees

8. Conditional Logic

9. Custom Fields

Add up to 3 custom fields per gateway:

10. Gateway Icons

💡 Pro Tip: Start with basic settings first, then gradually enable advanced features like custom emails and WhatsApp integration as you become familiar with the plugin.

📖 How to Use

For Customers (Frontend)

  1. Add Products to Cart

    Browse the store and add desired products to the shopping cart

  2. Proceed to Checkout

    Click "Proceed to Checkout" and fill in billing details

  3. Select Payment Method

    Choose your preferred Pakistani payment method from the available options

    You'll see the merchant's account details (mobile wallet number or bank account)

  4. Make Payment

    Use your mobile wallet app or bank to send payment to the displayed account

    Note down the transaction ID from your payment confirmation

  5. Enter Payment Details

    Return to checkout and enter:

    • Transaction ID
    • Your account/mobile number (sender)
    • Your account name (sender)
  6. Place Order

    Click "Place Order" to complete the checkout process

    You'll receive a confirmation email with order details

  7. Send Screenshot (Optional)

    Use the WhatsApp button to send payment screenshot to the merchant

    This helps speed up verification

  8. Wait for Verification

    The merchant will verify your payment (usually within 1-24 hours)

    You'll receive an email once payment is approved

For Store Owners (Backend)

  1. Receive Order Notification

    Get email and/or WhatsApp notification when customer places order

    Order status will be "On Hold" or "Pending Payment"

  2. Check Order Details

    Go to: WooCommerce → Orders

    Click on the order to view details

  3. View Payment Information

    In the order details, you'll see:

    • Payment method used
    • Transaction ID provided by customer
    • Sender account number
    • Sender account name
    • Order total amount
  4. Verify Payment

    Check your mobile wallet or bank account for the payment

    Match the transaction ID, amount, and sender details

    Review payment screenshot if customer sent via WhatsApp

  5. Update Order Status

    If payment is verified:

    • Change order status to "Processing" or "Completed"
    • Customer automatically receives payment approved email

    If payment is not received:

    • Contact customer via email or WhatsApp
    • Request payment proof or clarification
  6. Process Order

    Once verified, proceed with order fulfillment

    Pack and ship products as per your normal process

  7. Add Order Notes (Optional)

    Add internal notes about payment verification

    Document any issues or special circumstances

💡 Best Practice: Verify payments within 24 hours to provide excellent customer service. Quick verification leads to better customer satisfaction and repeat business.

🔄 Payment Verification Workflow

Complete Payment Flow

Step 1: Customer Places Order

  • Customer completes checkout with payment details
  • Order status: "On Hold" or "Pending Payment"
  • Customer receives: "Payment Pending" email
  • Admin receives: Email/WhatsApp notification

Step 2: Admin Verifies Payment

  • Admin checks payment account for received funds
  • Verifies transaction ID, amount, and sender details
  • Reviews payment screenshot (if provided via WhatsApp)
  • Confirms payment authenticity

Step 3: Order Status Updated

  • Admin changes order status to "Processing" or "Completed"
  • Customer receives: "Payment Approved" email automatically
  • Order moves to fulfillment queue

Step 4: Order Fulfillment

  • Products are packed and prepared for shipping
  • Shipping label is generated
  • Order is dispatched to customer
  • Tracking information is sent to customer

Order Status Meanings

Status Meaning Action Required
Pending Payment Order placed, awaiting payment verification Admin needs to verify payment
On Hold Payment submitted, pending admin review Admin needs to check payment account
Processing Payment verified, order being prepared Fulfill and ship the order
Completed Order fulfilled and delivered No action needed
Cancelled Order cancelled by customer or admin Process refund if payment received

WhatsApp Communication Flow

Automatic Notifications

Customer WhatsApp Message Template

Hello, I have placed order #123 on your website. Order Total: PKR 5,000 Payment Method: Easypaisa Transaction ID: ABC123XYZ Paid From: 03XX-XXXXXXX Please verify my payment. Thank you!

Email Communication Timeline

Trigger Email Sent Recipient
Order Placed Payment Pending Email Customer
Order Placed New Order Notification Admin
Status → Processing Payment Approved Email Customer
Status → Completed Order Completed Email Customer
⚠️ Important: This is a manual payment gateway. Payments are not processed automatically. Admin verification is required for each transaction.

🎨 Customization Options

Email Template Variables

Use these variables in your custom email templates to dynamically insert order information:

Variable Description Example Output
{order_number} Order number 123
{customer_name} Customer's full name Ahmed Khan
{order_total} Total order amount PKR 5,000
{payment_method} Payment method used Easypaisa
{transaction_id} Transaction ID entered ABC123XYZ
{sender_name} Sender account name Ahmed Khan
{sender_number} Sender account number 03XX-XXXXXXX
{site_name} Your website name My Store
{order_date} Date order was placed January 15, 2024
{billing_address} Customer's billing address 123 Main Street
{billing_city} Billing city Karachi
{billing_phone} Customer's phone number 03XX-XXXXXXX
{billing_email} Customer's email address customer@example.com
{order_items} List of ordered products Product 1 x 2
Product 2 x 1

Sample Email Template

Payment Pending Email Example

Dear {customer_name}, Thank you for your order! We have received your payment submission. Order Details: Order Number: #{order_number} Order Date: {order_date} Order Total: {order_total} Payment Method: {payment_method} Payment Information: Transaction ID: {transaction_id} Paid From: {sender_name} ({sender_number}) What's Next? Our team will verify your payment within 24 hours. You will receive a confirmation email once verified. Thank you for shopping with {site_name}!

Payment Approved Email Example

Dear {customer_name}, Great news! Your payment has been verified and confirmed. Order Details: Order Number: #{order_number} Order Total: {order_total} Payment Method: {payment_method} Transaction ID: {transaction_id} Items Ordered: {order_items} Shipping Address: {billing_address} {billing_city} Your order is now being processed and will be shipped soon. You will receive tracking information via email. Thank you for your business! Best regards, {site_name} Team

Custom CSS Styling

Add custom styles to your payment gateway checkout fields by adding CSS to your theme:

/* Style payment gateway fields */ .woocommerce-checkout .payment_method_easypaisa { background: #f0f8ff; padding: 15px; border-radius: 5px; } /* Style transaction ID field */ #transaction_id_field input { border: 2px solid #667eea; border-radius: 4px; } /* Style payment method icons */ .payment_method_label img { max-height: 30px; margin-right: 10px; }

Translation Support

The plugin is translation-ready. To translate:

  1. Install Translation Plugin

    Install Loco Translate or similar translation plugin

  2. Create Translation

    Go to Loco Translate → Plugins → Pakistani Payment Gateway

  3. Select Language

    Choose your language (Urdu, Arabic, etc.)

  4. Translate Strings

    Translate all text strings to your language

  5. Save Translation

    Save and the plugin will use your translations

💡 Pro Tip: Use HTML formatting in email templates for better presentation. You can add bold text, line breaks, and even custom styling.

❓ Frequently Asked Questions

General Questions

Q: Is this plugin free?

A: Yes, the plugin is free to use and licensed under GPL v2 or later.

Q: Does this plugin process payments automatically?

A: No, this is a manual payment gateway. Customers make payments directly to your accounts, and you verify them manually. This gives you full control over payment verification.

Q: Which payment methods are supported?

A: The plugin supports 14 Pakistani payment methods:

Q: Can I use this plugin with other payment gateways?

A: Yes! This plugin works alongside other WooCommerce payment gateways. Customers can choose their preferred payment method at checkout.

Q: Is the plugin compatible with my theme?

A: Yes, the plugin is compatible with all WooCommerce-compatible themes. It uses standard WooCommerce hooks and filters.

Setup & Configuration

Q: How do I install the plugin?

A: Upload the plugin file to /wp-content/plugins/pakistani-payment-gateways/ and activate it from the WordPress Plugins menu. See the Installation tab for detailed instructions.

Q: Do I need to enable all payment methods?

A: No, you can enable only the payment methods you want to offer. Go to WooCommerce → Settings → Payments and enable your preferred gateways.

Q: Can I customize the checkout fields?

A: Yes! You can show/hide transaction ID field, sender details, and make them required or optional. You can also add up to 3 custom fields per gateway.

Q: How do I set up WhatsApp notifications?

A: In each payment gateway settings, enable WhatsApp integration and enter your WhatsApp number. Customize the message templates as needed.

Payment & Orders

Q: Can customers upload payment screenshots?

A: Screenshot upload at checkout is disabled for reliability. Customers can send screenshots via WhatsApp after placing the order, which is more reliable and secure.

Q: How do I verify payments?

A: Check the order details in WooCommerce admin. You'll see the transaction ID, sender details, and payment method. Verify this information against your payment account (mobile wallet or bank).

Q: What happens after I verify a payment?

A: Change the order status to "Processing" or "Completed". The customer will automatically receive a payment approved email, and you can proceed with order fulfillment.

Q: Can I add payment fees?

A: Yes! You can add fixed or percentage-based fees for each payment method. Configure this in the payment gateway settings under "Payment Fee Settings".

Q: Can I set minimum/maximum order amounts for payment methods?

A: Yes! Use the Conditional Logic settings to set minimum and maximum cart amounts for each payment gateway.

Customization

Q: Can I customize the email templates?

A: Yes! The plugin includes full email template customization with support for 15+ variables. You can customize subject, heading, and body for both pending and approved emails.

Q: Can I add custom fields to the checkout?

A: Yes! Each payment gateway supports up to 3 custom fields. You can set field labels, types, placeholders, and make them required or optional.

Q: Can I upload custom logos for payment methods?

A: Yes! In the Gateway Icon Settings, you can upload or enter the URL of your custom logo. Recommended size is 150x50 pixels.

Q: Is the plugin translation-ready?

A: Yes! The plugin uses the text domain 'pakistani-payment-gateways' and is fully translation-ready. Use Loco Translate or similar plugins to translate.

Troubleshooting

Q: Payment gateways are not showing at checkout. Why?

A: Check these points:

Q: Emails are not being sent. What should I do?

A: Check these:

Q: WhatsApp notifications are not working. Why?

A: Ensure:

Q: Can I get support for this plugin?

A: Yes! Visit the plugin page at mubashirhassan.com or contact the author for support.

Security & Privacy

Q: Is this plugin secure?

A: Yes! The plugin follows WordPress and WooCommerce security best practices. All data is stored securely in your WordPress database.

Q: Where is payment information stored?

A: All payment information (transaction IDs, sender details) is stored as order metadata in your WordPress database, just like other WooCommerce order data.

Q: Does the plugin store sensitive payment information?

A: No, the plugin only stores transaction IDs and sender account details provided by customers. No sensitive banking credentials are stored.

Advanced Questions

Q: Can I modify the plugin code?

A: Yes! The plugin is open source under GPL v2 license. You can modify it to suit your needs. However, modifications may be lost during updates.

Q: Does the plugin work with multisite?

A: Yes, the plugin is compatible with WordPress multisite installations. Activate it network-wide or per site as needed.

Q: Can I use this for international payments?

A: The plugin is designed for Pakistani payment methods. For international payments, consider using international payment gateways like PayPal or Stripe.

Still have questions? Visit the plugin page or contact the developer for assistance.
⬇️ Get Started - Download Now

Free Forever • No Hidden Costs • Full Features Included