No reviews found
CartModules: Payflex (Buy Now Pay Later)
Accept Buy Now Pay Later Payments in Your CS-Cart Store
Let your customers pay in 4 interest-free instalments with Payflex — South Africa’s leading BNPL payment method. Customers check out now and pay over 6 weeks with no interest, no fees, and no catch. You get paid upfront in full.
This addon connects your CS-Cart or Multi-Vendor store directly to the Payflex payment gateway using their official REST API. Redirect-based checkout keeps you fully PCI compliant (SAQ A) with zero card data touching your server.
Key Features
- Redirect Checkout — Customers complete payment on Payflex’s secure hosted page, then return to your store automatically
- Product Page Widget — Shows “or 4 interest-free payments of Rxx.xx with Payflex” on eligible product pages, boosting conversion
- Full & Partial Refunds — Process refunds directly from the CS-Cart order detail page without logging into the Payflex dashboard
- Webhook Notifications — Automatic order status updates when Payflex approves or abandons a payment (no polling needed)
- Auto Min/Max Detection — One click fetches your merchant-specific order limits from Payflex; hides the payment method if the cart total is outside range
- OAuth2 Token Caching — Tokens are cached for 24 hours so checkout stays fast with no redundant auth calls
- Sandbox / Live Mode — Toggle between Payflex UAT and production environments from the admin panel
- Multi-Storefront Compatible — Works with CS-Cart Ultimate and Multi-Vendor multi-storefront setups
- Idempotent Refunds — Duplicate refund requests are safely rejected by Payflex (no double-refund risk)
- Detailed Logging — All API interactions logged to CS-Cart’s payment log for easy debugging
How It Works
- Customer adds items to cart and selects Payflex at checkout
- Your store creates a Payflex order via API and redirects the customer to Payflex’s hosted checkout
- Customer completes identity verification and payment plan setup on Payflex
- Payflex approves the order and redirects the customer back to your confirmation page
- A webhook confirms the payment status, and the order is marked as Processed automatically
- You receive the full order amount upfront — Payflex handles the instalment collection from the customer
Product Page Widget
The built-in widget shows a “Pay in 4 instalments” message below the product price on every eligible product page. It automatically calculates the instalment amount based on the product price and only appears when the price falls within Payflex’s accepted range (R10 – R50,000 by default).
Refunds
Issue full or partial refunds directly from the order detail page in your CS-Cart admin. No need to log in to the Payflex merchant dashboard. Refunds are processed via API with idempotency protection — accidental double-clicks won’t create duplicate refunds.
Requirements
- CS-Cart or Multi-Vendor 4.6.3 or higher
- PHP 7.1 or higher (tested up to PHP 8.3)
- Payflex merchant account (merchant.payflex.co.za)
- Store currency set to ZAR (South African Rand)
- SSL certificate (HTTPS) on your store
Supported Countries & Currency
| Country | Currency | Min Amount | Max Amount |
|---|---|---|---|
| South Africa | ZAR | R10 | R50,000 |
Installation
- Go to Add-ons > Manage add-ons, click Manual installation, and upload the addon zip file
- Activate the addon and enter the license key
- Go to Administration > Payment methods and add a new payment
- Select Payflex (Buy Now Pay Later) as the processor
- Enter your Payflex Merchant ID and Merchant Secret (from your Payflex merchant dashboard)
- Enter your Merchant Name for the product page widget
- Click Auto-detect limits to fetch your min/max amounts
- Set to Test (Sandbox) mode for initial testing, then switch to Live
- Save and place a test order
Configuration Options
| Setting | Description |
|---|---|
| Merchant ID | Your Payflex API Client ID |
| Merchant Secret | Your Payflex API Client Secret |
| Merchant Name | Used for the product page widget URL |
| Payment Mode | Live (Production) or Test (Sandbox) |
| Min/Max Amount | Order amount limits (auto-detectable) |
| Product Page Widget | Enable/disable the "Pay in 4" message on product pages |
| Order Status (Approved) | CS-Cart status to set on successful payment |
| Order Status (Abandoned) | CS-Cart status to set if customer abandons checkout |
| Order Status (Failed) | CS-Cart status to set on payment failure |
Support
For questions, issues, or feature requests, contact us at www.cartmodules.com.
- Store Builder
- Store Builder Ultimate
- Multi-Vendor
- Multi-Vendor Plus
- Multi-Vendor Ultimate
- 4.20.1
- 4.19.1.SP2
- 4.19.1.SP1
- 4.19.1
- 4.18.4
- 4.18.3
- 4.18.2.SP1
- 4.18.2
- 4.18.1.SP1
- 4.18.1
- 4.17.2.SP3
- 4.17.2.SP2
- 4.17.2.SP1
- 4.17.2
- 4.17.1
- 4.16.2
- 4.16.1
- 4.15.2
- 4.15.1.SP4
- 4.15.1.SP3
- 4.15.1.SP2
- 4.15.1.SP1
- 4.15.1
- 4.14.3
- 4.14.2.SP1
- 4.14.2
- 4.14.1.SP1
- 4.14.1
- 4.13.3
- 4.13.2.SP2
- 4.13.2.SP1
- 4.13.2
- 4.13.1
- 4.12.2
- 4.12.1
- 4.11.5
- 4.11.4
- 4.11.3
- 4.11.2
- 4.11.1
- 4.10.4.SP1
- 4.10.4
- 4.10.3
- 4.10.2
- 4.10.1
- 4.9.3
- 4.9.2
- 4.9.1
- 4.8.2
- 4.7.4
- 4.6.3
- English
Contact information
Cartmodules operates a team of professional web designers and developers, providing premium CS-Cart services like add-ons development and theme development at affordable prices. We not only work effectively but smartly and deliver the best to our customers in shortest possible and ensuring quality of the deliverables.
We have an experienced team of professional having experience in PHP, JavaScript, Smarty, jQuery, CSS, Ajax, HTML5 and other programming languages and technologies. The development is inline with latest quality standards.
Our customers include a number of small, medium and large enterprises who are into e-commerce and want to expand further their business using technology.
1.0.1 June 2026
Payflex Widget Enhancements and Storefront-Based Configuration
Similar products
Make purchases for 200$ from our entire offer and get 20% discount