PayPal Knowledge Patch provides Claude with modern integration patterns and critical post-cutoff updates for the PayPal developer ecosystem. It guides engineers through PayPal Orders API enhancements, JavaScript SDK v6 components, server-side eligibility hydration via @paypal/react-paypal-js, and Braintree-backed PayPal flows. By documenting breaking changes—such as replacing charge_pattern with usage_pattern, updated eligibility fetch helpers, and custom element DOM typings—this skill ensures reliable, compliant payment implementations across web applications.
主要功能
0124 GitHub stars
02Guides PayPal JavaScript SDK v6 custom element usage and TypeScript DOM typings
03Ensures accurate Orders API request payloads, response parsing, and callback hooks
04Highlights breaking API changes like usage_pattern and renamed server eligibility helpers
05Implements server-side eligibility fetching and client-side PayPalProvider hydration
06Configures Braintree-backed PayPal Pay Later, Messages, and vaulting workflows
使用场景
01Upgrading legacy PayPal JavaScript SDK v5 setups to SDK v6 components and typing contracts
02Configuring server-side payment eligibility hydration to prevent duplicate client-side network calls
03Integrating PayPal Pay Later and Venmo vaulting with Braintree-backed server flows