Title: Wemay Payment Gateway
Author: wemaypay
Published: <strong>November 25, 2026</strong>
Last modified: November 25, 2026

---

Search plugins

![](https://s.w.org/plugins/geopattern-icon/wemay-payment-gateway.svg)

# Wemay Payment Gateway

 By [wemaypay](https://profiles.wordpress.org/wemaypay/)

[Download](https://downloads.wordpress.org/plugin/wemay-payment-gateway.1.4.1.zip)

 * [Details](https://wordpress.org/plugins/wemay-payment-gateway/#description)
 * [Reviews](https://wordpress.org/plugins/wemay-payment-gateway/#reviews)
 *  [Installation](https://wordpress.org/plugins/wemay-payment-gateway/#installation)
 * [Development](https://wordpress.org/plugins/wemay-payment-gateway/#developers)

 [Support](https://wordpress.org/support/plugin/wemay-payment-gateway/)

## Description

Wemay Payment Gateway connects a WooCommerce store to the Wemay Java payment platform.
Buyers enter their card number, expiry date and CVC on the WooCommerce checkout 
page; the plugin creates a payment order on the configured Wemay gateway and Java
selects the appropriate upstream payment channel.

Features:

 * Embedded credit card form on the WooCommerce checkout page.
 * Works with both classic and block-based WooCommerce checkout.
 * Supports 3DS redirects returned by the payment platform.
 * Sends billing and shipping address, browser/device information and cart details
   to the payment platform.
 * Handles asynchronous payment and refund notifications.
 * Shows the payment failure reason on the order page when provided by the gateway.
 * Configurable merchant number, application ID, application secret and 3DS mode.

External service:

This plugin connects to the payment gateway URL entered by the store administrator.
Card details, order information and customer/billing details are sent to that gateway
to create and process payments. The plugin also receives asynchronous payment and
refund notifications from that gateway. No data is sent to Wemay or any other service
unless the administrator configures a gateway URL.

## Installation

 1. Upload `wemay-payment-gateway.zip` through Plugins > Add New > Upload Plugin, or
    copy the `wemay-payment-gateway` folder to `/wp-content/plugins/`.
 2. Activate the plugin through the Plugins screen.
 3. Go to WooCommerce > Settings > Payments and open Wemay Payment.
 4. Enter the gateway base URL, merchant number (`mchNo`), application ID (`appId`),
    application secret (`appSecret`) and `wayCode` (normally `CARD`).
 5. Enable the payment method and save changes.

The gateway base URL must point to the payment service root, for example `https://
pay.example.com`. Do not include `/api/v1/payment/createOrder`.

## FAQ

### Does this plugin work with WooCommerce Blocks checkout?

Yes. The plugin registers a block checkout integration and renders the card fields
in the block-based checkout.

### Where do I configure merchant credentials?

In WooCommerce > Settings > Payments > Wemay Payment. Enter the merchant number,
application ID, application secret and `wayCode` supplied by the payment platform
administrator.

### Why do I see “There are no payment methods available”?

Check that WooCommerce is active, the plugin is activated, and Wemay Payment is 
enabled and saved. Also check the WooCommerce and PHP error logs for a fatal error.

### Why does the checkout show “invalid url router”?

The configured gateway address is wrong. Use only the payment service root URL without`/
api/v1` paths and without a trailing slash.

### Why does signature verification fail?

The `appSecret` in WordPress must exactly match the application secret configured
in the Java payment platform. Re-enter it and make sure there are no leading or 
trailing spaces.

### Why is no card form shown?

This version always uses embedded card collection. Make sure the plugin version 
is current and the payment method is enabled. The card form is shown on both classic
and block checkout pages.

### Does the plugin support refunds?

The plugin handles refund notifications sent by the payment platform and updates
the WooCommerce order status. Refunds must be initiated in the payment platform;
this plugin does not provide a refund button in the WordPress admin.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Wemay Payment Gateway” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ wemaypay ](https://profiles.wordpress.org/wemaypay/)

[Translate “Wemay Payment Gateway” into your language.](https://translate.wordpress.org/projects/wp-plugins/wemay-payment-gateway)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/wemay-payment-gateway/),
check out the [SVN repository](https://plugins.svn.wordpress.org/wemay-payment-gateway/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/wemay-payment-gateway/)
by [RSS](https://plugins.trac.wordpress.org/log/wemay-payment-gateway/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.4.1

 * Sanitized payment notification payload values after signature verification before
   they are stored in order notes or metadata.
 * Sanitized gateway responses before writing them to the debug log.

#### 1.4.0

 * Simplified to one merchant account per site.
 * Embedded card collection is now the only checkout mode.
 * Added a 3DS authentication switch.
 * Added the unified merchant order information payload.
 * Improved payment failure messages on checkout and order pages.
 * Added WooCommerce block checkout support.

#### 1.3.0

 * Added block checkout integration.
 * Added multi-merchant support and product-level merchant mapping.
 * Added unified order information for channels.

#### 1.0.0

 * Initial release.

## Meta

 *  Version **1.4.1**
 *  Last updated **1 hour ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 6.0 or higher **
 *  Tested up to **7.1.5**
 *  PHP version ** 7.4 or higher **
 * Tags
 * [credit card](https://wordpress.org/plugins/tags/credit-card/)[payment gateway](https://wordpress.org/plugins/tags/payment-gateway/)
   [woocommerce](https://wordpress.org/plugins/tags/woocommerce/)
 *  [Advanced View](https://wordpress.org/plugins/wemay-payment-gateway/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/wemay-payment-gateway/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/wemay-payment-gateway/reviews/)

## Contributors

 *   [ wemaypay ](https://profiles.wordpress.org/wemaypay/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/wemay-payment-gateway/)