Updated 6 March 2025
Laravel Marketplace Paypal Commerce Payment Gateway module facilitates the admin of a store to integrate 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. It is limited to approved partners for specific use cases and should not be used for new integrations without guidance from PayPal. You can check it on PayPal.
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.
1 |
Webkul\PaypalCommerce\Providers\PaypalCommerceServiceProvider::class |
1 |
"Webkul\\PaypalCommerce\\": "packages/Webkul/PaypalCommerce/src" |
1 |
composer dump-autoload |
1 |
php artisan optimize |
1 |
<span id="LC1" class="line" lang="plaintext">php artisan migrate</span> |
1 |
php artisan route:cache |
1 |
composer require firebase/php-jwt:6.4 |
1 |
php artisan vendor:publish --provider="Webkul\PaypalCommerce\Providers\PaypalCommerceServiceProvider" --force |
Steps to register in PayPal
Visit the PayPal website (https://www.paypal.com/in/business/getting-started).
Click on “Sign up” button. Once the Verification is done, then login to your PayPal account.
After this, click on the “API Credentials” button to see 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 is required to fill in several fields.
Title:- Admin can enable or disable this module.
Description:- Admin can enter the description which 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:- Set Client ID provided by Paypal Commerce Payment Gateway, this is required to connect the seller with the PayPal Commerce account.
Client Secret:- Set Client Secret Id provided by PayPal Commerce Payment Gateway.
Disbursement Mode:- The admin can also select between the 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.
Once the installation of the PayPal commerce multi-vendor payment gateway in Laravel, sellers will find the menu “PayPal Onboard” tab in the seller panel as per the below snapshot:
After clicking on the Connect button, the seller will be redirected to the PayPal Commerce website to connect with PayPal.
Once it is connected, the seller will be redirected back to their account section.
At the time of checkout, the customer can select the payment method as Paypal Commerce Payment Gateway, to pay.
After selecting the PayPal Commerce Payment Method, the customer can click on the place order button to make the payment.
Then the customer will be redirected to the PayPal payment page, here they have to fill card details and click on Pay Now.
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.
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
After a successful transaction via the Multi-Vendor Paypal Commerce Payment Gateway, the seller can view the transaction details for the order.
These details pertain to payments processed using the Paypal Commerce Payment Gateway.
Hope it will be helpful for you, or if you have any issue, feel free to raise a ticket at https://bagisto.uvdesk.com/en/
Current Product Version – 2.2.2
Supported Framework Version – Bagisto v2.2.2
If you have more details or questions, you can reply to the received confirmation email.
Back to Home
Be the first to comment.