Payflex (Buy Now Pay Later) payment gateway

Accept Buy Now Pay Later payments in your CS-Cart store via Payflex. Customers pay in 4 interest-free instalments. Product page widget, full/partial refunds, webhook notifications, auto min/max detection. South Africa (ZAR) only.
Last update: 05.06.2026 Supports current CS-Cart version
CartModules-Payflex-BNPL
Payflex (Buy Now Pay Later) payment gateway
$129.00
$103.20

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

  1. Customer adds items to cart and selects Payflex at checkout
  2. Your store creates a Payflex order via API and redirects the customer to Payflex’s hosted checkout
  3. Customer completes identity verification and payment plan setup on Payflex
  4. Payflex approves the order and redirects the customer back to your confirmation page
  5. A webhook confirms the payment status, and the order is marked as Processed automatically
  6. 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

  1. Go to Add-ons > Manage add-ons, click Manual installation, and upload the addon zip file
  2. Activate the addon and enter the license key
  3. Go to Administration > Payment methods and add a new payment
  4. Select Payflex (Buy Now Pay Later) as the processor
  5. Enter your Payflex Merchant ID and Merchant Secret (from your Payflex merchant dashboard)
  6. Enter your Merchant Name for the product page widget
  7. Click Auto-detect limits to fetch your min/max amounts
  8. Set to Test (Sandbox) mode for initial testing, then switch to Live
  9. 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.

Payment type
One-time payment
Product
  • Store Builder
  • Store Builder Ultimate
  • Multi-Vendor
  • Multi-Vendor Plus
  • Multi-Vendor Ultimate
Compatible versions
  • 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
Localizations
  • English

No reviews found

Cartmodules operates a team of professional web designers and developers, providing premium

Contact information

Phone +91-96538-49089

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

Wallet System for CS-Cart
5.0 (11)
$89.00
Empower your CS-Cart store with a modern digital wallet solution that enhances customer loyalty, simplifies transactions, and creates a seamless shopping experience.
Stripe Payment Gateway for CS-Cart
4.4 (23)
$79.00
This Module work with checkout for payment in Cs Cart. It will work live as well as Debugging mode. Stripe payment gateway handles everything, including direct payouts to your bank account. No doubt stripe is most easy and most scalable payment gateway of the modern time.
Wallet System for CS-Cart
5.0 (6)
$31.60
$79.00
Save 60%
Empower your CS-Cart store with a built-in wallet system, allowing users to easily manage funds for seamless checkout.
Integration with Przelewy24
5.0 (5)
$120.00
Extension to CS-Cart and Multi-Vendor allows integrating store with Polish internet payments providers Przelewy24. Przelewy24 offer wide range of payment methods covering almost 100% of the Polish market. Besides traditional payment channels, like bank transfer and credit cards, it is possible to pay through PayPal.
Make purchases for 200$ from our entire offer and get 20% discount
CCAvenue Payment Gateway for CS-Cart
5.0 (4)
$49.00
CCAvenue is a popular Payment Gateway that allows online merchants to process their all online transaction. This is authorized by Indian financial institutions to transact money for an online shopping. Integrate a secure payment gateway with CS-Cart.