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
- Upload
wemay-payment-gateway.zipthrough Plugins > Add New > Upload Plugin, or copy thewemay-payment-gatewayfolder to/wp-content/plugins/. - Activate the plugin through the Plugins screen.
- Go to WooCommerce > Settings > Payments and open Wemay Payment.
- Enter the gateway base URL, merchant number (
mchNo), application ID (appId), application secret (appSecret) andwayCode(normallyCARD). - 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
wayCodesupplied 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/v1paths and without a trailing slash. -
Why does signature verification fail?
-
The
appSecretin 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.
ContributorsTranslate “Wemay Payment Gateway” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by 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.