| Namespace | http://www.mulesoft.org/schema/mule/paypal |
|---|---|
| Schema Location | http://www.mulesoft.org/schema/mule/paypal/2.0/mule-paypal.xsd |
| Version | 2.0 |
| Minimum Mule Version | 3.2 |
Cloud connector for Paypal.
PayPal is a service that enables you to pay, send money, and accept payments without revealing your financial information.
PayPal acts like a digital wallet where you can securely store all your payment options, such as your bank account and credit card. When you want to make a payment, you don't have to pull out your credit card or type your billing info every time. Simply click on the PayPal checkout button, log in to your PayPal account, and select your preferred payment method. We'll complete the payment process—without sharing your info with merchants and sellers.
This connector lets mule users to perform
| Configuration | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Configure an instance of this module
| |||||||||||
| Message Processors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Confirms whether a postal address and postal code match those of the specified
PayPal account holder.
| |||||||||||
Authorize a payment
| |||||||||||
Capture an authorized payment.
| |||||||||||
Process a credit card payment.
| |||||||||||
Void an order or an authorization.
| |||||||||||
Obtain the available balance for a PayPal account.
| |||||||||||
Obtain your Pal ID, which is the PayPal-assigned merchant account number,
and other information about your account.
| |||||||||||
Obtain information about a specific transaction.
| |||||||||||
Accept or deny a pending transaction held by Fraud Management Filters.
| |||||||||||
Make a payment to one or more PayPal account holders.
| |||||||||||
Reauthorize an amount for a previously authorized transaction.
| |||||||||||
Issue a refund to the PayPal account holder associated with a transaction.
| |||||||||||
To use the this module within a flow the namespace to the module must be included. The resulting flow will look similar to the following:
<mule xmlns="http://www.mulesoft.org/schema/mule/core"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:paypal="http://www.mulesoft.org/schema/mule/paypal"
xsi:schemaLocation="
http://www.mulesoft.org/schema/mule/core
http://www.mulesoft.org/schema/mule/core/current/mule.xsd
http://www.mulesoft.org/schema/mule/paypal
http://www.mulesoft.org/schema/mule/paypal/2.0/mule-paypal.xsd">
<!-- here goes your flows and configuration elements -->
</mule>
This module is configured using the config element. This element must be placed outside of your flows and at the root of your Mule application. You can create as many configurations as you deem necesary as long as each carries its own name.
Each message processor, message source or transformer carries a config-ref attribute that allows the invoker to specify which configuration to use.
| Attributes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Type | Name | Default Value | Description | Optional. Give a name to this configuration so it can be later referenced. | |||||||
| Optional. Default currency used if none is specified in the operation | |||||||||||
| Paypal password | |||||||||||
| PayPal-generated unique digital signature. | |||||||||||
| Optional. An indicator in an API call of the account for whom the call is being made | |||||||||||
| Paypal username | |||||||||||
Confirms whether a postal address and postal code match those of the specified PayPal account holder.
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
| The email of the account's holder | ||
| The street to verify | ||
| The zip address to verify |
Authorize a payment
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
| The value of the order's transaction identification number returned by PayPal. Character length and limits: 19 single-byte characters maximum. | ||
| Amount to authorize. Limitations: Value is a positive number which cannot exceed $10,000 USD in any currency. No currency symbol. Must have two decimal places, decimal separator must be a period (.), and the optional thousands separator must be a comma (,). | ||
| Optional. The currency in which amount is expressed. If it is null, then the defaultCurrency is used. | ||
| Optional. Type of transaction to authorize. The only allowable value is Order, which means that the transaction represents a customer order that can be fulfilled over 29 days. |
Capture an authorized payment.
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
| The authorization identification number of the payment you want to capture. This is the transaction id returned from DoExpressCheckoutPayment or DoDirectPayment. Character length and limits: 19 single-byte characters maximum. | ||
| The value Complete indicates that this the last capture you intend to make. The value NotComplete indicates that you intend to make additional captures | ||
| Amount to capture. Limitations: Value is a positive number which cannot exceed $10,000 USD in any currency. No currency symbol. Must have two decimal places, decimal separator must be a period (.), and the optional thousands separator must be a comma (,). | ||
| Optional. The currency in which amount is expressed. If it is null, then the defaultCurrency is used. | ||
| Optional. Your invoice number or other identification number that is displayed to the merchant and customer in his transaction history. NOTE: This value on DoCapture will overwrite a value previously set on DoAuthorization. NOTE: The value is recorded only if the authorization you are capturing is an order authorization, not a basic authorization. Character length and limits: 127 single-byte alphanumeric characters. | ||
| Optional. An informational note about this settlement that is displayed to the payer in email and in his transaction history. Character length and limits: 255 single-byte characters. | ||
| Optional. The soft descriptor is a per transaction description of the payment that is passed to the consumer's credit card statement. |
Process a credit card payment.
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
| IP address of the payer's browser. NOTE: PayPal records this IP addresses as a means to detect possible fraud. Character length and limitations: 15 single-byte characters, including periods, for example: 255.255.255.255. | ||
| Optional. How you want to obtain payment: () "Authorization" indicates that this payment is a basic authorization subject to settlement with PayPal Authorization & Capture. () "Sale" indicates that this is a final sale for which you are requesting payment. | ||
| Optional. Flag to indicate whether you want the results returned by Fraud Management Filters. By default, you do not receive this information. |
Void an order or an authorization.
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
| The original authorization ID specifying the authorization to void or, to void an order, the order ID. IMPORTANT: If you are voiding a transaction that has been reauthorized, use the ID from the original authorization, and not the reauthorization. Character length and limits: 19 single-byte characters. | ||
| Optional. An informational note about this void that is displayed to the payer in email and in his transaction history. Character length and limits: 255 single-byte characters |
Obtain the available balance for a PayPal account.
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
| Optional. If true, returns the balance for each currency holding, otherwise only the balance for the primary currency holding |
Obtain your Pal ID, which is the PayPal-assigned merchant account number, and other information about your account. You need the account number when working with dynamic versions of PayPal buttons and logos.
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. |
Obtain information about a specific transaction.
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
| Unique identifier of a transaction. NOTE: The details for some kinds of transactions cannot be retrieved with GetTransactionDetails. You cannot obtain details of bank transfer withdrawals, for example. Character length and limitations: 17 single-byte alphanumeric characters. |
Accept or deny a pending transaction held by Fraud Management Filters.
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
| The transaction ID of the payment transaction. | ||
| The operation you want to perform on the transaction, which is one of the following actions: () Accept - accepts the payment () Deny - rejects the payment |
Make a payment to one or more PayPal account holders.
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
| The subject line of the email that PayPal sends when the transaction is completed. The subject line is the same for all recipients. Character length and limitations: 255 single-byte alphanumeric characters. | ||
| Indicates how you identify the recipients of payments in this call to MassPay. Must be EmailAddress or UserID. |
Reauthorize an amount for a previously authorized transaction.
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
| The value of a previously authorized transaction identification number returned by PayPal. Character length and limits: 19 single-byte characters maximum. | ||
| Amount to reauthorize. Limitations: Value is a positive number which cannot exceed $10,000 USD in any currency. No currency symbol. Must have two decimal places, decimal separator must be a period (.), and the optional thousands separator must be a comma (,). | ||
| Optional. The currency in which amount is expressed. If it is null, then the defaultCurrency is used. |
Issue a refund to the PayPal account holder associated with a transaction.
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
| Unique identifier of a transaction. Character length and limitations: 17 single-byte alphanumeric characters. | ||
| Optional. Your own invoice or tracking number. Character length and limitations: 127 single-byte alphanumeric characters | ||
| Type of refund you are making: () Full - default () Partial | ||
| Refund amount. Amount is required if RefundType is Partial. NOTE: If RefundType is not specified, do not set the Amount. | ||
| Optional. The currency in which amount is expressed. If it is null, then the defaultCurrency is used. | ||
| Optional. Custom memo about the refund. Character length and limitations: 255 single-byte alphanumeric characters. |