add-payments

Integrate Polar payments into a Next.js and Supabase project.

Updated Apr 15, 2026
One-click install
npx skills add https://github.com/arroyo2009jose-max/civradar-autoridades --skill add-payments-arroyo2009jose-max
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: add-payments
Source: https://github.com/arroyo2009jose-max/civradar-autoridades/tree/main/.claude/skills/add-payments
Command: npx skills add https://github.com/arroyo2009jose-max/civradar-autoridades --skill add-payments-arroyo2009jose-max

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Quickly add a complete Polar-based payments integration to a Next.js + Supabase project, enabling checkout, webhooks, and subscriber access management without building payments from scratch.

Core Features & Use Cases

  • Polar acts as Merchant of Record, handling billing, taxes, and subscriptions so you can focus on product.
  • End-to-end workflow including checkout creation, webhook processing, purchases records, and automatic access control with profiles.has_access.
  • Integrates with an existing /add-login flow and Supabase database to attach purchases to users and manage access.

Quick Start

Install the Polar SDK and follow the integration steps to enable checkout, webhooks, and access control.

Frequently Asked Questions about add-payments

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

FAQPage Schema
How do I add Polar payments to a Next.js and Supabase application?

To add Polar payments to a Next.js and Supabase application, you need to implement checkout creation, configure webhook endpoints, and map purchase records to user profiles for access control.

Do I need an existing user login flow to manage Polar subscriptions?

Yes, you need an existing /add-login flow and a Supabase schema for profiles and purchases. This prerequisite allows the payments integration to attach purchases to users and manage subscriber access.

How does Polar handle taxes and billing for Next.js subscriptions?

Polar acts as the Merchant of Record for Next.js subscriptions, automatically handling global billing, taxes, and subscription management so you can focus on product development.

How do I automate user access control after a successful Polar checkout?

You automate user access control by processing Polar webhooks in Next.js to update the Supabase database, automatically toggling the profiles.has_access flag when a purchase is recorded.

What environment configuration is required to process Polar webhooks?

Processing Polar webhooks requires proper environment configuration for Polar webhooks and credentials, alongside a Supabase schema designed to track purchases and manage user access.

Can I track individual user purchases in Supabase using Polar checkout?

Yes, the integration attaches Polar checkout purchase records to Supabase user profiles, enabling you to track individual transactions and automatically manage subscriber access.