CS Cart Overview

Connect your CS-Cart store to DigetPay Hosted Checkout — install the add-on, configure payments, and accept supported card and wallet methods.

Connect CS-Cart to DigetPay Hosted Checkout. Customers pay on DigetPay's secure hosted page, while payment notifications allow your store to synchronize order status automatically.

🔒

HTTPS required. Use a publicly accessible HTTPS store and webhook URL for live payments. DigetPay cannot deliver webhooks to localhost or a private network address.

Why use the CS-Cart plugin?

BenefitDetails
Secure paymentsHosted Checkout — customers enter card information on DigetPay, not on your CS-Cart server.
Automatic order updatesIncoming payment webhooks trigger verification and CS-Cart order status updates.
Easy installationInstall the DigetPay add-on from the CS-Cart Admin panel; no custom integration code is required.
Separate environmentsConfigure separate Test and Live API keys in the same add-on.

Supported features

  • Hosted Checkout with automatic customer redirect
  • Card payments, Mada, and Apple Pay, depending on the payment methods enabled for your merchant account
  • Separate Test and Live API key settings
  • Payment verification triggered by webhook notifications
  • Configurable Paid order status in CS-Cart
  • Optional debug logging for troubleshooting
  • HTTPS callback configuration for local development using a public tunnel
📘

Refunds: This add-on does not provide an automatic online refund action in the CS-Cart Admin panel. Handle refunds through an authorized DigetPay workflow, then reconcile the order separately.

Requirements

RequirementVersion / Details
PlatformCS-Cart Store Builder; integration verified during setup on 4.21.2
ServerPHP and database environment compatible with your CS-Cart installation; PHP 8.2 used in the reference setup
StorePublicly accessible HTTPS URL for customer returns and webhooks
CurrencySAR must be configured as the CS-Cart primary currency
DigetPay accountActive merchant account and its Test or Live API key from the DigetPay Dashboard
Installation accessCS-Cart administrator with permission to manage add-ons and payment methods

How it works

flowchart LR
    A[Customer checkout] --> B[CS-Cart creates payment session]
    B --> C[DigetPay Hosted Checkout]
    C --> D[Customer completes payment]
    D --> E[DigetPay sends webhook]
    E --> F[Plugin verifies session status]
    F --> G[CS-Cart updates order]
StepWhoWhat happens
1CustomerSelects DigetPay during CS-Cart checkout
2PluginCreates a DigetPay payment session using POST /payment/checkout/intiate
3CustomerIs redirected to DigetPay Hosted Checkout to complete payment
4DigetPaySends a POST payment notification to the registered CS-Cart webhook URL
5PluginChecks the stored session through GET /payment/checkout/status?sessionId=....
6CS-CartChanges the order to the configured Paid status only when payment success is verified
❗

Webhook required. Customer return links (successUrl and failureUrl) are used for navigation only. They do not confirm payment. If no valid webhook is delivered, an order may remain Incomplete even when the payment succeeded on DigetPay.

📞

Billing phone required. A valid customer phone number must be supplied at checkout. The plugin sends it as customerPhone when creating the payment session.

Setup guides

  • Plugin Installation — Download the add-on ZIP, install it in CS-Cart, and activate the payment method
  • Plugin Settings — Configure Test/Live keys, paid order status, HTTPS callbacks, and webhook notifications
  • Testing & Troubleshooting — Verify the checkout flow, test webhook updates, and resolve common issues

Related docs


Did this page help you?