payment-integration

Integrate Stripe and PayPal payment processors with webhook verification and idempotent processing.

23|2|Updated Jan 19, 2026
One-click install
npx skills add https://github.com/herdiansah/Antigravity-Skills-Master --skill payment-integration-herdiansah
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: payment-integration
Source: https://github.com/herdiansah/Antigravity-Skills-Master/tree/main/.agent/skills/payment-integration
Command: npx skills add https://github.com/herdiansah/Antigravity-Skills-Master --skill payment-integration-herdiansah

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill streamlines the integration of payment gateways like Stripe and PayPal, ensuring secure, reliable, and compliant transaction processing for your applications.

Core Features & Use Cases

  • Payment Gateway Integration: Connects your application with Stripe, PayPal, and other processors.
  • Checkout & Subscription Management: Implements secure checkout flows, handles recurring billing, and manages subscription lifecycles.
  • Webhook Handling: Processes asynchronous payment events securely and idempotently.
  • PCI Compliance: Guides and implements best practices to meet PCI DSS requirements.
  • Use Case: Implement a new e-commerce feature that allows users to subscribe to a monthly service, handling the initial payment, recurring charges, and subscription cancellations.

Quick Start

Integrate Stripe checkout for a one-time product purchase, ensuring webhook verification and idempotency.

Frequently Asked Questions about payment-integration

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

FAQPage Schema
How do I securely integrate Stripe and handle payment webhooks?

To securely integrate Stripe, you must implement server-side validation and signature verification for webhooks. This ensures asynchronous payment events are processed securely and idempotently, preventing duplicate transactions.

What's the best way to manage recurring billing and subscription lifecycles?

Managing subscription billing requires handling checkout flows, recurring charges, and cancellations. Using a payment processor integration handles the subscription lifecycle, from initial payment to automated recurring billing and updates.

How do I ensure PCI compliance when adding a checkout flow to my application?

Ensuring PCI compliance involves following PCI DSS requirements during gateway integration. This means using secure API interactions and relying on the payment processor's secure checkout flows rather than handling raw card data directly.

Why does PayPal webhook processing require idempotent operations?

PayPal webhook processing requires idempotent operations to safely handle duplicate or retried asynchronous event deliveries. Idempotency ensures processing the same payment event multiple times does not result in duplicate charges or data corruption.

Can I use this payment integration approach for both one-time purchases and subscriptions?

Yes, this payment integration approach supports both one-time product purchases and recurring subscription services. It manages secure checkout flows for immediate payments and handles the complex lifecycle of recurring billing automatically.

Do I need server-side validation for PayPal and Stripe API interactions?

Yes, server-side validation is required for Stripe and PayPal API interactions. It is a critical security measure that ensures incoming payment data and webhook events are authentic, untampered, and safe to process.