跳转到主要内容
此内容尚未提供您的语言版本,正在以英文显示。

Paypal Integration

技能 活跃

Integrate PayPal payment processing with support for express checkout, subscriptions, and refund management. Use when implementing PayPal payments, processing online transactions, or building e-commerce checkout flows.

目的

To seamlessly integrate PayPal payment processing into applications, supporting various transaction types and workflows for e-commerce and subscription services.

功能

  • PayPal payment processing
  • Express checkout implementation
  • Subscription and recurring billing setup
  • Refund management
  • IPN (Instant Payment Notification) handling
  • Server-side and client-side integration examples

使用场景

  • Integrating PayPal as a payment option
  • Implementing express checkout flows
  • Setting up recurring billing with PayPal
  • Processing refunds and payment disputes
  • Handling PayPal webhooks (IPN)

非目标

  • Managing PayPal user accounts
  • Directly handling sensitive PII beyond transaction data
  • Replacing the core PayPal service functionality

Documentation

  • info:Concise BodyThe SKILL.md body is moderately long, containing embedded code examples and detailed explanations that could potentially be moved to separate reference files for better progressive disclosure.

Context

  • info:Progressive DisclosureWhile the SKILL.md includes code examples and explanations, some longer code blocks and detailed sections could be further delegated to separate reference files to enhance progressive disclosure.

Practical Utility

  • info:Edge casesThe skill includes an error handling section that demonstrates how to manage API errors, but it does not explicitly document other potential edge cases or failure modes like rate limits or invalid input formats with recovery steps.

Security

  • warning:Secret ManagementThe example code snippets include placeholders for `client_id`, `client_secret`, and `access_token`, but do not demonstrate secure handling of these secrets (e.g., via environment variables or a secure vault). The IPN example uses Flask which might expose sensitive information if not properly configured in production.

Code Execution

  • info:ValidationInput validation for API parameters and IPN data is not explicitly demonstrated using a schema library; basic type checking might be present in the Python code, but robust validation is not evident.

Errors

  • info:Error HandlingA custom `PayPalError` is defined and a wrapper function `handle_paypal_api_call` attempts to catch network and other exceptions, but detailed error categorization, user-friendly messages, and recovery steps for all scenarios are not fully implemented or documented.
  • info:Actionable error messagesThe custom `PayPalError` and the wrapper function catch exceptions but provide generic error messages without specific remediation steps or links to documentation for all potential failure scenarios.

Compliance

  • info:GDPRThe skill processes payment and transaction data, which may include personal information. While it doesn't explicitly submit this data to a third party beyond PayPal itself, there's no explicit sanitization mentioned before sending to PayPal or within the IPN processing logic.

Execution

  • info:Pinned dependenciesWhile the repository's main `package.json` or equivalent may pin dependencies, the skill's embedded Python code does not explicitly declare interpreter versions or side effects via shebangs.

Protocol

  • info:Idempotent retry & timeoutsThe `handle_paypal_api_call` wrapper includes basic exception handling and retries for network errors, but explicit idempotency for mutating operations and hard per-call timeouts are not clearly implemented or documented.

安装

请先添加 Marketplace

/plugin marketplace add wshobson/agents
/plugin install payment-processing@claude-code-workflows

质量评分

75 /100
1 day ago 分析

信任信号

最近提交3 days ago
星标35.3k
许可证MIT
状态
查看源代码