WooCommerce

Source Files

You can download the latest extension version here.


A WooCommerce payment gateway integration for Ecom Payment, supporting KNET, Credit Card, and Apple Pay payment methods.

Features

  • Multiple Payment Methods

    • KNET
    • Credit Card
    • Apple Pay
    • Configurable payment method availability
  • Order Management

    • Real-time payment status updates
    • Automatic order status management
    • Detailed transaction information in order details
    • Support for partial and full refunds
  • Refund Management

    • Comprehensive refund tracking
    • Refund status display in orders list
    • Detailed refund information in order details
    • Color-coded refund status indicators
  • Webhook Integration

    • Real-time payment status updates
    • Automatic order status synchronization
    • Secure webhook signature verification
    • Support for transaction, refund, and payout events
  • Admin Features

    • Easy configuration through WooCommerce settings
    • Test mode support
    • Detailed transaction logs
    • Refund status overview in orders list

Requirements

  • WordPress 5.0 or higher
  • WooCommerce 5.0 or higher
  • PHP 7.4 or higher
  • SSL certificate (required for webhooks)

Installation

  1. Download the plugin zip file
  2. Go to WordPress admin panel > Plugins > Add New
  3. Click "Upload Plugin" and select the downloaded zip file
  4. Click "Install Now"
  5. After installation, click "Activate Plugin"

Configuration

Basic Settings

  1. Go to WooCommerce > Settings > Payments
  2. Click on "Ecom Payment" to configure the gateway
  3. Enable/Disable the gateway
  4. Set the gateway title and description
  5. Configure the following settings:

API Credentials

  • Merchant ID: Your Ecom Payment merchant ID
  • API Key: Your Ecom Payment API key
  • Test Mode: Enable/disable test mode

Payment Methods

  • Enable/disable individual payment methods:
    • KNET
    • Credit Card
    • Apple Pay

Webhook Configuration

  • Webhook URL: Automatically generated URL for webhook notifications
  • Webhook Secret: Your Ecom Payment webhook secret key

Webhook Setup

  1. Copy the Webhook URL from the plugin settings
  2. Log in to your Ecom Payment dashboard
  3. Go to API Credentials > Webhooks
  4. Add a new webhook with the following settings:
    • URL: Paste the copied webhook URL
    • Events: Select the events you want to receive
    • Secret: Set your webhook secret and copy it to the plugin settings

For detailed webhook documentation, visit Ecom Payment Webhook Documentation

Usage

Processing Payments

  1. Customers can select their preferred payment method during checkout
  2. They will be redirected to the Ecom Payment gateway
  3. After successful payment, they will be redirected back to your store
  4. Order status will be automatically updated

Processing Refunds

  1. Go to the order details page
  2. Click "Refund" button
  3. Enter the refund amount
  4. Add a refund reason (optional)
  5. Click "Refund via Ecom Payment"

Viewing Transaction Details

  1. Go to the order details page
  2. Scroll down to "Ecom Payment Information" section
  3. View transaction details, payment method, and status

Viewing Refund Status

  1. Go to WooCommerce > Orders
  2. Look for the "Ecom Refund Status" column
  3. View color-coded refund status for each order

API Documentation

For detailed API documentation, visit Ecom Payment API Documentation