PayPal Integration Guide
Software development skill, available on Zeplik
PayPal Integration Guide is a ready-to-run software development skill on Zeplik. Not for Stripe (use stripe-integration). Ask in plain language and Zeplik applies the skill's method for you inside the conversation, on whichever AI model you prefer.
The PayPal Integration Guide skill loads automatically when your request matches it, or you can invoke it directly by typing /paypal-integration in any chat. It works with attachments, connectors, and any model that supports the task, so you get the same expert method every time without setting anything up.
What the PayPal Integration Guide skill can do
- Generate PayPal Smart Payment Button frontend markup and JS
- Build backend order create and capture handlers with server-side verification
- Process and verify IPN webhook notifications for async payment updates
- Implement subscription plans, recurring billing, and refund workflows
Try these prompts on Zeplik
Pick a prompt to open it in the Zeplik app. If you are not signed in yet, your prompt is waiting for you the moment you do.
How the PayPal Integration Guide skill works
/paypal-integration
Master PayPal payment integration including Express Checkout, IPN handling, recurring billing, and refund workflows. Ask the user for their stack, existing checkout code, and whether they are in sandbox or live mode; deliver frontend button code, backend handlers, and webhook processors as chat artifacts. For Stripe work, use stripe-integration instead.
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¤cy=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 (server-side order creation client, IPN verification and processing, subscription plan creation, refund workflows, error handling wrappers) lives in references/details.md in this skill's directory. 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'
Usage
When the user asks for PayPal integration, establish their stack and mode (sandbox vs live), then deliver working code artifacts: Smart Button markup for the frontend, order create/capture handlers for the backend, and verified IPN processors for asynchronous updates. Always verify captures server-side, verify IPN messages back with PayPal before trusting them, guard against duplicate transaction processing, and keep credentials in environment configuration. Pull the full worked examples from references/details.md for subscriptions, refunds, and error handling. If the user's payment provider is Stripe, hand off to stripe-integration.
/paypal-integration $ARGUMENTS
How to use the PayPal Integration Guide skill
Sign in to Zeplik
Create a free Zeplik account or sign in. New accounts start with free credits, so you can try the PayPal Integration Guide skill right away.
Describe your software development task
Ask in plain language, or type /paypal-integration to invoke the skill directly. Zeplik recognizes the PayPal Integration Guide skill and applies its method.
Review and refine the result
Zeplik returns a clear, structured answer. Ask follow-ups in the same chat to refine it or take the next step.
Source and credit
- Author
- wshobson
- License
- MIT
Adapted from the open-source wshobson/agents project and tuned to run natively on Zeplik. View source on GitHub.
Frequently asked questions
- What is the PayPal Integration Guide skill?
- PayPal Integration Guide is a ready-to-run software development skill on Zeplik. Not for Stripe (use stripe-integration). Ask in plain language and Zeplik applies the skill's method for you inside the conversation, on whichever AI model you prefer.
- How do I use PayPal Integration Guide on Zeplik?
- Sign in to Zeplik and ask in plain language, or type /paypal-integration in any chat to invoke it directly. The skill applies its method and returns a result you can refine in the same conversation.
- Which AI model does the PayPal Integration Guide skill use?
- Any model you choose. Zeplik works across every model in one chat, so the PayPal Integration Guide skill runs on your preferred model for the task.
- Where does the PayPal Integration Guide skill come from?
- The PayPal Integration Guide skill is adapted from the open-source wshobson/agents project (MIT) and tuned to run natively on Zeplik. The original source is linked on this page.
- How much does the PayPal Integration Guide skill cost?
- Using the skill is free to start. You only spend Zeplik credits when the assistant runs, and new accounts begin with free credits.
Related software development skills
- .NET BackendBuild ASP.NET Core 8+ backends with EF Core: auth, background jobs, production API patterns
- Advanced Git WorkflowsUse for advanced Git surgery: interactive rebase, cherry-pick, bisect, reflog recovery, and history cleanup before merging. Not for parallel worktree workflows (use using-git-worktrees).
- Adversarial Code ReviewHunt for bugs in code the user shares by assuming defects exist and attacking the code through several distinct lenses, then report severity-ranked findings with evidence. Use for "review this", "what could go wrong", "bug hunt", or pre-merge scrutiny of a change. Read-only, it reports problems and does not rewrite the code. Not for style cleanup (use simplify-code) or for writing new code.
- AI Agent FrameworksUse when building multi-agent systems or agent orchestration -- LangChain/LangGraph, agent team design, task coordination, pipelines. Not for authoring a Zeplik skill (use skill-creator).
- Algolia SearchAdd Algolia search: indexing strategies, React InstantSearch, relevance tuning, search-as-you-type
- Android CI/CDAutomate Android CI/CD to Google Play: keystore, GitHub Secrets, multi-stage release workflow for RN, Flutter, native
More on Zeplik
Try PayPal Integration Guide on Zeplik
Every model, one chat. Bring the PayPal Integration Guide skill into your next conversation and let the assistant do the work.