Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
binjuhor avatar

Payment Integration

  • 20 installs
  • 95 repo stars
  • Updated July 7, 2026
  • binjuhor/shadcn-lar

payment-integration is a Claude skill for integrating SePay (Vietnamese payment gateway) and Polar (global SaaS monetization) including checkout, subscriptions, and webhooks.

About

This skill implements payment integrations with SePay, a Vietnamese payment gateway, and Polar, a global SaaS monetization platform. A developer uses it to build checkout flows, manage subscriptions, handle webhooks, process bank transfers or QR payments, and automate benefit delivery. It provides platform selection guidance plus bundled webhook-verification and checkout helper scripts.

  • Integrates SePay (Vietnamese gateway) and Polar (global SaaS monetization)
  • Covers checkout flows, subscriptions, webhooks, and usage-based billing
  • Bundled webhook-verification and checkout helper scripts

Payment Integration by the numbers

  • 20 all-time installs (skills.sh)
  • Ranked #3,443 of 4,348 Backend & APIs skills by installs in the Skillselion catalog
  • Data as of Aug 2, 2026 (Skillselion catalog sync)
At a glance

payment-integration capabilities & compatibility

Capabilities
api development
Works with
stripe
Use cases
api development
Pricing
Bring your own API key
From the docs

What payment-integration says it does

Implement payment processing with SePay (Vietnamese payments) and Polar (global SaaS monetization).
SKILL.md
Merchant of Record (global tax compliance)
SKILL.md
44+ Vietnamese banks supported
SKILL.md
npx skills add https://github.com/binjuhor/shadcn-lar --skill payment-integration

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs20
repo stars95
Last updatedJuly 7, 2026
Repositorybinjuhor/shadcn-lar

What it does

Integrate SePay or Polar payments - checkout, subscriptions, webhooks, and billing - into an application.

Who is it for?

Developers adding payments, subscriptions, or usage-based billing via SePay or Polar.

Skip if: Teams integrating Stripe, PayPal, or other gateways not covered by this skill.

When should I use this skill?

Integrating payment processing, building a checkout flow, managing subscriptions, handling payment webhooks, or generating QR payments.

What you get

A working payment integration with checkout, subscriptions, verified webhooks, and automated benefit delivery via SePay or Polar.

  • Payment checkout flow
  • Verified payment webhook handling

By the numbers

  • Two platforms: SePay and Polar
  • SePay supports 44+ Vietnamese banks
  • Polar rate limit: 300 req/min

Files

SKILL.mdMarkdownGitHub ↗

Payment Integration

Implement payment processing with SePay (Vietnamese payments) and Polar (global SaaS monetization).

When to Use

Use when implementing:

  • Payment gateway integration (checkout, processing)
  • Subscription management (trials, upgrades, billing)
  • Webhook handling (payment notifications)
  • QR code payments (VietQR, NAPAS)
  • Usage-based billing (metering, credits)
  • Automated benefit delivery (licenses, GitHub access, Discord roles)
  • Customer portals (self-service management)
  • Bank transfer automation (Vietnamese banks)
  • Product catalogs with pricing

Platform Selection

Choose SePay for:

  • Vietnamese market (VND currency)
  • Bank transfer automation
  • VietQR/NAPAS payments
  • Local payment methods
  • Direct bank account monitoring

Choose Polar for:

  • Global SaaS products
  • Subscription management
  • Usage-based billing
  • Automated benefits (GitHub, Discord, licenses)
  • Merchant of Record (tax compliance)
  • Digital product sales

Quick Reference

SePay Integration

  • Overview & Auth: references/sepay/overview.md - Platform capabilities, API/OAuth2 auth, supported banks
  • API Reference: references/sepay/api.md - Endpoints, transactions, bank accounts, virtual accounts
  • Webhooks: references/sepay/webhooks.md - Setup, payload structure, verification, retry logic
  • SDK Usage: references/sepay/sdk.md - Node.js, PHP, Laravel implementations
  • QR Codes: references/sepay/qr-codes.md - VietQR generation, templates, integration
  • Best Practices: references/sepay/best-practices.md - Security, patterns, monitoring

Polar Integration

  • Overview & Auth: references/polar/overview.md - Platform capabilities, authentication methods, MoR concept
  • Products & Pricing: references/polar/products.md - Product types, pricing models, usage-based billing
  • Checkouts: references/polar/checkouts.md - Checkout flows, embedded checkout, links
  • Subscriptions: references/polar/subscriptions.md - Lifecycle, upgrades, downgrades, trials
  • Webhooks: references/polar/webhooks.md - Event types, signature verification, monitoring
  • Benefits: references/polar/benefits.md - Automated delivery (GitHub, Discord, licenses, files)
  • SDK Usage: references/polar/sdk.md - TypeScript, Python, PHP, Go, framework adapters
  • Best Practices: references/polar/best-practices.md - Security, patterns, monitoring

Integration Scripts

  • SePay Webhook Verification: scripts/sepay-webhook-verify.js - Verify SePay webhook authenticity
  • Polar Webhook Verification: scripts/polar-webhook-verify.js - Verify Polar webhook signatures
  • Checkout Helper: scripts/checkout-helper.js - Generate checkout sessions for both platforms

Implementation Workflow

SePay Implementation

1. Load references/sepay/overview.md for auth setup 2. Load references/sepay/api.md or references/sepay/sdk.md for integration 3. Load references/sepay/webhooks.md for payment notifications 4. Use scripts/sepay-webhook-verify.js for webhook verification 5. Load references/sepay/best-practices.md for production readiness

Polar Implementation

1. Load references/polar/overview.md for auth and concepts 2. Load references/polar/products.md for product setup 3. Load references/polar/checkouts.md for payment flows 4. Load references/polar/webhooks.md for event handling 5. Use scripts/polar-webhook-verify.js for webhook verification 6. Load references/polar/benefits.md if automating delivery 7. Load references/polar/best-practices.md for production readiness

Key Capabilities

SePay:

  • Payment gateway (QR, bank transfer, cards)
  • Bank account monitoring with webhooks
  • Order-based virtual accounts
  • VietQR generation API
  • 44+ Vietnamese banks supported
  • Rate limit: 2 calls/second

Polar:

  • Merchant of Record (global tax compliance)
  • Subscription lifecycle management
  • Usage-based billing (events, meters)
  • Automated benefits (GitHub, Discord, licenses)
  • Customer portal (self-service)
  • Multi-language SDKs
  • Rate limit: 300 req/min

Instructions

When implementing payment integration:

1. Identify platform based on requirements (Vietnamese vs global, payment types) 2. Load relevant references progressively as needed 3. Implement authentication using platform-specific methods 4. Set up products/pricing according to business model 5. Implement checkout flow (hosted, embedded, or API-driven) 6. Configure webhooks with proper verification 7. Handle payment events (success, failure, refund) 8. Test thoroughly in sandbox before production 9. Monitor and optimize using platform analytics

Load only the references needed for current implementation step to maintain context efficiency.

Related skills

FAQ

When should I choose SePay vs Polar?

Choose SePay for the Vietnamese market (VND, bank transfers, VietQR/NAPAS); choose Polar for global SaaS products with subscriptions, usage-based billing, and Merchant of Record tax compliance.

Does it help verify webhooks?

Yes, it bundles sepay-webhook-verify.js and polar-webhook-verify.js scripts to verify webhook authenticity and signatures.

Backend & APIspaymentspricing

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.