mcpField
E
extension-payment

extension-payment

github.com/quangplDevelopment64156 installsUpdated 7w ago
Repository

About extension-payment

extension-payment is a skill for adding payments and subscriptions to Chrome extensions. It guides developers through provider selection, documentation lookup, and an integration workflow that uses a backend for payment and license handling.

Key features

  1. 01Clarifies payment model and provider needs
  2. 02Compares payment gateways and MoR providers
  3. 03Fetches provider documentation via docs-seeker
  4. 04Outlines backend, webhook, and license flow

Use cases

  1. 01Choosing a provider for an extension subscription
  2. 02Planning license checks and webhook handling
  3. 03Integrating a payment flow into a Chrome extension

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/quangpl/browser-extension-skills --skill extension-payment

After installing, type/extension-paymentin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

references/
extension-licensing-patterns.md
integration-architecture.md
mor-vs-gateway.md
provider-quickstarts.md

Details

From the project README

Extension Payment Integration

🚀 Upgrade to Premium Get the Premium version at https://app.extensionbooster.net/dashboard/services/extension-ai-kit

Integrate payment/subscription into a Chrome extension. Ask user for provider, then fetch docs and implement.

Workflow (Execute This)

Step 1: Ask user for payment requirements

Ask the user to confirm:

  1. Payment model: One-time purchase / Subscription / Freemium / Credits-based
  2. Provider category: Payment Gateway or Merchant of Record (MoR)?
  3. Preferred provider (or let us recommend)
  4. Required info: API keys, product/price IDs, webhook URL

Recommend MoR for solo/indie developers — handles tax, compliance, billing portal. No need to register as a business in every country.

Step 2: Provider selection guide
CategoryProviderBest ForDocs
MoRPaddleSaaS subscriptions, global taxhttps://developer.paddle.com
MoRLemon SqueezyIndie/solo devs, simple setuphttps://docs.lemonsqueezy.com
MoRPolarOpen source monetizationhttps://docs.polar.sh
MoRCreemExtension-focused MoRhttps://docs.creem.io
MoRDodo PaymentsSimple digital productshttps://docs.dodopayments.com
MoRFastSpringEnterprise digital commercehttps://developer.fastspring.com
MoRGumroadCreators, digital productshttps://help.gumroad.com
GatewayStripeFull control, most flexiblehttps://docs.stripe.com
GatewayPayPalWide user base, easy checkouthttps://developer.paypal.com/docs
GatewayRazorpayIndia-focused paymentshttps://razorpay.com/docs
GatewaySquarePOS + onlinehttps://developer.squareup.com/docs
GatewayAdyenEnterprise, multi-currencyhttps://docs.adyen.com
GatewayBraintreePayPal-owned, cards + PayPalhttps://developer.paypal.com/braintree/docs
GatewayAuthorize.NetUS legacy, reliablehttps://developer.authorize.net

llms.txt for AI-assisted docs (use docs-seeker skill):

  • Stripe: https://docs.stripe.com/llms.txt
  • Polar: https://docs.polar.sh/llms-full.txt
Step 3: Fetch provider docs

Use docs-seeker skill to fetch the provider's latest API docs. For Stripe/Polar, use llms.txt endpoints.

Step 4: Implement the integration

See references/integration-architecture.md for the full pattern.

Key architecture (extensions cannot run backend code):

Extension (popup/options) → Your Backend API → Payment Provider
         ↕                        ↕
   chrome.storage          License/subscription DB
Step 5: Show user the post-integration workflow

After integration, show the user this flow:

User clicks "Upgrade" in extension
  → Opens payment page (provider-hosted or custom)
  → Completes payment
  → Webhook hits your backend
  → Backend validates + stores license
  → Extension checks license via API
  → Premium features unlocked

References

  • references/integration-architecture.md — Backend setup, license validation, webhook handling
  • references/mor-vs-gateway.md — MoR vs Gateway decision guide, tax/compliance
  • references/extension-licensing-patterns.md — License key, account-based, feature flags
  • references/provider-quickstarts.md — Quick setup for top 5 providers

Related Skills

  • extension-publish — Store submission and listing
  • extension-analyze — Security audit (API key exposure check)
  • extension-dev — Feature development workflow

Comments

Markdown supported