Laravel Marketplace Paypal Commerce Payment module facilitates the admin of a store to integrate the PayPal Payment Method for their customers.
This module includes both Instant and Delayed disbursement modes, also referred to as PayPal Commerce
Even the sellers can integrate PayPal for their customers only after completing the authentication process with PayPal.
The admin can process the refunds for the customers on their respective panels.
Note: Please note that this module is an extension of the Marketplace Module. To use it, you must first have installed the first Laravel Marketplace Module.
Note: PayPal Commerce Payments is now a limited release product.
PayPal restricts it to approved partners for designated use cases, and you should not use it for new integrations without prior guidance from PayPal. You can check it on PayPal.
Features of Laravel Marketplace PayPal Commerce Payment
- The admin enables the PayPal payment method for customers to make payments.
- You need to retrieve the client ID and secret key to configure the PayPal payment method.
- The admin receives a commission based on the sellers’ transactions.
- The module supports two payment disbursement modes: Instant Payment and Delayed Payment (PayPal Commerce).
- To enable PayPal services, sellers must authenticate with PayPal.
- PayPal Commerce Marketplace Plugin supports Multi-Seller Purchases, allowing customers to purchase from multiple sellers in a single transaction.
- The seller and the admin split the payment.
Module Configuration
Customers will get a zip folder after purchasing the extension, unzip the extension zip,
and then merge the “packages” folder into the project root directory.
- Goto config/app.php file and add the following line under ‘providers’.
Webkul\PaypalCommerce\Providers\PaypalCommerceServiceProvider::class
- Goto composer.json file and add the following line under ‘psr-4’.
"Webkul\\PaypalCommerce\\": "packages/Webkul/PaypalCommerce/src"
- Run the commands below to complete the setup.
composer dump-autoload
php artisan optimize
php artisan migrate
php artisan route:cache
composer require firebase/php-jwt:6.4
php artisan vendor:publish --provider="Webkul\PaypalCommerce\Providers\PaypalCommerceServiceProvider" --force
Steps to register for PayPal
You can visit the PayPal website at https://www.paypal.com/in/business/getting-started.

Click on the “Sign up” button. Once you complete the verification, log in to your PayPal account.
How to generate the API for PayPal
After this, click on the “API Credentials” button to see the API Credentials.

And gets the credentials there

Admin configuration of the module
After the successful installation of the module, the admin can also see the option of PayPal Commerce Payment Method under
Configure>>Payment Method, where the admin can configure the settings regarding the module.
The admin needs to fill in several fields.

Title:- Admin can enable or disable this module.
Description:- Admin can enter the description that they want to show on the checkout page.
Logo:- Admin can add the logo that is visible at the time of the checkout page.
PayPal Partner Sandbox Attribution Id (bn-code):- Admin can enter the PayPal Partner Sandbox Attribution Id.
Partner Merchant ID:- Admin can enter the Partner Merchant ID.
Partner Account Email:- Admin can enter the Partner Account Email.
Client ID:- Provide the Client ID from the PayPal Commerce Payment; this is necessary to link the seller’s account with PayPal Commerce..
Client Secret:- Set Client Secret ID provided by PayPal Commerce Payment.
Disbursement Mode:- The admin can also select between Instant and Delayed.
Sandbox:- Admin can enable or disable the sandbox status from this field.
Status:- The admin can enable or disable the module from this field.

Seller End
Once the installation of the PayPal commerce multi-vendor payment in Laravel,
sellers will find the menu “PayPal Onboard” tab in the seller panel as per the below snapshot:

After the seller clicks the Connect button, they will be redirected to the PayPal Commerce website to connect with PayPal.
Once they complete the connection, they will be redirected back to their account section.

Customer End
At the time of checkout, the customer can select the payment method as PayPal Commerce Payment, to pay.

After selecting the PayPal Commerce Payment Method, the customer can click on the place order button to make the payment.
The customer will be redirected to the PayPal payment page, where they will enter their card details and click the “Pay Now” button.


Once the customers can make payments with cards. After successful payment, they will get the order ID.

They can check the order status and details in their order history.

PayPal Commerce Payment PayPal Payout | Marketplace Admin
The store admin can view the payment requests and generate a payout payment under the option Marketplace> PayPal Payout
The store admin can generate the Payment from the PayPal Payout section under the option Marketplace> PayPal Payout

Seller Transaction Page
After a successful transaction via the Multi-Vendor PayPal Commerce Payment, the seller can view the transaction details for the order.
These details pertain to payments processed using the PayPal Commerce Payment.

Hope it will be helpful for you, or if you have any issues, feel free to raise a ticket at https://bagisto.uvdesk.com/en/
Current Product Version – v2.2.2
Supported Framework Version – v2.2.2