paddle
Accept payments with Paddle as merchant of record. Use when a user asks to add subscription billing without handling tax compliance, accept international payments, implement a payment system where Paddle handles VAT/sales tax, or build a SaaS billing system.
What this skill does
# Paddle
## Overview
Paddle is a merchant of record — it handles payments, tax compliance (VAT, sales tax), invoicing, and fraud protection. Unlike Stripe, you don't need to register for tax in every country. Paddle sells on your behalf and remits taxes globally.
## Instructions
### Step 1: Checkout Integration
```typescript
// components/Checkout.tsx — Paddle.js overlay checkout
declare global { interface Window { Paddle: any } }
export function PricingButton({ priceId }: { priceId: string }) {
const handleCheckout = () => {
window.Paddle.Checkout.open({
items: [{ priceId, quantity: 1 }],
customer: { email: '[email protected]' },
customData: { userId: 'usr_123' },
})
}
return <button onClick={handleCheckout}>Subscribe</button>
}
// Add to layout:
// <script src="https://cdn.paddle.com/paddle/v2/paddle.js"></script>
// Paddle.Initialize({ token: 'live_xxx' })
```
### Step 2: Webhook Handler
```typescript
// api/paddle/webhook.ts — Process Paddle events
import { Paddle } from '@paddle/paddle-node-sdk'
const paddle = new Paddle(process.env.PADDLE_API_KEY!)
export async function POST(req: Request) {
const body = await req.text()
const signature = req.headers.get('paddle-signature')!
const event = paddle.webhooks.unmarshal(body, process.env.PADDLE_WEBHOOK_SECRET!, signature)
switch (event.eventType) {
case 'subscription.created':
await db.user.update({
where: { paddleCustomerId: event.data.customerId },
data: { plan: 'pro', subscriptionId: event.data.id },
})
break
case 'subscription.canceled':
await db.user.update({
where: { subscriptionId: event.data.id },
data: { plan: 'free', canceledAt: new Date() },
})
break
case 'transaction.completed':
// Payment received — update invoice records
break
}
return new Response('OK')
}
```
### Step 3: API Usage
```typescript
// lib/paddle.ts — Manage subscriptions server-side
import { Paddle } from '@paddle/paddle-node-sdk'
const paddle = new Paddle(process.env.PADDLE_API_KEY!)
// Create a customer
const customer = await paddle.customers.create({
email: '[email protected]',
name: 'John Doe',
})
// List subscriptions
const subscriptions = await paddle.subscriptions.list({
customerId: [customer.id],
})
// Cancel subscription
await paddle.subscriptions.cancel(subscriptionId, {
effectiveFrom: 'next_billing_period',
})
```
## Guidelines
- Paddle is a merchant of record — it handles VAT, sales tax, invoices. You receive net payouts.
- Paddle takes ~5% + payment processing fees. Higher than Stripe, but includes tax compliance.
- Use Paddle Billing for subscriptions, Paddle Checkout for one-time purchases.
- Best for indie devs and small teams who don't want to deal with global tax registration.
Related in Sales & CRM
process-mapper
IncludedUse when a BizOps lead, COO, or process-improvement owner needs to document an end-to-end business process (procurement, employee onboarding, incident handoff, customer-onboarding, claims adjudication) in BPMN-style notation, measure cycle times by stage, surface where work spends most of its time waiting vs. being worked, and quantify the gap between processing time and total elapsed time. Pairs Lean / Six Sigma / Theory-of-Constraints canon with deterministic stdlib-only Python tools to produce a process map, a ranked bottleneck list (with severity + root-cause hypothesis), and a cycle-time analysis (P50, P90, value-add ratio, Little's-Law throughput). Distinct from sales-pipeline, system-reliability (SLO), and strategic-OKR work — this is tactical process documentation for internal operations.
payment-integration
IncludedIntegrate payments with SePay (VietQR), Polar, Stripe, Paddle (MoR subscriptions), Creem.io (licensing). Checkout, webhooks, subscriptions, QR codes, multi-provider orders.
customer-success-manager
IncludedMonitors customer health, predicts churn risk, and identifies expansion opportunities using weighted scoring models for SaaS customer success
sales-engineer
IncludedAnalyzes RFP/RFI responses for coverage gaps, builds competitive feature comparison matrices, and plans proof-of-concept (POC) engagements for pre-sales engineering. Use when responding to RFPs, bids, or proposal requests; comparing product features against competitors; planning or scoring a customer POC or sales demo; preparing a technical proposal; or performing win/loss competitor analysis. Handles tasks described as 'RFP response', 'bid response', 'proposal response', 'competitor comparison', 'feature matrix', 'POC planning', 'sales demo prep', or 'pre-sales engineering'.
customer-success-manager
IncludedMonitors customer health, predicts churn risk, and identifies expansion opportunities using weighted scoring models for SaaS customer success
sales-engineer
IncludedAnalyzes RFP/RFI responses for coverage gaps, builds competitive feature comparison matrices, and plans proof-of-concept (POC) engagements for pre-sales engineering. Use when responding to RFPs, bids, or proposal requests; comparing product features against competitors; planning or scoring a customer POC or sales demo; preparing a technical proposal; or performing win/loss competitor analysis. Handles tasks described as 'RFP response', 'bid response', 'proposal response', 'competitor comparison', 'feature matrix', 'POC planning', 'sales demo prep', or 'pre-sales engineering'.