Skills Plugins MCP Prompt Model 博客 我的中心

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.

DeepseekModel キュレーション済みスキル 品質 優秀 · 90 v1.0.0

取得

https://deepseekmodel.com/api/download.php?id=wshobson-agents-plugins-payment-processing-skills-paypal-integration-skill-md&format=skill
ダウンロード .skill 標準形式。system_prompt と model_config を収録し、任意の Agent で利用可能
.skill ファイルの system_prompt フィールドの実際の内容。
name paypal-integration description 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. PayPal Integration Master PayPal payment integration including Express Checkout, IPN handling, recurring billing, and refund workflows. When to Use This Skill 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) Supporting international payments Implementing PayPal subscriptions Core Concepts 1. Payment Products PayPal Checkout One-time payments Express checkout experience Guest and PayPal account payments PayPal Subscriptions Recurring billing Subscription plans Automatic renewals PayPal Payouts Send money to multiple recipients Marketplace and platform payments 2. Integration Methods Client-Side (JavaScript SDK) Smart Payment Buttons Hosted payment flow Minimal backend code Server-Side (REST API) Full control over payment flow Custom checkout UI Advanced features 3. IPN (Instant Payment Notification) Webhook-like payment notifications Asynchronous payment updates Verification required Quick Start // Frontend - PayPal Smart Buttons <div id= "paypal-button-container" ></div> < script src = "https://www.paypal.com/sdk/js?client-id=YOUR_CLIENT_ID&currency=USD" > </ script > < script > paypal. Buttons ({ createOrder : function ( data, actions ) { return actions. order . create ({ purchase_units : [{ amount : { value : '25.00' } }] }); }, onApprove : function ( data, actions ) { return actions. order . capture (). then ( function ( details ) { // Payment successful console . log ( 'Transaction completed by ' + details. payer . name . given_name ); // Send to backend for verification fetch ( '/api/paypal/capture' , { method : 'POST' , headers : { 'Content-Type' : 'application/json' }, body : JSON . stringify ({ orderID : data. orderID }) }); }); } }). render ( '#paypal-button-container' ); </ script > # Backend - Verify and capture order from paypalrestsdk import Payment import paypalrestsdk paypalrestsdk.configure({ "mode" : "sandbox" , # or "live" "client_id" : "YOUR_CLIENT_ID" , "client_secret" : "YOUR_CLIENT_SECRET" }) def capture_paypal_order ( order_id ): """Capture a PayPal order.""" payment = Payment.find(order_id) if payment.execute({ "payer_id" : payment.payer.payer_info.payer_id}): # Payment successful return { 'status' : 'success' , 'transaction_id' : payment. id , 'amount' : payment.transactions[ 0 ].amount.total } else : # Payment failed return { 'status' : 'failed' , 'error' : payment.error } Detailed patterns and worked examples Detailed pattern documentation lives in references/details.md . Read that file when the navigation tier above is insufficient. Testing # Use sandbox credentials SANDBOX_CLIENT_ID = "..." SANDBOX_SECRET = "..." # Test accounts # Create test buyer and seller accounts at developer.paypal.com def test_payment_flow (): """Test complete payment flow.""" client = PayPalClient(SANDBOX_CLIENT_ID, SANDBOX_SECRET, mode= 'sandbox' ) # Create order order = client.create_order( 10.00 ) assert 'id' in order # Get approval URL approval_url = next ((link[ 'href' ] for link in order[ 'links' ] if link[ 'rel' ] == 'approve' ), None ) assert approval_url is not None # After approval (manual step with test account) # Capture order # captured = client.capture_order(order['id']) # assert captured['status'] == 'COMPLETED'
このスキルを起動するキーワード。クリックでコピーできます。

このスキルにはトリガーワードがありません。

ダウンロードした .skill に含まれるフィールド。
フィールド 説明
formatフォーマット識別子(skill/v1)
skill_idスキル固有 ID
nameスキル名
versionバージョン
description説明
categoryカテゴリ(配列)
trigger_wordsトリガーワード
tagsタグ
sourceソース
source_urlソース URL(本ページ)
exported_atエクスポート日時(ダウンロード毎)
system_promptシステムプロンプト本文
model_configモデル設定:provider / model / temperature / max_tokens / top_p
examplesサンプル
install_guide各プラットフォームの導入説明(Coze / Dify / Claude / カスタム)
同じスキルを各プラットフォーム形式で出力できます。
.skill 標準形式。system_prompt と model_config を収録し、任意の Agent で利用可能 ダウンロード
.skillpro 拡張形式。scripts / tools / dependencies / hooks を含む ダウンロード
.json 純粋な JSON 出力。system_prompt とモデル設定のみ ダウンロード
Coze frontmatter 付き Markdown。Coze へのインポート用 ダウンロード
Dify Dify DSL。アプリ作成後にそのままインポート ダウンロード

每日精选 Skill 推荐,免费送到你邮箱

输入邮箱,每天接收一个精选 AI Agent 技能推荐。完全免费,持续更新。

提交后我们会发送一封确认邮件,点击邮件里的链接才会开始收信。

完全免费,取消任意时间。我们不会发送垃圾邮件。