paypal-integration

Integrate PayPal Smart Buttons and REST API for checkout, subscriptions, and refunds.

2|Updated May 20, 2026
One-click install
npx skills add https://github.com/Dianshu-Liao/SkilLGuard --skill paypal-integration-dianshu-liao
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: paypal-integration
Source: https://github.com/Dianshu-Liao/SkilLGuard/tree/main/data/skills/paypal-integration
Command: npx skills add https://github.com/Dianshu-Liao/SkilLGuard --skill paypal-integration-dianshu-liao

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

PayPal payment integrations are error-prone and security-sensitive, especially when you need reliable capture, webhook/IPN verification, subscriptions, and refunds across sandbox and production.

Core Features & Use Cases

  • Express Checkout & Order Capture: Implement PayPal Smart Buttons and server-side order creation/capture to complete one-time payments.
  • IPN/Webhook Verification & Processing: Handle asynchronous payment updates by verifying notifications and processing outcomes (completed, refunded, reversed/chargeback).
  • Subscriptions & Refund Workflows: Set up recurring billing via PayPal subscription plans and manage refunds for captured payments, including retrieval of refund details.

Quick Start

Use the paypal-integration skill to generate the core PayPal client, implement order creation/capture endpoints, and outline IPN and refund handling for your e-commerce checkout.

Frequently Asked Questions about paypal-integration

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

FAQPage Schema
How do I implement PayPal Smart Buttons and REST API order capture for checkout?

To verify PayPal IPN and webhook notifications, verify the asynchronous payment updates and process outcomes like completed, refunded, or reversed states. This ensures reliable payment state changes through idempotent transaction processing.

Does PayPal integration support subscription billing and refunds?

PayPal integration supports subscription billing by setting up recurring billing via PayPal subscription plans. It also manages refunds for captured payments, including retrieving refund details for your e-commerce checkout workflows.

What's the best way to handle PayPal payment state changes across sandbox and production?

The best way to handle PayPal payment state changes across sandbox and production is applying idempotent transaction processing. This prevents duplicate state updates when reconciling asynchronous notifications and captured payments.

Do I need outbound network access to process PayPal IPN verification?

Yes, you need outbound PayPal network access to process IPN verification and REST API calls. Secure client credentials must be loaded from environment variables to authenticate these outbound requests for payment processing.