
2C2P Redirect API for WooCommerce
v8.2.12C2P · 2017年6月20日 上架
Accept credit/debit cards, Alipay and alternative/cash payments in WooCommerce through the 2C2P hosted payment page.
- 正在使用
- 900+
- 评分
- 2.0 / 5
- 累计下载
- 9,151
- 最近更新
- 2026年11月24日
贡献者
截图
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).



