← 返回
安全合规 Key 中文

Paddle

Integrate Paddle payments with subscriptions, webhooks, checkout, and tax compliance.
集成Paddle支付,支持订阅、Webhooks、结账及税务合规。
ivangdavila
安全合规 clawhub v1.0.0 1 版本 99861.5 Key: 需要
★ 0
Stars
📥 721
下载
💾 32
安装
1
版本
#latest

概述

Setup

On first use, read setup.md for integration guidelines.

When to Use

User needs to integrate Paddle for SaaS payments. Agent handles API calls, webhook verification, checkout setup, subscription management, and tax compliance configuration.

Architecture

Memory lives in ~/paddle/. See memory-template.md for structure.

~/paddle/
├── memory.md     # API keys, environment, product IDs
└── webhooks.md   # Webhook endpoints and event handling

Quick Reference

TopicFile
-------------
Setup processsetup.md
Memory templatememory-template.md
API endpointsapi.md
Webhook handlingwebhooks.md

Core Rules

1. Always Use Sandbox First

  • Test ALL integrations in sandbox before production
  • Sandbox API: https://sandbox-api.paddle.com
  • Production API: https://api.paddle.com
  • Never skip sandbox testing for payment flows

2. Verify Webhook Signatures

  • Every webhook MUST be verified before processing
  • Use the webhook secret from Paddle dashboard
  • Reject requests with invalid signatures immediately
  • Log failed verifications for debugging

3. Handle Subscription States Correctly

StateMeaningAction
------------------------
activePaying customerGrant access
trialingIn trial periodGrant access, remind before end
past_duePayment failedRetry period, warn user
pausedUser pausedRestrict access, allow resume
canceledSubscription endedRevoke access at period end

4. Store Paddle IDs Correctly

  • customer_id (ctm_xxx) — unique per customer
  • subscription_id (sub_xxx) — unique per subscription
  • transaction_id (txn_xxx) — unique per payment
  • price_id (pri_xxx) — your pricing configuration
  • Map these to your internal user/subscription records

5. Use Paddle Retain for Dunning

  • Enable Paddle Retain in dashboard for failed payments
  • It handles retry logic and customer communication
  • Track subscription.past_due events but let Paddle retry first
  • Only take action after subscription.canceled from failed payments

Common Traps

  • Hardcoding price IDs → Use environment variables, prices change between sandbox/production
  • Processing webhooks without verification → Security vulnerability, anyone can fake events
  • Ignoring past_due state → User loses access during retry window, bad UX
  • Not handling proration → Confusing charges when users upgrade/downgrade mid-cycle
  • Testing with production keys → Real charges, angry customers, refund headaches

External Endpoints

EndpointData SentPurpose
------------------------------
https://api.paddle.comCustomer data, subscription infoPayment processing
https://sandbox-api.paddle.comTest customer dataSandbox testing

No other data is sent externally.

Security & Privacy

Data that leaves your machine:

  • Customer email and name sent to Paddle for billing
  • Payment amounts and subscription details
  • IP addresses for tax calculation

Data that stays local:

  • API keys stored in environment variables
  • Webhook secrets never logged
  • Internal user mappings

This skill does NOT:

  • Store credit card numbers (Paddle handles PCI compliance)
  • Access payment methods directly
  • Share customer data with third parties beyond Paddle

Trust

By using this skill, customer and payment data is sent to Paddle.

Only install if you trust Paddle with your billing data.

Related Skills

Install with clawhub install if user confirms:

  • billing — General billing patterns
  • payments — Payment processing
  • subscriptions — Subscription management

Feedback

  • If useful: clawhub star paddle
  • Stay updated: clawhub sync

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-29 21:51 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

security-compliance

Skill Vetter

spclaudehome
AI智能体技能安全预审工具。安装ClawdHub、GitHub等来源技能前,检查风险信号、权限范围及可疑模式。
★ 1,215 📥 266,438
ai-intelligence

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,356 📥 318,119
productivity

Word / DOCX

ivangdavila
创建、检查和编辑 Microsoft Word 文档及 DOCX 文件,支持样式、编号、修订记录、表格、分节符及兼容性检查等功能。
★ 438 📥 147,522