polar

Integrate Polar payment platform for checkout, subscriptions, license keys, and webhooks.

Updated Jan 9, 2026
One-click install
npx skills add https://github.com/maplin-co/ai-course --skill polar-maplin-co
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: polar
Source: https://github.com/maplin-co/ai-course/tree/main/.opencode/skill/polar
Command: npx skills add https://github.com/maplin-co/ai-course --skill polar-maplin-co

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @polar-sh/sdk, and includes references (resource) components.

What problem does it solve?

This Skill simplifies the process of integrating a robust payment platform for digital products, subscriptions, and license keys, enabling seamless monetization.

Core Features & Use Cases

  • Checkout Implementation: Guides users through setting up and integrating Polar's checkout flow.
  • Subscription Management: Assists in managing recurring billing and subscription lifecycles.
  • License Key Handling: Provides functionality for issuing and validating product license keys.
  • Webhook Integration: Helps set up handlers for various payment-related events.

Quick Start

Install the Polar SDK by running npm install @polar-sh/sdk.

Frequently Asked Questions about polar

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I integrate Polar checkout for digital product sales?

To integrate Polar checkout for digital product sales, use the @polar-sh/sdk package to facilitate checkout creation and manage the payment flow. This requires setting up environment variables for authentication to interact with the Polar API successfully.

Can I manage recurring billing and subscriptions using the Polar SDK?

Yes, you can manage recurring billing and subscription lifecycles using the Polar SDK. The integration provides functionality to handle subscription management, enabling seamless automated billing for your digital products.

What is the best way to validate license keys for digital products?

The best way to validate license keys for digital products is by using the Polar platform's license handling features. It provides dedicated functionality for issuing and validating product license keys directly through the @polar-sh/sdk.

How do I handle Polar webhook events for payment subscriptions?

Handling Polar webhook events for payment subscriptions involves setting up dedicated webhook handlers. This Skill helps you configure these handlers to process various payment-related events triggered during the checkout and subscription lifecycle.

Do I need environment variables to configure the Polar payment platform?

Yes, you need environment variables to configure the Polar payment platform. Authentication and configuration for the @polar-sh/sdk API interactions require specific environment variables to be set up before processing payments.