PayPal Adaptive Payments
Note: This product is no longer sold on WooCommerce.com. Active subscriptions will receive support from its vendor. This document is left available to you for help with configuration and troubleshooting, but is no longer updated.
PayPal Adaptive Payments handles payments between a sender of a payment and one or more receivers of the payment. It’s possible to split the order total with secondary receivers, so you can pay commissions or partners.
This extension supports:
Enable a sender to send a single payment to multiple receivers (you + five receivers). For example, your shopping cart allows a buyer to pay for items from several merchants with one payment, then allocates payment to merchants that provided the items. PayPal deducts money from the sender’s account and deposits it in the receivers’ accounts.
Enable a sender to send a single payment to a primary receiver. The primary receiver keeps part of the payment and pays the remainder to (up to nine) secondary receivers.
For example, you’re an online travel agency that handles bookings for airfare, hotel reservations and car rentals. The sender only sees you as the primary receiver, and you allocate payment for your commission and the actual cost of services provided by other receivers. PayPal then deducts money from the sender’s account and deposits it in both your account and the secondary receivers’ accounts.
Enable a sender to send a single payment to a single receiver. For example, your website takes payment and transfers money from the customer’s PayPal account to your own, as a result of a sale. This is a traditional payment.
This work automatically when there are no other recipients or receivers.
- Download the .zip file from your WooCommerce.com account.
- Go to: WordPress Admin > Plugins > Add New to upload the file you downloaded with Choose File.
- Activate the extension.
More information at:.
Sign up for PayPal credentials
Open a PayPal Business or Premier account
You must have a PayPal Business or Premier account to generate APIs keys for this plugin. PayPal Adaptive Payments is a limited release product, subject to approval by PayPal.
- Go to PayPal and sign up or log in.
- Go to: Profile > Profile and settings > My selling tools
- Click the Update link for API Access.
4. On API Access page, select Option 2 by clicking Request API credentials:
5. Select Request API signature and click the Agree and Submit button:
6. Copy your API data to use for Setup and Configuration (below).
Create a Live App ID
- Go to PayPal Developer, and log in.
- Go to Dashboard, and click the My Apps & Credentials link.
3. Scroll down and click Manage NVP/SOAP API apps.
4. Click the New Application link.
5. Enter App Information, such as the Title and Description.
6. Select Web for the platform, and Adaptive Payments for Services used by app.
7. Click the Submit App button.
PayPal will review your app. When it is accepted, you will have access to your Live PayPal Application ID to use for Setup and Configuration (next).
Setup and Configuration
PayPal Adaptive extension
- Go to: WooCommerce > Settings > Payments.
Note: ‘Payments’ formerly called ‘Checkout’ prior to WooCommerce 3.4.
- Select PayPal Adaptive Payments. You are taken to the Settings screen.
- Configure your settings:
- Enable/Disable – Enable to use. Disable to turn off.
- Title – Choose the title shown to customers during checkout
- Description – Add info shown to customers if they use PayPal Adaptive
- Enter API Credentials from your PayPal account
- PayPal API Username
- PayPal API Password
- PayPal API Signature
- PayPal Application ID
- Enter the email address you use for PayPal payments in the Receiver Email field. This is important.
- Payment Method – Select from the dropdown
- Invoice Prefix (optional). This is helpful if you’re using the same PayPal account for more than one website/store.
- Design – Enter the URL of an image (see Payment page customization below)
- Gateway Testing
- PayPal sandbox – Enable if in development or testing. Remember to disable when ready to go live.
- Debug log – Enable if troubleshooting. Otherwise, leave disabled.
- Save changes.
Payment page customization
PayPal Adaptive sends customers to PayPal to complete payment. You can customize this page by including your own logo. Add the URL to the logo in the Header Image field. The recommended size is 70×950 pixels.
If you choose to leave blank the Header Image field, your site’s name (as set in WordPress settings) will be shown instead.
An example custom logo header is shown in the Customer Flow section.
All receivers of payment must be set up by entering their email addresses and the percentage they receive per sale in each Product they’re associated with.
- Go to WooCommerce > Products, then the individual Product.
- Scroll down to Product Data.
- Go to the PayPal Adaptive Payments tab.
- Enter the receiver’s email address and a percentage.
Enter each receiver’s email and the percentage (no % symbol), separated by a pipe (|). One receiver per line. For example:
- Only use other people’s email addresses, not your own. Your email is configured in the plugin options.
- Total percentage may not exceed 100%, The remainder is what you receive.
The payment process occurs as typical for a WooCommerce PayPal integration, and the PayPal Adaptive Payments plugin automatically sets up the refund and notification URLs for you.
In this example, the customer is checking out with a single £9 item that has been set up with a commission of 20% to firstname.lastname@example.org, 15% to email@example.com and the remainder to the shop owner.