Laravel eCommerce CashU Payment Gateway
CashU payment is one of the popularly used payment methods in MENA countries and also in North Africa.
With the help of the Laravel eCommerce CashU payment gateway, the admin can integrate CashU payment with the Bagisto eCommerce store and customers can also select CashU payment method for the purchase of products.
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\CashU\Providers\CashUServiceProvider::class
Goto composer.json file and add the following line under ‘psr-4’
"Webkul\CashU\": "packages/Webkul/CashU/src"
Now goto VerifyCsrfToken.php file and add following line in protected $except array (FilePath – app>>Http>>Middleware>>VerifyCsrfToken.php)
'cashu/callback', 'cashu/cancel'
Run these commands below to complete the setup
composer dump-autoload
Admin Configuration For Laravel ECommerce CASHU Payment Gateway
After the successful installation of the module, the admin will also have to configure the module.
Click on configure>>Sales>>Payments Method, Under the CashU payment section, several fields required to be filled.
Title:-Admin can set the title in this field that will be visible in the Front end.
Description:- Admin can provide the description in this field that will be visible on the checkout page.
Status:- Admin can Active or Disactive the module from here.
Merchant Id:- Admin has to provide the login Id here for the CashU.com.
Encryption Keyword:- Admin need to provide the password here for the CashU.com.
Display text:- This will be visible in the CashU payment page.
Transaction Mode:- Admin can also set the transaction mode between test and live in this field.
Encryption:- Admin can also set the encryption between Enhanced and Default in this field.
Sort order:- Admin can set the sort order here for the CashU payment that will be visible in the front end.
Laravel eCommerce CashU payment gateway-Front end
Now the customers can select the CashU Payment method that is visible under the Select Payment Method.
After selecting the CashU payment a page will generate that will show the message like shown below:-
Thus the buyer will be redirected to CashU payment page. A secure window will be displayed asking the buyer to enter his CashU account details and to enter the captcha code.
Click on the Pay button.
That’s all now the customer can see that the order has been placed using CashU Payment Method.
Support
So, that was much about the User Guide of Laravel eCommerce CashU 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.