stripe-payments

Implement Stripe PaymentIntents, Payment Element, refunds, and webhooks for checkout flows.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/zacharyr0th/next-starter --skill stripe-payments-zacharyr0th
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: stripe-payments
Source: https://github.com/zacharyr0th/next-starter/tree/main/.claude/skills/stripe/stripe-payments
Command: npx skills add https://github.com/zacharyr0th/next-starter --skill stripe-payments-zacharyr0th

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides expert knowledge of Stripe's core payments infrastructure, simplifying the implementation of secure and compliant payment processing. It addresses challenges like handling various payment methods, 3D Secure authentication, and refunds, streamlining checkout flows and the entire payment lifecycle.

Core Features & Use Cases

  • PaymentIntent Flow: Implement the recommended PaymentIntent API for secure, flexible, and future-proof payment processing, handling complex scenarios like authentication.
  • Diverse Payment Methods: Accept a wide array of payment methods including cards, digital wallets (Apple Pay, Google Pay), bank transfers, and local options using the pre-built Payment Element.
  • Refunds & Authentication: Process full or partial refunds with ease and seamlessly handle 3D Secure (SCA) authentication to meet regulatory requirements and enhance security.
  • Use Case: "I need to add a checkout page to my e-commerce site. Show me how to create a PaymentIntent on the backend and integrate the Payment Element on the frontend to accept card payments."

Quick Start

Create a Stripe PaymentIntent for a $50.00 USD purchase and return its client_secret to the frontend for use with the Payment Element.

Frequently Asked Questions about stripe-payments

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement payment processing with Stripe's PaymentIntent API?▼

PaymentIntent is Stripe's recommended API for secure payment processing. Create a PaymentIntent on your backend with the payment amount, return its client_secret to your frontend, and use the Payment Element to handle authentication, 3D Secure, and multiple payment methods automatically.

What payment methods can I accept with Stripe's Payment Element?▼

The Payment Element accepts cards, digital wallets like Apple Pay and Google Pay, bank transfers, and local payment methods. It automatically displays relevant options based on customer location and payment amount, simplifying checkout flows across diverse scenarios.

How do I handle 3D Secure authentication and SCA compliance?▼

PaymentIntent automatically manages 3D Secure (SCA) authentication when required by regulations or card networks. The Payment Element presents authentication challenges to customers seamlessly, and the API returns authentication status so you can confirm payment completion securely.

Can I process refunds and save payment methods with Stripe?▼

Yes. Process full or partial refunds through Stripe's API by referencing the original PaymentIntent. Save payment methods during checkout for future transactions, and use idempotent operations to safely retry requests without duplicate charges.

How do I verify webhook signatures from Stripe?▼

Verify webhook signatures using Stripe's provided signing secret to confirm requests originate from Stripe. This prevents unauthorized payments and ensures your backend reliably processes payment status updates, refunds, and authentication events.

Does Stripe support test mode and error handling?▼

Stripe provides test mode with sandbox credentials to develop and test payment flows without processing real charges. Implement robust error handling to catch payment failures, authentication challenges, and edge cases, ensuring reliable checkout experiences in production.