Command Palette

Search for a command to run...

Назад к скиллам
скилл № 85811

stripe-integration

Build secure payment flows with Stripe — Payment Intents, subscription billing, webhook handling, and European SCA compliance for card payments

БесплатноБез исполняемых скриптов
finsilabsот finsilabs★ 69 звёзд на GitHub

Установить stripe-integration в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

Stripe Integration

Overview

Stripe is the most widely supported payment processor across ecommerce platforms. On Shopify, it powers Shopify Payments natively. On WooCommerce and BigCommerce, official plugins provide full Stripe Checkout with minimal configuration. Custom code is only required for headless storefronts — and even then, Stripe's hosted Checkout page and Elements components remove most of the complexity.

When to Use This Skill

  • When adding Stripe as a payment processor to an existing store
  • When setting up Stripe on a new WooCommerce or BigCommerce store
  • When implementing SCA-compliant checkout for European customers
  • When setting up webhook handlers for order fulfillment automation
  • When building a custom or headless storefront that needs Stripe payment processing

Core Instructions

Step 1: Create and configure your Stripe account

  1. Sign up at stripe.com — business verification takes 1–3 business days
  2. Complete Stripe Dashboard → Activate account to start accepting live payments
  3. Configure your Statement descriptor (how you appear on customers' bank statements) under Settings → Public details
  4. Set up Stripe Tax under Dashboard → Tax if you want Stripe to handle tax calculation automatically

Step 2: Install Stripe on your platform


Shopify

Shopify Payments is powered by Stripe. It is the simplest possible Stripe integration:

  1. Go to Settings → Payments → Shopify Payments → Complete account setup
  2. Verify your business details and banking information
  3. Shopify Payments automatically handles: card processing, Apple Pay, Google Pay, Shop Pay, and (with configuration) Klarna and Afterpay
  4. No additional plugins or API keys are needed — Shopify Payments handles everything

If you need to use Stripe directly (e.g., for features Shopify Payments does not support):

  1. Install the Stripe payment provider under Settings → Payments → Add payment methods → Stripe
  2. Note: third-party payment providers on Shopify incur an additional transaction fee (0.5%–2%); Shopify Payments does not

Configure Stripe webhooks for Shopify: Shopify handles webhook processing internally for Shopify Payments. If using Stripe directly, register your webhook endpoint under Stripe Dashboard → Developers → Webhooks.

WooCommerce

  1. Install the WooCommerce Stripe Payment Gateway plugin (free, from WordPress.org — by WooCommerce)
  2. Go to WooCommerce → Settings → Payments → Stripe and click Enable
  3. Enter your Publishable key and Secret key from Stripe Dashboard → Developers → API Keys
  4. Enable Payment Request Buttons (Apple Pay, Google Pay) — these appear automatically on product pages and checkout

Enable additional payment methods:

  • Go to WooCommerce → Settings → Payments → Stripe and enable:
    • Express Checkout (Apple Pay, Google Pay, Link)
    • SEPA Direct Debit (for European customers)
    • iDEAL (Netherlands), Bancontact (Belgium), Sofort (Germany/Austria)
    • Klarna and Afterpay (if eligible)

Set up webhooks:

  1. In the Stripe plugin settings, click Configure webhooks
  2. The plugin automatically registers the required webhook endpoint with Stripe
  3. Verify the webhook is active in Stripe Dashboard → Developers → Webhooks

Enable Stripe Radar (fraud prevention): Stripe Radar is enabled by default. Configure rules under Stripe Dashboard → Radar → Rules to block or review high-risk transactions.

BigCommerce

  1. Go to Settings → Payment Methods → Online Payment Methods
  2. Find Stripe and click Set Up
  3. Enter your Stripe API keys (Publishable and Secret) from the Stripe Dashboard
  4. Enable the payment methods you want to offer under the Stripe configuration panel
  5. BigCommerce automatically registers the required Stripe webhooks

Enable Stripe Link (saved cards): In the BigCommerce Stripe settings, enable Stripe Link to allow returning customers to pay with one click using their saved payment details.


Custom / Headless

Install the Stripe SDK:

npm install stripe @stripe/stripe-js @stripe/react-stripe-js

Option A: Stripe Checkout (hosted page — simplest)

For the fastest integration with no payment form to build:

// Server: create a Checkout Session
const session = await stripe.checkout.sessions.create({
  line_items: [{
    price_data: {
      currency: 'usd',
      product_data: { name: 'Order #' + orderNumber },
      unit_amount: Math.round(orderTotal * 100), // cents
    },
    quantity: 1,
  }],
  mode: 'payment',
  success_url: `${YOUR_DOMAIN}/orders/{CHECKOUT_SESSION_ID}/confirmation`,
  cancel_url: `${YOUR_DOMAIN}/cart`,
  metadata: { order_id: orderId },
});

// Redirect customer to session.url
res.redirect(session.url);

Option B: Payment Intents with Stripe Elements (custom checkout form)

// Server: create a Payment Intent
const
Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

  1. 01claude-code
  2. 02cursor
  3. 03gemini-cli
  4. 04copilot
  5. 05codex-cli
  6. 06kiro
  7. 07opencode

Вложенные файлы

  • evals/checkout-session-and-subscription-with-t/criteria.json
  • evals/checkout-session-and-subscription-with-t/task.md
  • evals/payment-intent-creation-and-client-confi/criteria.json
  • evals/payment-intent-creation-and-client-confi/task.md
  • evals/webhook-verification-and-idempotency/criteria.json
  • evals/webhook-verification-and-idempotency/task.md
  • tile.json

FAQ

Что делает скилл stripe-integration?

Build secure payment flows with Stripe — Payment Intents, subscription billing, webhook handling, and European SCA compliance for card payments

Как установить скилл stripe-integration?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл stripe-integration запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить stripe-integration с