What problem does it solve? Integrating PayPal into an application involves juggling client-side Smart Buttons, server-side order creation and capture, IPN verification, subscription billing, and refund workflows, each with its own API surface and failure modes. ## Core Features & Use Cases - Express Checkout: Create and capture one-time orders using the PayPal JavaScript SDK on the frontend and the v2 Orders REST API on the backend. - Subscriptions & Recurring Billing: Create billing plans and subscriptions with approval URLs for recurring payments. - IPN & Refund Handling: Verify Instant Payment Notifications, process completed payments, refunds, and chargebacks, and issue full or partial refunds via the Captures API. - Use Case: An e-commerce site adds a PayPal button to its checkout page, captures the approved order on its Python backend, and automatically processes refund IPN notifications to update order status. ## Quick Start Ask the AI to implement a PayPal checkout flow with Smart Buttons on the frontend and a Python backend endpoint that creates and captures orders using sandbox credentials.