2C2P Redirect API for WooCommerce

plugin banner

Accept Payment (Credit/Debit Cards, Alipay, Alternative/Cash Payments) on your WooCommerce webstore.

Author:2C2P (profile at wordpress.org)
WordPress version required:6.5
WordPress version tested:7.1.5
Plugin version:8.2.1
Added to WordPress repository:20-06-2017
Last updated:24-11-2026
Rating, %:40
Rated by:1
Plugin URI:https://www.2c2p.com/
Total downloads:9 151
Active installs:900+
plugin download
Click to start download

2C2P provides a payment solution for your WooCommerce store. Shoppers pay with credit/debit cards, Alipay, or alternative/cash payments at local counter services, on the secure 2C2P hosted payment page (2C2P Redirect API).

Features:

  • Classic checkout and the WooCommerce Cart/Checkout blocks
  • Optional stored cards for logged-in shoppers (card tokens are kept by 2C2P; the store only keeps the masked card number and token reference)
  • Refunds and voids from the WooCommerce order screen
  • Optional passthrough of a shopper’s coupon as a 2C2P promotion code
  • High-Performance Order Storage (HPOS) compatible

2C2P is available in:

  • Singapore
  • Thailand
  • Myanmar
  • Indonesia
  • Malaysia
  • Philippines
  • Hong Kong

A 2C2P merchant account is required.

External services

This plugin connects to 2C2P (2C2P Pte. Ltd., https://2c2p.com), the payment processor that takes the payment. Without it the plugin cannot accept payments.

When a shopper clicks “Pay via 2C2P”, the shopper’s browser sends a form to the 2C2P hosted payment page (RedirectV3) at https://demo2.2c2p.com (Test mode) or https://t.2c2p.com (Live mode). The form contains: the merchant ID, order number, amount, currency, an order description (product names or the fixed description from the settings), the shopper’s email address, the payment page language, the 1-2-3 slip expiry, the store’s return URLs, the store name and site URL, the plugin version, the stored-card token reference (only when the shopper picks a stored card), the promotion code (only when that option is enabled and the shopper used a matching coupon) and an HMAC signature. The shopper enters payment details on the 2C2P page, not on the store.

After the payment, 2C2P sends the payment result (status, transaction reference, amount, currency, masked card number and, if the shopper chose to save the card, a card token reference) back to the store’s return URL, signed with the merchant’s Secret Key.

When an administrator refunds or voids an order from WooCommerce, the store’s server sends the order number, the refund amount and an HMAC signature to the 2C2P PaymentActionV2 PaymentProcess endpoint on the same hosts (https://demo2.2c2p.com in Test mode, https://t.2c2p.com in Live mode).

2C2P privacy policy: https://2c2p.com/privacy/
2C2P’s terms of service are part of the merchant agreement between the store owner and 2C2P (https://2c2p.com).


Screenshots
FAQ
ChangeLog