PlanewardPlaneward Docs
PlanewardPlaneward Docs
Welcome
Commerce overviewProducts and what buyers getPromo codesSell with PolarDomains and sign-inThe buyer's account pagesCancel a member's subscriptionBuyer journey

Developers

REST APIAuthenticationWebhooksMCPMCP journeyTask description contentDeveloper hub

API

Commerce

Sell with Polar

Connect your Polar account to take payments for digital products, software and courses, with Polar handling sales tax as the merchant of record. Polar is turned on one product at a time and never used for invoices.

Polar is a third way to take payments, next to Stripe, Xendit and bank transfer. It acts as the merchant of record: Polar is the seller on the buyer's receipt, works out and adds sales tax or VAT at checkout, and files it. You get the sale minus tax and Polar's fee, paid out by Polar.

  • Catalog products only. Polar is offered on product pages, checkout links and forms that sell a product, including courses and event tickets sold through products. It is never offered on invoices.
  • Off until you turn it on. Connecting Polar changes no product. Each product offers Polar only after staff switch it on.
  • Your own Polar account. Each workspace connects its own Polar organization. Money goes to that organization's payout account.

What you may sell

Polar only accepts some kinds of products. Check its acceptable use policy before you turn Polar on for a product. In short:

Polar's policyExamples
AllowedDigital products, software, templates, courses
Not allowedHuman services (coaching, consulting, done-for-you work), physical products, community access, medical or financial advice
ReviewedTicket sales, eBooks, paid waitlists. Polar reviews these before you can sell them

Polar decides what it accepts, and may close an account that sells something it doesn't allow. Planeward only warns you (see Turn it on for a product).

Before you connect: in Polar

Use sandbox.polar.sh to try it with test cards, and polar.sh for real sales. A sandbox token connects as a sandbox.

  1. Create the organization and finish Polar's onboarding (identity and payout account). Until Polar approves it, Polar keeps payments off and Planeward refuses the token.
  2. Settings → General: set the default currency to your workspace's currency, for example PHP. Polar charges every Planeward checkout in that currency.
  3. Add your website. Add your checkout address (shown in the Connect Polar dialog, with a copy button) as the website on your Polar account. Polar's terms only allow selling on the websites listed there. If you sell on more than one address, add each one.
  4. Settings → Developers → New token: create an organization access token named "Planeward" with these scopes, then copy the polar_oat_… value:
    • organizations:read
    • products:read, products:write
    • checkouts:read, checkouts:write
    • orders:read
    • subscriptions:read, subscriptions:write
    • discounts:write
    • events:read
    • webhooks:read, webhooks:write

Connect Polar

Open Settings → Integrations → Payments → Polar → Connect. You need Manage integrations. Paste the token and press Connect.

Planeward then:

  1. Finds out whether the token is live or sandbox.
  2. Checks the token reaches exactly one organization, that Polar has turned payments on for it, and that its default currency is your workspace's currency.
  3. Registers its webhook in your Polar organization for you. You don't create one or paste a webhook secret.

If something is wrong, the token field says what:

MessageWhat to do
"Polar didn't accept this token"Copy the token again, from the right environment
"This token is missing scope …"Create a new token with every scope in the list above
"Polar hasn't turned on payments for … yet — finish onboarding in Polar"Finish Polar's onboarding and wait for its approval
"Set Polar's default currency to …"Change the default currency in Polar's Settings → General
"This token reaches more than one organization"Create the token inside the one organization you sell with

A missing products:write, checkouts:write or discounts:write scope only shows at the first checkout: staff see the error and buyers see "Polar is unavailable".

Once connected, the card shows your organization, its currency, the end of the token and webhook registered. A sandbox connection carries a Sandbox badge; sandbox payments are test payments.

Replace or disconnect

  • Replace token runs the same checks with the new token, removes the old webhook and registers a new one.
  • Disconnect shows how many active subscriptions Polar is billing. They keep billing in Polar, but Planeward stops following them: renewals, cancellations and refunds made in Polar no longer reach Planeward. Cancel them in Polar first if you're stopping. Disconnecting removes the webhook from Polar and clears the token.
  • Switching to a different Polar organization (or between sandbox and live) is refused while subscriptions billed by the organization you connected last are still active. Cancel them in Polar first.

If you change the workspace currency later, Polar stops being offered until the two currencies match again.

Turn it on for a product

Open Commerce → Catalog → the product → Settings → Payment methods and switch on Polar. It's off on every product until you do, and the switch notes that Polar allows digital products, software and courses only.

The switch warns you, without blocking, when the product gives community access (Polar doesn't allow it) or sells event tickets (Polar reviews ticket sales).

A product offers Polar when all of these are true:

  • Polar is connected.
  • Polar is on for the product.
  • The workspace currency matches the Polar organization's default currency.

Polar works with one-time plans and every recurring interval. A plan needs nothing set up in Polar: Planeward creates a Polar product for each plan at its first Polar checkout. You'll see them in your Polar dashboard; don't edit or archive them there. Changing a plan's billing interval creates a new Polar product and archives the old one. Changing its price needs nothing in Polar: each checkout sends the plan's current price, and existing subscribers keep the price they signed up at.

Over the API and MCP, product reads include polarCheckoutEnabled. It's read-only there; change it in the app.

What the buyer sees

  1. The product page offers Polar as a payment option.
  2. Choosing it sends the buyer to Polar's checkout page, which charges in your currency and adds tax for the buyer's country.
  3. After paying, the buyer comes back to the usual page, which shows "Confirming payment…".
  4. When Polar confirms the payment, Planeward records it and access starts, the same as a Stripe or Xendit sale: revenue share, promo redemptions, the sign-in email and Meta purchases.

The payment is recorded with method Polar and the amount after discounts and before tax. Polar keeps the tax and pays it.

Promo codes work like they do on Stripe: Planeward creates a single-use discount in Polar for that one checkout, so Polar charges exactly what checkout showed, and subscriptions get it on the first payment only. Extend promos are refused on Polar subscriptions.

Subscriptions

Polar bills the renewals and Planeward records each one as a payment.

  • Buyer cancels from their Billing page: Polar cancels at the end of the paid period. The buyer can resume before then.
  • Staff can cancel at period end, undo it, or end the subscription now. See Cancel a member's subscription.
  • Plans with a set number of payments are cancelled at period end after the last one.
  • A failed renewal sends the buyer the same failed-renewal notice as Stripe. Polar retries the payment.
  • Cancelling or revoking in Polar's dashboard reaches Planeward: a cancel ends access at period end, a revoke ends it now.

Refunds

Refund in Polar's dashboard. When Polar refunds an order in full, Planeward reverses the sale on its own: the payment shows as refunded, the revenue shares are taken back, and the plan ends. If that ends a subscription, Planeward also revokes it in Polar, because a refund in Polar leaves the subscription running.

A partial refund in Polar isn't applied. Record it on the payment in Planeward.

A refund recorded in Planeward changes only Planeward's records. It doesn't move any money; refund the order in Polar as well.

If a Polar payment doesn't match its checkout (a different amount or currency), Planeward records the payment with a note but doesn't start the plan. Refund it in Polar.

Fees

Polar keeps its fee on every order. Planeward reads it from the order after the payment and takes it off the revenue share of the accounts the product picks, the same as Stripe and Xendit fees. See Processor fees.

Polar reports its fee in US dollars, usually a few minutes after the payment. Planeward converts it to the payment's currency at the rate Polar used for that order. Until then the payment shows the fee as Pending. A token without orders:read or events:read keeps it pending with a note; replace the token within 30 days of the payment and the fee is still deducted.

Next

  • Products and what buyers get
  • Payment processors
  • Money journey

Promo codes

Create, edit, archive and delete promo codes, see how each code performs, and what happens when a code makes checkout free.

Domains and sign-in

The three addresses buyers see (community, checkout and account), what happens when you don't set one, and how a customer signs in across them.

On this page

What you may sellBefore you connect: in PolarConnect PolarReplace or disconnectTurn it on for a productWhat the buyer seesSubscriptionsRefundsFeesNext