recur-checkout
Recur Checkout Integration
You are helping implement Recur checkout flows. Recur supports multiple checkout modes for different use cases.
Checkout Modes
| Mode | Best For | User Experience |
|---|---|---|
embedded |
SPA apps | Form renders inline in your page |
modal |
Quick purchases | Form appears in a dialog overlay |
redirect |
Simple integration | Full page redirect to Recur |
Basic Implementation
Using useRecur Hook
import { useRecur } from 'recur-tw'
More from recur-tw/skills
recur-entitlements
Implement access control and permission checking with Recur entitlements API. Use when building paywalls, checking subscription status, gating premium features, or when user mentions "paywall", "權限檢查", "entitlements", "access control", "premium features".
32recur-quickstart
Quick setup guide for Recur payment integration. Use when starting a new Recur integration, setting up API keys, installing the SDK, or when user mentions "integrate Recur", "setup Recur", "Recur 串接", "金流設定".
31recur-webhooks
Set up and handle Recur webhook events for payment notifications. Use when implementing webhook handlers, verifying signatures, handling subscription events, or when user mentions "webhook", "付款通知", "訂閱事件", "payment notification".
30recur-help
List all available Recur skills and how to use them. Use when user asks "what can Recur do", "Recur skills", "Recur 有什麼功能", "help with Recur", "如何使用 Recur skills".
28recur-portal
Implement Customer Portal for subscription self-service. Use when building account pages, letting customers manage subscriptions, update payment methods, view billing history, or when user mentions "customer portal", "帳戶管理", "訂閱管理", "更新付款方式", "self-service".
27