A PayPal component with implementations of actions and triggers based off of the Open Integration Hub (OIH) Standard.
For more information you can visit PayPal REST API documentation
To use paypal API you need to Create App in developer account and use Client ID and Secret from there, to do this go to:
DASHBOARD -> My Apps & Credentials -> REST API apps:
You will also need to configure your credentials during flow configuration.
Component credentials configuration Fields:
api.sandbox.paypal.com
or api.paypal.com
Creates webhook subscriptions on the PayPal side and receives events to the flow.
There is no Input Metadata
Data received in the request
Polls PayPal API for new and updated objects.
Disputes
and Transactions
object.Created
or Updated
.Input metadata is absent for triggers
Output metadata is generated dynamically and depends on Object Type
Transactions
always use Created
date to pollWebhook trigger for receive IPN. Instant Payment Notification (IPN) is a message service that automatically notifies merchants of events related to PayPal transactions.
You can test your trigger using Instant Payment Notification (IPN) simulator: set your webhookURL to IPN handler URL
field, select any value of Transaction type
, set receiver_email
the same, as Expected Email Address
from configuration and press Send IPN
.
There is no Input Metadata
All Transaction data (including success/fail)
Webhook trigger for receive PDT. Payment Data Transfer (PDT) is a notification service that, once activated, can send transaction-related information immediately to merchants who are using PayPal payment buttons.
There is no Input Metadata
All Transaction data (including success/fail)
Creates PayPal object
Orders
.Inputs for request fields.
The object creation result as reported by the system.
Updates PayPal object
Orders
.If request succeed - empty object will be returned.
Executes custom request
false
.GET
, POST
, PUT
, PATCH
, DELETE
, required. HTTP verb to use in the request.Executes request of making new Payment depending on provided data. Creates a sale, an authorized payment to be captured later, or an order. To create a sale, authorization, or order, include the payment details in the JSON request body. Set the intent to sale, authorize, or order.
Intent - (enum, required) The payment intent. Value is:
sale
. Makes an immediate payment.
authorize
. Authorizes a payment for capture later.
order
. Creates an order.
paypal
must be specified as the value of the payment_method
.Transactions - (array, required) An array of objects - payment-related transactions
. The value for this input field should be formed as a JSON array of objects containing all the necessary data as objects, such as: amount, description, custom, invoice_number, payment_options, soft_descriptor, item_list. A transaction defines
what the payment is for and who fulfills the payment. For update and execute payment calls, the transactions
object accepts the amount object only.
The object as reported by the system
Action designed to lookup one object by unique field
Allow ID to be omitted
this is optional or required.The object as reported by the system
Click here to learn more about the elastic.io iPaaS