Accept crypto and card payments in your Zen Cart store through U.CASH Pay. Buyers pay at the hosted U.CASH Pay checkout and the order is confirmed automatically.
- Buyer picks U.CASH Pay at checkout and confirms the order.
process_button()POSTs the order id tocallback/ucash.php?action=checkout.- The callback creates a U.CASH Pay checkout via the SDK and redirects the buyer.
- U.CASH Pay sends an HMAC-signed webhook to
callback/ucash.php(no action). The callback verifies the signature, reconciles amount + currency, and sets the order to the configured Paid order status.
- Zen Cart 1.5.x / 2.x (PHP 7.2+ with the
curlextension). - HTTPS on the public webhook URL.
- A free U.CASH Pay account.
- Copy the files into your Zen Cart install:
includes/modules/payment/ucash.php(module + SDK)includes/modules/payment/PayUCashIntegration.php(SDK)includes/languages/english/modules/payment/ucash.php(language strings)callback/ucash.php(checkout redirect + webhook)
- In the Zen Cart admin go to Modules -> Payment, click U.CASH Pay, then Install.
-
In U.CASH Pay -> Account -> Stores, create a store for this Zen Cart install and copy its Cloud token and Webhook secret.
-
In Zen Cart -> Modules -> Payment -> U.CASH Pay -> Edit, paste them into Cloud token and Webhook secret, set the U.CASH Pay URL (default
https://pay.u.cash), and pick the Paid order status. -
Set the store's Webhook URL in U.CASH Pay -> Account -> Stores -> [your store] -> Edit to:
https://YOUR-STORE/callback/ucash.php -
Save, then place a test order.
To enable verbose logging, create an empty file at callback/ucash_debug.on. The callback
appends to callback/ucash_debug.txt. Remove the .on file to disable.
includes/modules/payment/ucash.phpthe payment module class.includes/modules/payment/PayUCashIntegration.phpthe shared SDK.includes/languages/english/modules/payment/ucash.phpEnglish language strings.callback/ucash.phpcheckout redirect + webhook receiver.
One U.CASH Pay store per Zen 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.
(c) 2015-2026 U.CASH. All rights reserved.