{"id":409180,"date":"2026-12-01T19:51:51","date_gmt":"2026-12-01T19:51:51","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/sablepay-for-woocommerce\/"},"modified":"2026-12-01T19:51:37","modified_gmt":"2026-12-01T19:51:37","slug":"sablepay-for-woocommerce","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/sablepay-for-woocommerce\/","author":23606481,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.3.13","stable_tag":"1.3.13","tested":"7.1.5","requires":"6.3","requires_php":"7.4","requires_plugins":null,"header_name":"SablePay for WooCommerce","header_author":"SablePay","header_description":"Accept stablecoin payments in WooCommerce. Customers pay by scanning a QR code or clicking to pay, and orders are marked paid automatically once SablePay confirms the payment. Works with the classic and block checkout.","last_updated":"2026-12-01 19:51:37","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"https:\/\/sablepay.io","rating":0,"author_block_rating":0,"active_installs":0,"downloads":161,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.3.13":{"tag":"1.3.13","author":"rahul153","date":"2026-12-01 19:51:37","revision":3838549}},"upgrade_notice":{"1.3.13":"<p>Initial release.<\/p>"},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3838549,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3838549,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3838549,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3838549,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.3.13"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3838549,"resolution":"1","location":"assets","locale":"","width":900,"height":760},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3838549,"resolution":"2","location":"assets","locale":"","width":900,"height":760},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3838549,"resolution":"3","location":"assets","locale":"","width":1687,"height":917}},"screenshots":{"1":"The payment window: amount, converted stablecoin amount, QR code and expiry countdown.","2":"Payment successful, with transaction details.","3":"WooCommerce \u2192 Settings \u2192 Payments \u2192 SablePay: enable the gateway, set the title and description, and enter your API credentials."}},"plugin_section":[],"plugin_tags":[157818,6593,231844,209195,286],"plugin_category":[45],"plugin_contributors":[293254],"plugin_business_model":[],"class_list":["post-409180","plugin","type-plugin","status-publish","hentry","plugin_tags-crypto-payments","plugin_tags-payment-gateway","plugin_tags-stablecoin","plugin_tags-usdc","plugin_tags-woocommerce","plugin_category-ecommerce","plugin_contributors-rahul153","plugin_committers-rahul153"],"banners":{"banner":"https:\/\/ps.w.org\/sablepay-for-woocommerce\/assets\/banner-772x250.png?rev=3838549","banner_2x":"https:\/\/ps.w.org\/sablepay-for-woocommerce\/assets\/banner-1544x500.png?rev=3838549","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/sablepay-for-woocommerce\/assets\/icon-128x128.png?rev=3838549","icon_2x":"https:\/\/ps.w.org\/sablepay-for-woocommerce\/assets\/icon-256x256.png?rev=3838549","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/sablepay-for-woocommerce\/assets\/screenshot-1.png?rev=3838549","caption":"The payment window: amount, converted stablecoin amount, QR code and expiry countdown."},{"src":"https:\/\/ps.w.org\/sablepay-for-woocommerce\/assets\/screenshot-2.png?rev=3838549","caption":"Payment successful, with transaction details."},{"src":"https:\/\/ps.w.org\/sablepay-for-woocommerce\/assets\/screenshot-3.png?rev=3838549","caption":"WooCommerce \u2192 Settings \u2192 Payments \u2192 SablePay: enable the gateway, set the title and description, and enter your API credentials."}],"raw_content":"<!--section=description-->\n<p>SablePay for WooCommerce adds a <strong>stablecoin payment method<\/strong> to your store. It works with both the classic checkout and the Cart &amp; Checkout blocks.<\/p>\n\n<ol>\n<li>The customer chooses SablePay at checkout and places the order.<\/li>\n<li>A payment window opens with the order total, a QR code and an expiry countdown. The customer scans the code with their wallet app or clicks to pay on the same device.<\/li>\n<li>The plugin checks the payment status automatically.<\/li>\n<li>As soon as SablePay confirms the payment, the order is marked paid (Processing or Completed, as usual in WooCommerce), stock is reduced and the customer sees the order confirmation page.<\/li>\n<\/ol>\n\n<h4>Features<\/h4>\n\n<ul>\n<li><strong>WooCommerce payment gateway<\/strong>: classic checkout and Checkout block, HPOS (High-Performance Order Storage) compatible.<\/li>\n<li><strong>Ready-made payment window<\/strong>: QR code, converted stablecoin amount, \"click to pay\" link and an expiry countdown. The same window as the SablePay WordPress plugin and the SablePay web SDKs.<\/li>\n<li><strong>The amount is always the order total<\/strong>: it is computed on your server, never taken from the browser.<\/li>\n<li><strong>Orders are marked paid from SablePay's own status<\/strong>: the browser never decides that an order is paid. The amount paid is checked against the order total; mismatches put the order on hold.<\/li>\n<li><strong>Reliable even if the customer closes the tab<\/strong>: open payments are re-checked in the background every minute (Action Scheduler), and again when the customer reaches the confirmation page.<\/li>\n<li><strong>Order details<\/strong>: SablePay payment ID, transaction hash, token and network are saved on the order and shown on the order screen, with order notes for every step.<\/li>\n<li><strong>\"Check SablePay payment status\"<\/strong> order action for administrators.<\/li>\n<li><strong>Secure by design<\/strong>: your API key stays on your server. Browser requests go through your own site (<code>\/wp-json\/sablepay-wc\/v1\/<\/code>), protected by the order key, a nonce and per-IP rate limits.<\/li>\n<li><strong>Sandbox and live modes<\/strong>: the environment is detected from your API key. Connection test on the settings screen.<\/li>\n<li><strong>Works with the SablePay WordPress plugin<\/strong>: leave the credentials empty to reuse the ones from Settings \u2192 SablePay, or define them once in <code>wp-config.php<\/code> for both plugins.<\/li>\n<li><strong>No external scripts<\/strong>: the QR code encoder and all assets are included in the plugin.<\/li>\n<\/ul>\n\n<h4>For developers<\/h4>\n\n<pre><code>\/\/ PHP: the SDK instance used by the gateway\n$status = sablepay_wc()-&gt;getPaymentStatus( $payment_id );\n\n\/\/ Re-check an order against SablePay (marks it paid when completed)\nsablepay_wc_sync_order( $order_id );\n\n\/\/ React to a completed payment (fires once per order)\nadd_action( 'sablepay_wc_payment_completed', function ( WC_Order $order, array $status ) {\n    \/\/ $status['txHash'], $status['paidToken'], $status['paidNetwork'] ...\n}, 10, 2 );\n<\/code><\/pre>\n\n<p>Actions: <code>sablepay_wc_loaded<\/code>, <code>sablepay_wc_payment_created<\/code>, <code>sablepay_wc_payment_status_checked<\/code>, <code>sablepay_wc_payment_completed<\/code>, <code>sablepay_wc_payment_failed<\/code>, <code>sablepay_wc_payment_expired<\/code>, <code>sablepay_wc_payment_amount_mismatch<\/code>.<\/p>\n\n<p>Filters: <code>sablepay_wc_settings<\/code>, <code>sablepay_wc_payment_request<\/code>, <code>sablepay_wc_is_available<\/code>, <code>sablepay_wc_icon<\/code>, <code>sablepay_wc_client_config<\/code>, <code>sablepay_wc_rest_permission<\/code>, <code>sablepay_wc_rest_require_nonce<\/code>, <code>sablepay_wc_rate_limits<\/code>.<\/p>\n\n<h3>External services<\/h3>\n\n<p>This plugin connects to the <strong>SablePay payment API<\/strong>, operated by SablePay, to create stablecoin payments for orders and check their status. This connection is required: the plugin cannot take payments without it.<\/p>\n\n<p><strong>When data is sent<\/strong><\/p>\n\n<ul>\n<li>When a customer reaches the payment page after placing an order with SablePay, the plugin creates a payment (or reuses the open one).<\/li>\n<li>While the payment window is open, the plugin checks the payment status every few seconds until the payment finishes.<\/li>\n<li>In the background, about once a minute while a payment is open, and when the customer reaches the order confirmation page.<\/li>\n<li>When an administrator clicks \"Test connection\" (fetches the most recent payment) or \"Check SablePay payment status\" on an order.<\/li>\n<\/ul>\n\n<p><strong>What data is sent<\/strong><\/p>\n\n<ul>\n<li>Your SablePay API key and Merchant ID, sent from your server only and never exposed to visitors.<\/li>\n<li>The order total, the order's line items (product name, quantity, price, SKU), shipping and fees, and order metadata: order ID, order number, currency and your site's domain.<\/li>\n<li>Payment IDs, when checking a payment's status.<\/li>\n<\/ul>\n\n<p>The plugin does not send customers' names, email addresses, addresses or IP addresses to SablePay. Requests go from your web server to:<\/p>\n\n<ul>\n<li>Sandbox: <code>https:\/\/sandbox-api.sablepay.io\/api\/v1\/<\/code><\/li>\n<li>Production: <code>https:\/\/api.sablepay.io\/api\/v1\/<\/code><\/li>\n<li>or a custom API base URL that you set on the settings screen.<\/li>\n<\/ul>\n\n<p>The customer completes the payment on SablePay's payment page, which is linked from the QR code, using their own wallet.<\/p>\n\n<ul>\n<li>SablePay Terms of Service: https:\/\/www.sablepay.io\/terms-of-service<\/li>\n<li>SablePay Privacy Policy: https:\/\/www.sablepay.io\/privacy-policy<\/li>\n<\/ul>\n\n<h3>Third-party libraries<\/h3>\n\n<ul>\n<li>qrcode-generator 1.4.4 by Kazuhiko Arase, MIT License: https:\/\/github.com\/kazuhikoarase\/qrcode-generator<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Make sure WooCommerce is installed and active.<\/li>\n<li>Go to <strong>Plugins \u2192 Add New Plugin<\/strong>, search for <strong>SablePay for WooCommerce<\/strong>, then click <strong>Install Now<\/strong> and <strong>Activate<\/strong>.<\/li>\n<li>Go to <strong>WooCommerce \u2192 Settings \u2192 Payments \u2192 SablePay<\/strong>.<\/li>\n<li>Tick <strong>Enable SablePay stablecoin payments<\/strong>, enter your <strong>API Key<\/strong> (<code>sable_sk_sand_\u2026<\/code> for sandbox, <code>sable_sk_live_\u2026<\/code> for production) and your <strong>Merchant ID<\/strong>. You can find both in your SablePay dashboard.<\/li>\n<li>Click <strong>Save changes<\/strong>, then <strong>Test connection<\/strong>.<\/li>\n<li>Place a test order with a sandbox key.<\/li>\n<\/ol>\n\n<p>Already using the <strong>SablePay<\/strong> plugin? Leave the API key and Merchant ID empty: the gateway uses the credentials from Settings \u2192 SablePay.<\/p>\n\n<p>Optional: define the credentials in <code>wp-config.php<\/code> instead (used by both SablePay plugins):<\/p>\n\n<pre><code>define( 'SABLEPAY_API_KEY', 'sable_sk_live_...' );\ndefine( 'SABLEPAY_MERCHANT_ID', 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx' );\n<\/code><\/pre>\n\n<!--section=faq-->\n<dl>\n<dt id=\"do%20i%20need%20a%20sablepay%20account%3F\"><h3>Do I need a SablePay account?<\/h3><\/dt>\n<dd><p>Yes. Sign up at https:\/\/www.sablepay.io to get an API key and Merchant ID. Use a sandbox key (<code>sable_sk_sand_\u2026<\/code>) for testing.<\/p><\/dd>\n<dt id=\"which%20coins%20and%20networks%20are%20supported%3F\"><h3>Which coins and networks are supported?<\/h3><\/dt>\n<dd><p>That depends on your SablePay account. Customers can pay with the stablecoins and networks enabled for your merchant account. The token and network actually used are saved on the order.<\/p><\/dd>\n<dt id=\"which%20currency%20is%20the%20amount%20in%3F\"><h3>Which currency is the amount in?<\/h3><\/dt>\n<dd><p>The plugin sends the order total in your store currency. Make sure your SablePay merchant account uses the same currency as your WooCommerce store.<\/p><\/dd>\n<dt id=\"when%20is%20an%20order%20marked%20as%20paid%3F\"><h3>When is an order marked as paid?<\/h3><\/dt>\n<dd><p>Only when the SablePay API reports the payment as <strong>COMPLETED<\/strong>. The plugin then calls WooCommerce's standard payment completion, so the order moves to Processing (or Completed for virtual\/downloadable orders), stock is reduced and the usual emails are sent. If the amount does not match the order total, the order is put <strong>On hold<\/strong> instead.<\/p><\/dd>\n<dt id=\"what%20happens%20if%20the%20customer%20closes%20the%20payment%20window%3F\"><h3>What happens if the customer closes the payment window?<\/h3><\/dt>\n<dd><p>The order stays <strong>Pending payment<\/strong>. They can pay later from the link in their account or from the \"Return to payment\" link. If they had already paid, the background check marks the order paid within a few minutes.<\/p><\/dd>\n<dt id=\"what%20happens%20when%20the%20qr%20code%20expires%3F\"><h3>What happens when the QR code expires?<\/h3><\/dt>\n<dd><p>The payment expires (default: 10 minutes, configurable). The order stays Pending payment, and a new payment is created when the customer clicks \"Pay with SablePay\" again.<\/p><\/dd>\n<dt id=\"can%20i%20refund%20through%20sablepay%3F\"><h3>Can I refund through SablePay?<\/h3><\/dt>\n<dd><p>Not from WooCommerce yet. Issue the refund from SablePay or your wallet, then record it in WooCommerce with a manual refund.<\/p><\/dd>\n<dt id=\"does%20it%20work%20with%20the%20block-based%20checkout%3F\"><h3>Does it work with the block-based checkout?<\/h3><\/dt>\n<dd><p>Yes. It works with the Checkout block and with the classic <code>[woocommerce_checkout]<\/code> shortcode.<\/p><\/dd>\n<dt id=\"is%20my%20api%20key%20safe%3F\"><h3>Is my API key safe?<\/h3><\/dt>\n<dd><p>Yes. The key is stored on your server and is only used for server-to-server requests. The settings screen never shows the saved key.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.3.13<\/h4>\n\n<ul>\n<li>Initial release.<\/li>\n<li>WooCommerce payment gateway for SablePay stablecoin payments: classic checkout and Checkout block, HPOS compatible.<\/li>\n<li>Payment window with QR code, live status tracking and expiry countdown (same as the SablePay WordPress plugin).<\/li>\n<li>Orders marked paid from the SablePay API status, with amount verification, background checks and an admin \"Check SablePay payment status\" action.<\/li>\n<li>Secure REST proxy: the API key never reaches the browser; the amount always comes from the order.<\/li>\n<li>Credentials from the gateway settings, <code>wp-config.php<\/code> constants or the SablePay WordPress plugin.<\/li>\n<\/ul>","raw_excerpt":"Accept stablecoin payments (USDC, USDT and more) in WooCommerce. Customers scan a QR code or click to pay, and orders are marked paid automatically.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/409180","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=409180"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/rahul153"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=409180"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=409180"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=409180"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=409180"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=409180"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=409180"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}