Actions55
- Webhooks Actions
- Payments Actions
- Products Actions
- Plans Actions
- Partner Referrals Actions
- Reporting Actions
- Orders Actions
- Subscriptions Actions
- Invoicing Actions
- Disputes Actions
Orders → Show Order Details
AI-generatedOverview
The node "N8N Tools - PayPal Enhanced" provides a comprehensive integration with PayPal's API, supporting over 70 operations across multiple resources such as Orders, Subscriptions, Invoicing, Disputes, Webhooks, Payments, Products, Plans, Partner Referrals, and Reporting.
For the Orders resource with the Show Order Details operation, this node retrieves detailed information about a specific PayPal order by its ID. This is useful for scenarios where you need to verify the status, contents, or payment details of an order after it has been created or processed.
Practical examples:
- After creating an order in a checkout flow, use this operation to fetch the full order details for confirmation or record-keeping.
- Retrieve order details to display in a customer service dashboard.
- Automate workflows that depend on order status updates or payment captures.
Properties
| Name | Meaning |
|---|---|
| ID | The unique identifier of the PayPal order to retrieve details for. |
| Additional Options | Optional parameters to customize the request: |
| - Environment | Choose between "Sandbox" (testing) or "Live" (production) PayPal environment. |
| - Page Size | Number of items per page for list operations (not applicable for showOrderDetails). |
| - Start Time | Filter start date/time in ISO 8601 format (not applicable for showOrderDetails). |
| - End Time | Filter end date/time in ISO 8601 format (not applicable for showOrderDetails). |
Output
The output JSON object includes:
resource: The resource type, here always"orders".operation: The operation performed, here"showOrderDetails".success: Boolean indicating if the operation succeeded.- All fields returned by the PayPal API for the order details endpoint
/v2/checkout/orders/{id}. This typically includes order status, purchase units, payer information, payment details, and links. creditsUsed: Number of API credits consumed by the request (usually 1).creditsRemaining: Remaining API credits available.timestamp: ISO string timestamp when the response was received.
No binary data output is produced by this operation.
Dependencies
- Requires credentials for:
- An API key credential for the external "N8N Tools API" service used for validation.
- A PayPal OAuth2 API credential providing an access token and environment setting.
- The node uses the PayPal REST API endpoints, switching URLs based on sandbox or live environment.
- Proper configuration of these credentials in n8n is necessary for successful execution.
Troubleshooting
- Invalid JSON in Request Body: If a JSON body is provided but malformed, the node throws an error indicating invalid JSON. Ensure JSON syntax correctness.
- Validation Failure: If the external validation API rejects the resource-operation combination or credentials, an error "N8N Tools API validation failed" is thrown. Verify API key and client ID correctness.
- Unknown Operation or Resource: Errors like "Unknown orders operation" or "Unknown resource" indicate unsupported or misspelled operation/resource names.
- Authorization Errors: If PayPal access token is invalid or expired, requests will fail. Refresh or reauthenticate PayPal credentials.
- Network Issues: HTTP request failures due to connectivity or endpoint issues will cause errors. Check network and API availability.
- Continue On Fail: If enabled, the node will continue processing subsequent items even if one fails, returning error details in the output JSON.