Laravel
The NTT DATA Payment Services India plugin for Laravel is a powerful and secure solution designed to integrate seamless payment processing capabilities into your Laravel applications. This plugin simplifies the process of managing online transactions, ensuring a smooth and efficient payment experience for your users.
Key Features:
- Easy Integration: Quickly integrate the plugin into your Laravel project with minimal configuration.
- Secure Transactions: Benefit from advanced encryption and security protocols to protect your transactions.
- Comprehensive Documentation: Access detailed guides and documentation to help you set up and customize the plugin according to your needs.
- Support for Multiple Payment Methods: Accept payments through various methods, including credit/debit cards, net banking, and more.
What are the Prerequisites?
- PHP 7.3 to 8.4
- UAT MID and keys will be provided by the NTT DATA Payment Services India.
How to Install?
Refer to the code from
Http/Controllersto create the payment request and handle the response section.Add the
cacert.pemfile to the controller folder itself.Call the createTokenId function to get the AtomtokenId.
Replace the necessary data in the index function(payurl, amount, login, password, productid, returnurl etc.)
In the views folder in
atompay.blade.phpwe call openPay() which will open the payment page.Configure the
atomcheckout.jsin accordance with UAT and Production environments. Also, change all necessary information.To avoid the CSRF token issue, add
/responsetoHttp/Middleware/VerifyCsrfToken.php.
Download Sample
Download latest laravel sample code from GitHub.