Paypal Adaptive payments handles payments between a sender of a payment and one or more receivers of the payment. By simple words adaptive payment will allow you in your multiple vendor shop or Application to get % off each sale on your site or application platform.
- Navigate to wp-admin → Plugins → Add New → Upload.
- Select the zip file you downloaded from https://wedevs.com/account/downloads/ and click upload.
- Activate the plugin.
Configuration – Account
- Check your account status. Login to PayPal. Go to your PayPal Profile and click My settings. Confirm that your “Account type” is either Premium or Business, or upgrade your account.
- Check your API settings. Click My selling tools. Expand “Selling online” if needed and check “API access.” Click Update and Add or edit API permission or View API signature.
- To get your application live, follow the submission steps outlined in Going Live with Your Application. When you submit your application to PayPal for review, the application is quickly scanned for the requests to PayPal operations. If no “advanced” operations are found, PayPal issues an App ID for the production servers at the time you submit the application. If your application uses “advanced” PayPal operations, or if your application implements a complex business model, you can expect the review to take approximately 10 – 15 days.
How to Get API APP ID?
If you need to setup a API APP ID click on this link: http://apps.paypal.com
You then need to sign in with your paypal account.
Click on New App.
Then You will be asked to provide a Title and Description. You can enter Dokan or your site name for title and you can write the purpose to use that app api id.
Then, proceed to the adaptive payments section and choose basic payments > parallel payments.
Add your estimated monthly/average transactions.
Upload your ID and add your url.
When the app gets approved, you will get 2 numbers. One will be a sandbox API APP ID and one will be a live number.
*** This paragraph was made from the contribution with one of our valuable client Jason Thresher. We’re Really Thankful to him.
You can check this video to learn how to get PayPal API
Configuration – Addon
Install your Dokan Paypal Adaptive Payments add-on plugin as regular WordPress plugin. After activating it, the below options should be visible under Woocommerce → Settings → Checkout.
Now, lets see how it looks like at backend:
Let me describe what those parameters are.
- Enable/Disable – Enable or disable adaptive payments.
- Title – Gateway title or label which will be shown at front-end checkout page to customers.
- PayPal Email: Your PayPal email address
- Payment system: Choose your payment system –
- Parallel – When payment is made parallel to seller and site owner at the same time.
- Chained you are primary receiver – When you receive all amount, keep commission and send rest to seller.
- API – all API settings including API Username, API Password, API Signature and API Application Id will be available when your application with PayPal is approved.
From Dokan v1.0.3 you can set your seller’s percentage from their Profile. Now, it’s a great option to offer your different sellers different percentage offer based on their sales volume.
Translation Text Domain