Package Information
Documentation
N8N Tools - PayPal Enhanced
Complete PayPal integration with 70+ operations covering the full PayPal ecosystem. This N8N community node provides comprehensive access to Orders, Subscriptions, Invoicing, Disputes, Webhooks, Partner management, and Reporting APIs that are missing from the official PayPal node.
โจ Features
- ๐ Complete Orders API: Create, update, authorize, capture, and track orders with full lifecycle management
- ๐ณ Advanced Subscriptions: Full billing plan and subscription management with trial periods and discounts
- ๐งพ Professional Invoicing: Create, send, track, and manage invoices with automated reminders
- โ๏ธ Dispute Management: Handle disputes, chargebacks, and claims with evidence submission
- ๐ Webhook Management: Create, update, and test webhooks for real-time notifications
- ๐ฐ Payment Operations: Comprehensive payment processing, refunds, and transaction details
- ๐ฆ Product Catalog: Manage subscription products and services
- ๐ Billing Plans: Create flexible recurring billing with multiple pricing tiers
- ๐ค Partner Referrals: Manage partner onboarding and referral programs
- ๐ Advanced Reporting: Transaction history, balance information, and detailed analytics
- ๐ Secure API: Powered by N8N Tools platform with usage tracking and validation
๐ Quick Start
Installation
Install this node in your N8N instance:
Via Community Nodes (Recommended)
- Go to Settings > Community Nodes in your N8N interface
- Click Install a community node
- Enter
n8n-nodes-n8ntools-paypal-enhanced - Click Install
Via npm
npm install n8n-nodes-n8ntools-paypal-enhanced
Setup Credentials
- Sign up at N8N Tools and get your API key
- In N8N, create new N8N Tools API credentials
- Enter your API URL:
https://api.n8ntools.io - Enter your API key
๐ Available Resources
๐ Orders (7 Operations)
Complete order lifecycle management beyond the official node:
| Operation | Description | Official Node | Enhanced |
|---|---|---|---|
| Create Order | Create new PayPal order | โ Basic | โ Full API |
| Show Order Details | Get comprehensive order info | โ | โ |
| Update Order | Modify order before payment | โ | โ |
| Authorize Payment | Authorize without capturing | โ | โ |
| Capture Payment | Capture authorized payment | โ Basic | โ Full API |
| Add Tracking | Add shipping tracking info | โ | โ |
| Cancel Payment | Cancel uncaptured payment | โ | โ |
๐ณ Subscriptions (7 Operations)
Full recurring billing capabilities missing from official node:
- Create Subscription: Set up recurring payments with trial periods
- Show Subscription Details: Get detailed subscription information
- Update Subscription: Modify subscription terms and pricing
- Suspend Subscription: Temporarily pause billing
- Cancel Subscription: Permanently end subscription
- Activate Subscription: Resume suspended subscriptions
- Get Subscription Transactions: View all subscription payments
๐ฆ Products (4 Operations)
Manage subscription products and services:
- Create Product: Define products for subscriptions
- Show Product Details: Get product information
- Update Product: Modify product details
- List Products: View all available products
๐ Plans (4 Operations)
Advanced billing plan management:
- Create Plan: Set up billing plans with multiple pricing tiers
- Show Plan Details: Get plan configuration
- Update Plan: Modify billing plan settings
- List Plans: View all billing plans
๐งพ Invoicing (10 Operations)
Professional invoicing system not available in official node:
- Create Draft Invoice: Create invoice drafts
- Show Invoice Details: Get comprehensive invoice info
- Update Invoice: Modify draft invoices
- Delete Invoice: Remove draft invoices
- Send Invoice: Send invoices to customers
- Cancel Invoice: Cancel sent invoices
- Send Reminder: Send payment reminders
- List Invoices: View all invoices with filtering
- Search Invoices: Advanced invoice search
- Generate Invoice Number: Auto-generate invoice numbers
โ๏ธ Disputes (8 Operations)
Complete dispute management system:
- List Disputes: View all disputes with filtering
- Show Dispute Details: Get detailed dispute information
- Update Dispute: Provide dispute updates
- Escalate to Claim: Escalate disputes to claims
- Accept Offer: Accept resolution offers
- Accept Claim: Accept liability for claims
- Provide Evidence: Submit evidence for disputes
- Provide Supporting Info: Add supporting documentation
๐ Webhooks (7 Operations)
Full webhook management capabilities:
- Create Webhook: Set up event notifications
- Show Webhook Details: Get webhook configuration
- Update Webhook: Modify webhook settings
- Delete Webhook: Remove webhooks
- List Webhooks: View all configured webhooks
- List Event Subscriptions: See subscribed events
- Simulate Event: Test webhook endpoints
๐ฐ Payments (3 Operations)
Enhanced payment processing:
- Show Payment Details: Get comprehensive payment info
- Refund Payment: Process full or partial refunds
- Show Refund Details: Get refund transaction details
๐ค Partner Referrals (2 Operations)
Partner program management:
- Create Partner Referral: Onboard new partners
- Show Referral Details: Track referral status
๐ Reporting (3 Operations)
Advanced reporting and analytics:
- List Transactions: Get transaction history with filtering
- Show Transaction Details: Detailed transaction information
- Get Balance: Account balance and available funds
๐ก Usage Examples
Create Complete Order with Tracking
// Configuration
Resource: "Orders"
Operation: "Create Order"
Request Body: {
"intent": "CAPTURE",
"purchase_units": [{
"amount": {
"currency_code": "USD",
"value": "100.00"
},
"description": "Premium Service Package"
}],
"application_context": {
"return_url": "https://example.com/return",
"cancel_url": "https://example.com/cancel"
}
}
// Output
{
"resource": "orders",
"operation": "createOrder",
"success": true,
"id": "5O190127TN364715T",
"status": "CREATED",
"links": [{
"href": "https://api.paypal.com/v2/checkout/orders/5O190127TN364715T",
"rel": "self",
"method": "GET"
}],
"creditsUsed": 1,
"creditsRemaining": 99
}
Set Up Recurring Subscription
// Step 1: Create Product
Resource: "Products"
Operation: "Create Product"
Request Body: {
"name": "Premium Membership",
"type": "SERVICE",
"category": "SOFTWARE"
}
// Step 2: Create Billing Plan
Resource: "Plans"
Operation: "Create Plan"
Request Body: {
"product_id": "PROD-12345",
"name": "Monthly Premium Plan",
"billing_cycles": [{
"frequency": {
"interval_unit": "MONTH",
"interval_count": 1
},
"tenure_type": "REGULAR",
"sequence": 1,
"total_cycles": 0,
"pricing_scheme": {
"fixed_price": {
"value": "29.99",
"currency_code": "USD"
}
}
}],
"payment_preferences": {
"auto_bill_outstanding": true
}
}
// Step 3: Create Subscription
Resource: "Subscriptions"
Operation: "Create Subscription"
Request Body: {
"plan_id": "P-12345",
"subscriber": {
"email_address": "customer@example.com",
"name": {
"given_name": "John",
"surname": "Doe"
}
},
"application_context": {
"return_url": "https://example.com/return",
"cancel_url": "https://example.com/cancel"
}
}
Professional Invoice Management
// Create and Send Invoice
Resource: "Invoicing"
Operation: "Create Draft Invoice"
Request Body: {
"detail": {
"invoice_number": "INV-2024-001",
"currency_code": "USD"
},
"invoicer": {
"name": {
"given_name": "John",
"surname": "Doe"
},
"email_address": "john@business.com"
},
"primary_recipients": [{
"billing_info": {
"email_address": "customer@example.com"
}
}],
"items": [{
"name": "Consulting Services",
"description": "Monthly consulting retainer",
"quantity": "1",
"unit_amount": {
"currency_code": "USD",
"value": "500.00"
}
}]
}
// Then send the invoice
Resource: "Invoicing"
Operation: "Send Invoice"
ID: "INV2-XXXX-XXXX-XXXX"
Handle Disputes with Evidence
// Provide Evidence for Dispute
Resource: "Disputes"
Operation: "Provide Evidence"
ID: "PP-D-12345"
Request Body: {
"evidence_type": "PROOF_OF_DELIVERY",
"evidence_info": {
"tracking_info": [{
"carrier_name": "UPS",
"tracking_number": "1Z999AA1234567890"
}]
},
"notes": "Package was delivered and signed for by recipient"
}
Real-time Webhook Setup
// Create Webhook for Payment Events
Resource: "Webhooks"
Operation: "Create Webhook"
Request Body: {
"url": "https://example.com/webhooks/paypal",
"event_types": [
{"name": "PAYMENT.CAPTURE.COMPLETED"},
{"name": "PAYMENT.CAPTURE.DENIED"},
{"name": "BILLING.SUBSCRIPTION.ACTIVATED"}
]
}
โ๏ธ Configuration Options
Environment Settings
- Sandbox: Testing environment (default)
- Live: Production environment
Pagination Controls
- Page Size: Number of items per page (1-100, default: 20)
- Start Time: Filter by start date (ISO 8601 format)
- End Time: Filter by end date (ISO 8601 format)
Advanced Request Options
- Request Body: JSON payload for create/update operations
- ID: Resource identifier for show/update/delete operations
- Additional Options: Environment, pagination, and filtering options
๐ ๏ธ Example Workflows
E-commerce Order Processing
[Order Created] โ [PayPal Enhanced: Create Order] โ [Customer Redirected] โ [PayPal Enhanced: Capture Payment] โ [Order Fulfillment]
Subscription Business
[Customer Signup] โ [PayPal Enhanced: Create Product] โ [PayPal Enhanced: Create Plan] โ [PayPal Enhanced: Create Subscription] โ [Customer Onboarded]
Professional Services Billing
[Service Completed] โ [PayPal Enhanced: Create Invoice] โ [PayPal Enhanced: Send Invoice] โ [Payment Tracking] โ [Send Reminder if Overdue]
Dispute Management
[Webhook: Dispute Created] โ [PayPal Enhanced: Show Dispute] โ [Gather Evidence] โ [PayPal Enhanced: Provide Evidence] โ [Resolution Tracking]
๐ Comparison with Official PayPal Node
| Feature Category | Official Node | PayPal Enhanced | Improvement |
|---|---|---|---|
| Orders | 2 operations | 7 operations | +250% |
| Subscriptions | 0 operations | 7 operations | โ (new) |
| Products | 0 operations | 4 operations | โ (new) |
| Plans | 0 operations | 4 operations | โ (new) |
| Invoicing | 0 operations | 10 operations | โ (new) |
| Disputes | 0 operations | 8 operations | โ (new) |
| Webhooks | 0 operations | 7 operations | โ (new) |
| Payments | 1 operation | 3 operations | +200% |
| Partner Referrals | 0 operations | 2 operations | โ (new) |
| Reporting | 0 operations | 3 operations | โ (new) |
| Total Operations | 3 operations | 55 operations | +1733% |
๐ง API Endpoints
All operations are routed through N8N Tools API for consistent authentication and usage tracking:
| Resource | Base Endpoint |
|---|---|
| Orders | /api/v1/paypal-enhanced/orders/ |
| Subscriptions | /api/v1/paypal-enhanced/subscriptions/ |
| Products | /api/v1/paypal-enhanced/products/ |
| Plans | /api/v1/paypal-enhanced/plans/ |
| Invoicing | /api/v1/paypal-enhanced/invoicing/ |
| Disputes | /api/v1/paypal-enhanced/disputes/ |
| Webhooks | /api/v1/paypal-enhanced/webhooks/ |
| Payments | /api/v1/paypal-enhanced/payments/ |
| Partner Referrals | /api/v1/paypal-enhanced/partner-referrals/ |
| Reporting | /api/v1/paypal-enhanced/reporting/ |
๐จ Error Handling
The node provides comprehensive error handling with detailed messages:
{
"error": "INVALID_RESOURCE_ID",
"success": false,
"resource": "orders",
"operation": "showOrderDetails",
"details": {
"issue": "The specified resource ID does not exist",
"field": "id",
"value": "INVALID_ORDER_ID"
}
}
๐ธ Pricing & Limits
- Standard Operations: 1 credit per API call
- Complex Operations: 2-3 credits (subscriptions, invoicing, disputes)
- List Operations: 1 credit per page
- Monthly Quotas: Based on your N8N Tools subscription plan
- Rate Limits: Based on your subscription tier
- Usage Tracking: Real-time credit monitoring
๐ง Troubleshooting
Common Issues
Authentication Errors
- Verify N8N Tools API key is valid and active
- Check API URL is set to
https://api.n8ntools.io - Ensure sufficient credits in your account
Invalid Request Body
- Validate JSON syntax in request body
- Check PayPal API documentation for required fields
- Use sandbox environment for testing
Resource Not Found
- Verify resource ID exists and is accessible
- Check environment setting (sandbox vs live)
- Ensure proper permissions for the operation
Webhook Issues
- Verify webhook URL is publicly accessible
- Check SSL certificate is valid
- Ensure endpoint handles PayPal webhook format
๐ Performance Tips
- Batch Operations: Use list operations with pagination for bulk data
- Caching: Cache frequently accessed data like product catalogs
- Environment Management: Use sandbox for development and testing
- Error Handling: Implement retry logic for transient failures
- Webhook Optimization: Use webhooks for real-time updates instead of polling
๐ Support
- Documentation: docs.n8ntools.io
- API Reference: api.n8ntools.io/docs
- Community: Discord
- Email: support@n8ntools.io
๐ License
This project is licensed under the MIT License - see the LICENSE file for details.
Made with โค๏ธ by N8N Tools