Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

U.CASH Pay for CS-Cart

Accept crypto and card payments in your CS-Cart (or CS-Cart Multi-Vendor) store through U.CASH Pay. Buyers pay at the hosted U.CASH Pay checkout; paid orders are confirmed automatically with no manual reconciliation.

How it works

  1. Buyer places an order and selects U.CASH Pay.
  2. CS-Cart calls the addon controller (mode=redirect), which uses the SDK to create a U.CASH Pay transaction and redirect the buyer to the hosted checkout.
  3. After paying, the buyer is sent back to the store receipt (mode=return).
  4. U.CASH Pay sends an HMAC-signed settlement webhook to mode=webhook. The plugin verifies the signature, reconciles amount and currency, and flips the order to Complete.

Requirements

  • CS-Cart 4.x (or Multi-Vendor) running on HTTPS.
  • PHP 7.2+ with the curl extension.
  • A free U.CASH Pay account.

Install

  1. Copy the app/addons/ucash/ directory into your CS-Cart install at app/addons/ucash/.
  2. In the CS-Cart admin, go to Add-ons -> Manage add-ons and click Install on U.CASH Pay.
  3. Go to Administration -> Payment methods, add a new payment method, and set its processor to U.CASH Pay.

Configure

  1. In U.CASH Pay -> Account -> Stores, create a store for this CS-CCart install and copy its Cloud token and Webhook secret.

  2. In CS-CCart -> Add-ons -> U.CASH Pay, paste them into Cloud token and Webhook secret, then set the U.CASH Pay URL (default https://pay.u.cash).

  3. Set the store's Webhook URL (from U.CASH Pay -> Account -> Stores -> [your store] -> Edit) to:

    https://YOUR-STORE/index.php?dispatch=payment_notification.webhook&payment=ucash
    

    (Some CS-Cart installs use the SEO-friendly equivalent https://YOUR-STORE/ucash/webhook; both routes hit the same controller mode=webhook.)

  4. Save, then place a test order.

Files

  • app/addons/ucash/addon.xml addon metadata + settings.
  • app/addons/ucash/controllers/frontend/ucash.php the payment flow controller (redirect, return, webhook).
  • app/addons/ucash/schema/payments/ucash.php registers the payment processor.
  • app/addons/ucash/PayUCashIntegration.php the shared SDK.

Multi-store

One U.CASH Pay store per CS-Cart install. Running several integrations? Create one store each in U.CASH Pay -> Account -> Stores; each gets its own Cloud token, Webhook secret, and Webhook URL.

Support

https://u.cash

(c) 2015-2026 U.CASH. All rights reserved.

About

U.CASH Pay payment plugin for cs-cart. Crypto + cards, non-custodial.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages