Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ucashpay-wp

A standalone WordPress plugin for U.CASH Pay: add a Pay/Donate button (shortcode or Gutenberg block) and receive verified settlement webhooks on any WordPress site. Non-custodial. No WooCommerce required.

Features

  • Shortcode [ucashpay amount="10" currency="USD" title="Donate" button="Donate now"]
  • Gutenberg block "U.CASH Pay Button" (no build step; server-rendered).
  • Settings page (Settings → U.CASH Pay) for the Store Cloud Token + Webhook Secret.
  • Webhook REST endpoint that verifies X-Webhook-Signature (HMAC-SHA256) and fires do_action('ucashpay_payment_received', $transaction).

Install

Upload the plugin folder to /wp-content/plugins/ (or upload the zip via Plugins → Add New → Upload) and activate. Then Settings → U.CASH Pay.

Set up your pay.u.cash account

  1. Sign up at pay.u.cash with email + password, then click the verification link in the email.
  2. Set your receive addresses under Settings → Addresses (a wallet per coin, or ENS/Unstoppable/FIO names). Crypto settles here.
  3. Create a store at Account → Stores → + Add Store.
  4. Copy the Store Cloud Token into the plugin settings (and the Store Webhook Secret if you use webhooks). Use the store-level token, not the account-wide one.
  5. Set the webhook URL (optional): copy the Webhook URL from the settings page into the store's Store Webhook URL field in pay.u.cash, save, then Test Webhook.

License

GPLv2 or later.

About

U.CASH Pay for WordPress: Pay/Donate button (shortcode + block) + verified webhooks. Non-custodial. No WooCommerce needed.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages