With the help of the module Laravel eCommerce Braintree Payment Method the admin can integrate Braintree payment method in Bagisto eCommerce store.
Braintree is a payment method that makes payment much easier for the customers. Braintree helps businesses of all sizes, from small to large enterprises, accept and process payments to help maximise business opportunities and revenue growth.
Features of Laravel eCommerce Braintree payment Method
- The admin can enable/disable the module.
- Supports all types of major cards like Visa, Master Card, American Express, Discover etc.
- Provides payment directly to the admin account.
- Braintree is s PCI DSS Level 1 certified.
How to Install the module?
Customers will get a zip folder after purchasing the extension and Unzip the extension zip and then merge the “packages” folders into the project root directory.
Goto config/app.php file and add the following line under ‘providers’
Webkul\Braintree\Providers\BraintreeServiceProvider::class
Goto config.json file and add the following line under ‘psr-4‘
"Webkul\Braintree\": "packages/Webkul/Braintree/src"
Also, run these commands below to complete the setup.
composer dump-autoload
composer require braintree/braintree_php
php artisan route:cache
php artisan vendor:publish
-> Press 0 and then press enter to publish all assets and configurations.
Admin configuration for Laravel eCommerce Braintree Payment Method.
After the successful installation of the module, the admin will also have to configure the module.
Click on configure>>Sales>>Payments Method.
As the module is installed Admin can see the section of the Mollie Payment that contains several fields that need to be filled.
Enable for Checkout
From this field, the ad admin can select Yes or No from the dropdown.
Debug
The admin select between the Sandbox(Test mode) and Production(live mode) from the dropdown in this field.
Braintree Merchant ID
The admin needs to provide the merchant ID in this field that is generated after creating an account in The Braintree.
Braintree Public Key
The admin needs to provide the public key in this field after creating an account in the Braintree.
Braintree Private key
The admin needs to input the private key in this field.
How to generate the keys?
To generate the keys there is a need to create an account in the Braintree website and perform the following steps:-
After successfully creating an account either the Sandbox account or Production.
1:-Click on the gear icon the on the top right corner of the screen.
2:-Click API on the dropdown menu.
3:-Move to the API key section(where the public key is visible)
4:-Under the private key click on the view button
A page will generate where all the Public key, Private Key is visible.
How to generate the Merchant ID?
To generate the Merchant ID follow the below steps:-
1:-Click on the gear icon the on the top right corner of the screen.
2:-Click on the Business from the dropdown menu.
A page will generate including the Merchant ID as shown in the image below:-
Laravel eCommerce Braintree Payment Method:-Front end.
Once the module has been successfully installed and configured by the admin, The Braintree payment method is available for the customers for the purchase of their products.
The customer can now also select the Braintree payment method in the select payment method page as shown below:-
In the Order Summary page Customer can see the customers can also see the Mollie Payment that has been selected by the customer as a Payment Method used for the purchase as shown in the below image:-
Click on the Place Order button.
Within a few seconds, you will be redirected to the Braintree Payment website
On this page, the customer needs to provide the Card number and Expiration date of the card and click on the proceed to payment button.
That’s all now the customer can see that the order has been placed using the Braintree Payment Method.
Support
So, that was much about the User Guide of Laravel eCommerce Braintree Payment gateway for any queries or doubts reach out to us at [email protected]. You can also raise a ticket at our HelpDesk System.
Please explore our Laravel Development Services and Quality Bagisto Extensions.
Current Product Version - 1.2.0
Supported Framework Version - Bagisto v1.2.0
Be the first to comment.