Payments for Stripe
Edition: CS-Cart & Multi-Vendor · Latest version: 1.0.1 · Compatible with: CS-Cart & Multi-Vendor 4.17.2 – 4.22.x, PHP 7.4 – 8.3 · Changelog: view
Take payments through your own Stripe account on CS-Cart, CS-Cart Ultimate, Multi-Vendor and Multi-Vendor Ultimate (4.17.2 to 4.22.x), on the current Stripe API version (2026-10-28.endive). After the order is placed, the customer pays on a secure page of your store with the Stripe Payment Element: cards, Apple Pay, Google Pay, Link and the local payment methods you switch on in your Stripe Dashboard. 3D Secure is handled by Stripe. Charge at once, or authorize and capture when you ship; cancel authorizations and make full or partial refunds from the order page.
Why a current API version matters
Section titled “Why a current API version matters”The Stripe add-on that comes with CS-Cart sends API version 2019-05-16 with every request (app/addons/stripe/src/Payments/Stripe.php, also in 4.21.2). This add-on pins 2026-10-28.endive on every request and loads Stripe.js from the same release (js.stripe.com/endive/stripe.js), so your integration does not depend on the default version of your Stripe account. The pinned version is shown on the Connection page.
What it does
Section titled “What it does”- Payment Element, intent-first. The store creates a PaymentIntent from the order (amount and currency always come from the order, never from the browser) and the Payment Element shows the methods you enabled in Stripe. Tabs or accordion layout, Stripe / Flat / Night theme and your accent colour.
- Apple Pay, Google Pay and Link. Shown by Stripe on a registered HTTPS domain; register your storefront domain with one button on the Connection page.
- 3D Secure and SCA are handled by Stripe.js during the payment. The order page shows the 3D Secure result, the card brand, the last four digits and the wallet; card numbers never reach your server.
- Paid means paid. An order gets your paid status only after the store has read the PaymentIntent back from Stripe and its amount, currency and reference match the order as it is now. A payment that does not match is kept, the order is not marked paid, and you decide on the order page: accept it, refund it or cancel the authorization.
- No double charge. One PaymentIntent per order is reused while the customer has not paid (a declined card and a second try use the same one); if the order total changes before payment, the PaymentIntent is updated first. A second payment of an order that is already paid is given back automatically.
- No lost payment. Every create, capture, cancel and refund is written down before it is sent, with an Idempotency-Key. An answer that never arrived is read back from Stripe (by reference, or by the refund’s metadata) before anything is sent again.
- Processing payments are never cancelled. Bank debits such as SEPA Direct Debit stay in your “processing” status until Stripe confirms them; the cart is emptied so the customer cannot pay twice.
- Charge or authorize. Charge at once, or authorize and capture when the order reaches a status you choose (default Complete) or by hand, with a lower amount if needed. An authorization is cancelled when the order is cancelled or declined.
- Refunds in full or in parts, from the order tab or automatically at an order status you choose. Refunds made in the Stripe Dashboard are mirrored.
- Signed webhooks. Each event is checked with its Stripe-Signature (HMAC-SHA256, 5 minute tolerance, rolled secrets), applied once, and the payment is read back. Disputes are recorded on the order and can set an order status.
- Test and live keys side by side, with the mode switch on the Connection page. Restricted API keys (rk_) only, as Stripe asks plugins to use; keys and the webhook signing secret are stored encrypted.
- Multi-Vendor. Owner mode (default): the marketplace’s Stripe account takes every payment; a cart with several vendors is one payment, each vendor order refunds its own share. Owner mode off: each vendor connects their own Stripe keys and is paid directly.
- Updates keep your data. Uninstalling keeps the payment records unless you tick “Delete payment records on uninstall”.
- Full page cache ready (4.21). The pay page, the payment return and the webhook are never cached pages.
Requirements
Section titled “Requirements”- CS-Cart, CS-Cart Ultimate, Multi-Vendor or Multi-Vendor Ultimate 4.17.2 to 4.22.x, PHP 7.4 to 8.3 with cURL and OpenSSL.
- A Stripe account, a restricted API key and the publishable key (test and/or live).
- HTTPS on the storefront for live payments, webhooks and wallets.
Stripe is a trademark of Stripe, Inc. Apple Pay is a trademark of Apple Inc. Google Pay is a trademark of Google LLC. This add-on is made by Kavio Labs and is not made or endorsed by them.