PayPal
To use PayPal as a payment method in your store, you must have a merchant ID and also generate a PayPal client ID and client secret. Visit the PayPal Developer Dashboard for more information. Once you have the required details,
-
Open the Global Menu () and navigate to Commerce → Channels.
-
Select the channel and scroll down to the Payment Methods section.
-
Click PayPal.
-
Use the Active toggle to activate the payment method and click Save. Two new tabs for Eligibility and Configuration appear.
-
Go to Configuration.
-
Enter the details from your PayPal Developer Dashboard for the Client ID, Client Secret, and Merchant ID fields.
-
In the Mode drop-down, select Live if it’s a live site or Sandbox if it’s a test environment.
The Merchant ID field is only available for business accounts in PayPal.
- Click Save.
PayPal is now enabled for your store.
PayPal Subscriptions
To use subscriptions with PayPal, you must activate the PayPal Subscriptions payment method.
-
Open the Global Menu () and navigate to Commerce → Channels.
-
Select the channel and scroll down to the Payment Methods section.
-
Click PayPal Subscriptions.
-
Use the Active toggle to activate the payment method and click Save. Two new tabs for Eligibility and Configuration appear.
-
Go to Configuration.
-
In the Mode drop-down, select Live if it’s a live site or Sandbox if it’s a test environment.
-
Liferay DXP 7.4 U3+/GA7+ In the Request Details drop-down, select Request Details Full or Request Details Minimal (see below).
-
In the Payment Attempts Max Count field, enter the number of attempts to make payment on a subscription before canceling the subscription.
-
Click Save.
Request Details Full: Sends a complete request required for the payment contract mapped to PayPal’s PurchaseUnitRequest
.
Request Details Minimal: Sends a minimal request required for the payment contract mapped to PayPal’s PurchaseUnitRequest
.
- For more information, read PayPal’s Reattempt failed recurring payments with Subscribe buttons article.