CartModules: NewebPay (藍新金流) Payment Gateway
Accept payments from Taiwan customers via NewebPay MPG
Integrate NewebPay (藍新金流), one of Taiwan's most popular payment gateways, into your CS-Cart or Multi-Vendor store. Accept payments via credit cards, ATM transfers, convenience store payments, WebATM, and other local Taiwan payment methods — all through NewebPay's secure MPG (Multi Payment Gateway) hosted payment page.
Security: All payment data is encrypted with AES-256-CBC and verified with SHA256 hashing. No card data touches your server (PCI SAQ A compliant).
Supported Payment Methods
Credit / Debit Cards — Visa, Mastercard, JCB, UnionPay ATM Transfer — Virtual ATM account for bank transfers Convenience Store (CVS) — Pay at 7-Eleven, FamilyMart, Hi-Life, OK Mart WebATM — Online ATM transfers via bank card reader Barcode — Barcode-based payments at convenience stores More Methods — Additional payment types supported by NewebPay MPGKey Features
- Full NewebPay MPG 2.0 API integration with encrypted form POST redirect
- AES-256-CBC encryption on all trade data for maximum security
- SHA256 TradeSha verification on all outbound and inbound requests
- Server-to-server callback (NotifyURL) for reliable payment confirmation
- Browser redirect callback (ReturnURL) for seamless customer experience
- Idempotent callback processing — safe against duplicate notifications
- Live / Sandbox toggle for easy development and testing
- Configurable order status mapping for approved and failed payments
- Unique MerchantOrderNo generation to support payment retries
- Traditional Chinese (zh_TW) language pack included
- Compatible with CS-Cart and Multi-Vendor (ROOT, ULTIMATE editions)
- PCI SAQ A compliant — no card data touches your server
- Clean, well-documented code following CS-Cart addon conventions
Requirements
- CS-Cart or Multi-Vendor 4.x
- PHP 7.1 or higher with OpenSSL extension
- Active NewebPay merchant account (https://www.newebpay.com/)
- TWD currency configured in your store
Installation
- Upload the addon zip via the CS-Cart admin panel (Addons > Manage addons > Upload)
- Activate "CartModules: NewebPay Payment Gateway"
- Go to Administration > Payment methods
- Add a new payment method and select "NewebPay Payment Gateway" as the processor
- Enter your Merchant ID, Hash Key, and Hash IV from the NewebPay merchant portal
- Set the payment mode to "Test" for sandbox testing, then switch to "Live" when ready
Configuration
| Field | Description | Required |
|---|---|---|
| Payment mode | Switch between Live (Production) and Test (Sandbox) environments | Yes |
| Merchant ID | Your NewebPay Merchant ID (商店代號), obtained from the merchant portal | Yes |
| Hash Key | Your NewebPay Hash Key for AES-256-CBC encryption | Yes |
| Hash IV | Your NewebPay Hash IV for AES-256-CBC encryption | Yes |
| Order status on approved payment | CS-Cart order status when NewebPay returns Status=SUCCESS (default: Processed) | No |
| Order status on failed payment | CS-Cart order status when payment fails (default: Failed) | No |
Country & Currency
NewebPay operates exclusively in Taiwan and processes payments in TWD (New Taiwan Dollar). Amounts are sent as positive integers with no decimal places.
How It Works
- Customer places an order and selects NewebPay at checkout
- The addon encrypts the trade parameters using AES-256-CBC and generates a SHA256 hash
- An auto-submit form redirects the customer to NewebPay's secure MPG payment page
- Customer selects their preferred payment method and completes payment
- NewebPay sends an encrypted server-to-server callback to confirm the payment result
- The addon decrypts and verifies the response, then updates the CS-Cart order status
- Customer is redirected back to the store's order confirmation page
Security Highlights
- AES-256-CBC encryption — all trade data is encrypted before transmission
- SHA256 hash verification — TradeSha ensures data integrity on every callback
- PCI SAQ A compliant — customers enter card details on NewebPay's hosted page
- Idempotent callbacks — duplicate notifications do not re-process completed orders
- Sensitive data protection — Hash Key, Hash IV, and card data are stripped from logs
- SSL verification — all HTTP requests enforce SSL peer verification
- 4.10.1
- 4.10.2
- 4.10.3
- 4.10.4
- 4.10.4.SP1
- 4.11.1
- 4.11.2
- 4.11.3
- 4.11.4
- 4.11.5
- 4.12.1
- 4.12.2
- 4.13.1
- 4.13.2
- 4.13.2.SP1
- 4.13.2.SP2
- 4.13.3
- 4.14.1
- 4.14.1.SP1
- 4.14.2
- 4.14.2.SP1
- 4.14.3
- 4.14.3.SP1
- 4.15.1
- 4.15.1.SP1
- 4.15.1.SP2
- 4.15.1.SP3
- 4.15.1.SP4
- 4.15.2
- 4.16.1
- 4.16.2
- 4.17.1
- 4.17.2
- 4.17.2.SP1
- 4.6.3
- 4.7.1
- 4.7.2
- 4.7.3
- 4.7.4
- 4.8.1
- 4.8.2
- 4.9.1
- 4.9.2
- 4.9.3
- English
- Multi-Vendor
- Multi-Vendor Plus
- Multi-Vendor Ultimate
- Store Builder
- Store Builder Plus
- Store Builder Ultimate
Addons features
- Backend
- For customer
- For owner
- For vendor
Shared features
No reviews found








