WP Manifestindependent plugin directory
manifest / ecommerce / shamcash-payments

ShamCash Payments

WooCommerce payment gateway for ShamCash (Syria e-wallet). Encrypted webhooks, refunds, Blocks + classic checkout.

★ 0stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/obadatarazi/shamcash-payments/archive/refs/heads/main.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

WooCommerce payment gateway for ShamCash (Syria e-wallet). Merchants take USD / SYP payments at checkout; orders update automatically through encrypted webhooks.

Built by Obada Al Tarazi · CupCoding


What it does

  • Creates a ShamCash bill and sends the customer to the payment page
  • Marks orders paid / failed / cancelled from webhooks (bill re-checked server-side before “paid”)
  • Full and partial refunds from the WooCommerce order screen
  • Works with classic checkout and WooCommerce Blocks
  • HPOS compatible · debug logs via WooCommerce · EN + AR language files
  • Uses the WordPress HTTP API (no Composer / Guzzle on the store)

Requirements

WordPress 6.4+ (tested to 7.1)
WooCommerce 8.0+ (tested to 11.2)
PHP 8.2+
Account ShamCash merchant (Agent Key + Secret Key)

Install

  1. Upload the shamcash-payments folder to /wp-content/plugins/
  2. Activate under Plugins
  3. Go to WooCommerce → Settings → Payments → ShamCash
  4. Enter Agent Key, Secret Key, and Base URL → enable → save
  5. Copy the webhook URL into your ShamCash merchant settings if required

WordPress.org-style details live in readme.txt.

Security notes

  • Requests and webhooks use Direct JWE encryption (A256GCM)
  • The secret key stays on your server
  • Paid webhooks are verified with getBill before the order status changes

Credits

License

See plugin headers in shamcash-payments.php. Commercial use for Syrian WooCommerce stores.