Title: WS Gateway for Polar
Author: wooskins
Published: <strong>December 1, 2026</strong>
Last modified: December 1, 2026

---

Search plugins

![](https://ps.w.org/ws-gateway-for-polar/assets/banner-772x250.jpg?rev=3836377)

![](https://ps.w.org/ws-gateway-for-polar/assets/icon-256x256.jpg?rev=3836377)

# WS Gateway for Polar

 By [wooskins](https://profiles.wordpress.org/wooskins/)

[Download](https://downloads.wordpress.org/plugin/ws-gateway-for-polar.1.0.0.zip)

 * [Details](https://wordpress.org/plugins/ws-gateway-for-polar/#description)
 * [Reviews](https://wordpress.org/plugins/ws-gateway-for-polar/#reviews)
 *  [Installation](https://wordpress.org/plugins/ws-gateway-for-polar/#installation)
 * [Development](https://wordpress.org/plugins/ws-gateway-for-polar/#developers)

 [Support](https://wordpress.org/support/plugin/ws-gateway-for-polar/)

## Description

WS Gateway for Polar connects WooCommerce to [Polar](https://polar.sh/), a merchant
of record: Polar sells to your customer, charges the right sales tax or VAT, sends
the receipt and pays you out. You keep selling from your own WooCommerce store.

How it works:

 * The customer fills in the WooCommerce checkout and chooses Polar.
 * Your server creates a Polar checkout session with the order total as the price
   of one product, the customer’s email, name and country, and sends the customer
   to Polar’s secure checkout.
 * The customer pays.
 * Polar sends a signed webhook. The plugin checks the signature and marks the order
   paid, so WooCommerce sends its emails and grants downloads as usual. The customer
   returns to the WooCommerce order-received page.

Features:

 * **One product in Polar for your whole store.** Each order is sold as that product
   with the order total as its price: you do not recreate your WooCommerce products
   in Polar.
 * **Server-side checkout sessions.** The price is set by your server with your 
   access token, and each session carries metadata signed for that one order, so
   a customer cannot change the amount.
 * **Verified webhooks.** Every webhook is checked with your webhook secret (Standard
   Webhooks signatures, and Polar’s older secret format). Old or replayed deliveries
   are refused.
 * **Refunds both ways.** The Refund button on an order refunds the whole order 
   or part of it in Polar, and refunds made in the Polar dashboard are recorded 
   on the WooCommerce order.
 * **Sandbox mode** for test payments on sandbox.polar.sh. Sandbox orders are refused
   once sandbox mode is off.
 * **Many currencies:** the order is charged in your WooCommerce currency when Polar
   supports it.
 * **Checkout block and classic checkout**, High-Performance Order Storage (HPOS)
   compatible.
 * **Hooks for developers:** the `wsgpo_checkout_body` filter and the `wsgpo_webhook`
   action for every order event.

You need a Polar organization. Polar charges its own fees; this plugin is free.

This plugin is made by [WooSkins](https://wooskins.com/), makers of AI-ready WooCommerce
block themes and WooCommerce plugins. It is not affiliated with or endorsed by Polar.

#### More payment gateways from WooSkins

Free WooCommerce gateways for other merchants of record, built the same way (signed
webhooks, refunds, Checkout block):

 * [WS Gateway for PayPro Global](https://wordpress.org/plugins/ws-gateway-for-paypro-global/)
 * [WS Gateway for FastSpring](https://wooskins.com/plugins/ws-gateway-for-fastspring/)
 * [WS Gateway for Paddle](https://wooskins.com/plugins/ws-gateway-for-paddle/)
 * [WS Gateway for Lemon Squeezy](https://wooskins.com/plugins/ws-gateway-for-lemon-squeezy/)

See all [WooCommerce payment plugins from WooSkins](https://wooskins.com/plugins/woocommerce-payments/).

### External services

This plugin connects to Polar (polar.sh), the payment provider that processes the
payment.

 * **Checkout:** when a customer chooses Polar and places an order, your server 
   sends to https://api.polar.sh (or https://sandbox-api.polar.sh in sandbox mode)
   the order number and total, a short list of the ordered items, the store’s domain,
   the customer’s billing email, name, address line, city, postcode and country,
   and the order-received address. The customer is then sent to Polar’s checkout.
   Nothing is sent before the customer places the order.
 * **Webhooks:** Polar sends payment events to your site. The plugin only receives
   them.
 * **Refunds:** only when a store manager refunds an order in WooCommerce, the plugin
   sends the Polar order ID, the amount and the refund reason to the API.

Polar [terms of service](https://polar.sh/legal/master-services-terms) and [privacy policy](https://polar.sh/legal/privacy-policy).

The plugin does not track usage and sends no data to WooSkins.

## Screenshots

[⌊The settings page with the webhook URL to copy into Polar.⌉⌊The settings page 
with the webhook URL to copy into Polar.⌉[

The settings page with the webhook URL to copy into Polar.

[⌊Polar in the WooCommerce Checkout block.⌉⌊Polar in the WooCommerce Checkout block
.⌉[

Polar in the WooCommerce Checkout block.

## Installation

 1. Install and activate WooCommerce, then this plugin (Plugins > Add New, search for“
    WS Gateway for Polar”).
 2. In Polar, create one one-time product for store orders (any price) and copy its
    ID.
 3. In **Settings > Access Tokens**, create an organization access token with the scopes
    checkouts:write, orders:read and refunds:write.
 4. In **Settings > Webhooks**, add an endpoint with the webhook URL shown on the plugin’s
    settings page, format Raw, and the events order.paid and order.refunded. Copy the
    secret.
 5. Go to **WooCommerce > Settings > Payments > Polar** and enter the access token,
    the product ID and the webhook secret.
 6. To test, turn on sandbox mode and repeat steps 2 to 5 on sandbox.polar.sh, then
    place an order with a test card. Check that the order becomes Processing or Completed.
    Then turn sandbox mode off and enter your live token, product ID and secret.

The full setup guide is on the [plugin page at WooSkins](https://wooskins.com/plugins/ws-gateway-for-polar/).

## FAQ

### Do I have to create every product in Polar?

No. You create one product for store orders. The plugin sells each order as that
product with the order total as its price and the order items in the order metadata.

### How is tax handled?

Polar charges sales tax or VAT as the merchant of record. By default the WooCommerce
total includes tax, so the customer pays exactly that total. You can let Polar add
tax on top instead. Keep WooCommerce’s own taxes off when you use Polar.

### Why is my order still Pending payment?

The order is marked paid when Polar’s order.paid webhook arrives. Check the webhook
URL, the events and that the secret is the same in both places, and turn on the 
debug log (WooCommerce > Status > Logs).

### Does it support subscriptions?

Version 1.0 takes one-time payments for any WooCommerce order. Polar order events
reach the `wsgpo_webhook` action, so a developer can handle them.

### Where can I get help?

Ask in the plugin’s support forum here on WordPress.org, or [contact WooSkins](https://wooskins.com/contact/).

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“WS Gateway for Polar” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ wooskins ](https://profiles.wordpress.org/wooskins/)

[Translate “WS Gateway for Polar” into your language.](https://translate.wordpress.org/projects/wp-plugins/ws-gateway-for-polar)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/ws-gateway-for-polar/),
check out the [SVN repository](https://plugins.svn.wordpress.org/ws-gateway-for-polar/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/ws-gateway-for-polar/)
by [RSS](https://plugins.trac.wordpress.org/log/ws-gateway-for-polar/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.0

 * First release: server-side checkout sessions with the order total as price, signed
   webhooks, refunds both ways, sandbox mode, Checkout block, HPOS.

## Meta

 *  Version **1.0.0**
 *  Last updated **8 hours ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 6.5 or higher **
 *  Tested up to **7.1.5**
 *  PHP version ** 7.4 or higher **
 * Tags
 * [checkout](https://wordpress.org/plugins/tags/checkout/)[digital products](https://wordpress.org/plugins/tags/digital-products/)
   [merchant of record](https://wordpress.org/plugins/tags/merchant-of-record/)[payment gateway](https://wordpress.org/plugins/tags/payment-gateway/)
   [polar](https://wordpress.org/plugins/tags/polar/)
 *  [Advanced View](https://wordpress.org/plugins/ws-gateway-for-polar/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/ws-gateway-for-polar/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/ws-gateway-for-polar/reviews/)

## Contributors

 *   [ wooskins ](https://profiles.wordpress.org/wooskins/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/ws-gateway-for-polar/)