Sepal Payment Gateway for WooCommerce

وضاحت

This plugin adds Sepal Payment Gateway to your WooCommerce store. It supports standard checkout and the new WooCommerce Checkout Blocks.

ویژگی‌ها:
* سازگار با API v1 سپال (payment.sepal.ir/api/v1/payment/)
* پشتیبانی از legacy endpoints (/api/request.json)
* Verify الزامی پس از callback
* جلوگیری از پرداخت تکراری و تطبیق مبلغ
* سازگار با HPOS
* پشتیبانی از واحدهای پولی ریال، تومان، هزار ریال و هزار تومان

انسٽاليشن

  1. Upload the plugin files to the /wp-content/plugins/sepal-woocommerce directory.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress.
  3. Use WooCommerce -> Settings -> Payments -> Sepal to configure apiKey and Base URL.

جائزا

ھن پلگ ان لاءِ ڪي به رايا ناھن.

تعاون ڪندڙ & ڊولپرز

“Sepal Payment Gateway for WooCommerce” اوپن سورس سافٽ ويئر آهي. ھيٺين ماڻھن ھن پلگ ان ۾ حصو ورتو آھي.

تعاون ڪندڙ

واحد: “Sepal Payment Gateway for WooCommerce” 1 لوڪل ۾ ترجمو ڪيو ويو آهي. ترجمي ڪندڙن جي مهرباني سندن تعاون لاءِ.

ترجمو ڪريو “Sepal Payment Gateway for WooCommerce” توهان جي ٻولي ۾.

ڊولپمينٽ ۾ دلچسپي؟

ڪوڊ براؤز ڪريو، چيڪ ڪريو SVN مخزن، يا رڪنيت حاصل ڪريو ڊولپمينٽ لاگ پاران RSS.

لاگ تبدیل ڪريو

2.0.3

  • Show Sepal failure message on callback (e.g. missing Referer) instead of generic cancel text
  • No plugin setting needed for Referer — browser redirect already sends it

2.0.2

  • Fix: redirect to Sepal gateway no longer falls back to WordPress admin (wp_safe_redirect blocked external host)

2.0.1

  • Migrate to v1 API endpoints (/api/v1/payment/request/, verify/, payment/{n}/)
  • Fix HTTP client (wp_remote_post, timeout, SSL, JSON headers)
  • Add callback GET+POST support, amount validation, duplicate payment guard
  • Store payment meta on order; verify before marking paid
  • Add debug logging without exposing apiKey
  • Security: sanitize inputs, validate invoice/paymentNumber/order binding

2.0.0

  • Switch API base to https://payment.sepal.ir
  • Payment redirect path: /api/payment/{paymentNumber}/
  • Configurable Base URL in gateway settings

1.1.0

  • Added support for WooCommerce Blocks (New Checkout).
  • Added HPOS compatibility.

1.0.0

  • Initial release.