Download the PHP package xenon/nagad-api without Composer
On this page you can find all versions of the php package xenon/nagad-api. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download xenon/nagad-api
More information about xenon/nagad-api
Files in xenon/nagad-api
Package nagad-api
Short Description This is Bangladeshi nagad payment gateway api development library for php. This library can be used easily as pacakge dependency in your php application.
License MIT
Homepage https://github.com/arif98741/nagadApi
Informations about the package nagad-api
Xenon/NagadApi
Features
- Easy Installation
- Easy Payment Processing
- Composer based installation
- Verify Payment
- Demo Invoice Code Generate
Install Using Composer
Example Code
Method-1 : Use for website
Method-2 : Return Redirection url . You can use this according to need
After that use below method for extracting payment response that will return an array
For payment verification use below method. You will then get below json as response.
Payment Verification Response
Maintainer
Contributors
Important Information:
Sandbox Environment
- Need sandbox details for sandbox testing. Check your email that you have got from nagad authority
- Use sandbox details such as pgpublickey, privatekey, merchant-id for sandbox testing
- You need to register a mobile number for sandbox testing. Contact with your account manager for doing this
- You should test environment before going to live
Live Environment
- Need production details for production final. You will get through email
- Your server ip/domain and callback url should be whitelisted before running in production. You can contact with nagad team using mail or other system
Login to your Nagad Merchant Panel
https://auth.mynagad.com:10900/authentication-service-provider-1.0/login
Step 1: In the Merchant Portal, Go to Merchant Integration Details under Merchant Management Menu. You will get the Merchant ID which is your Merchant ID for Integration.
Then, Click on “Key Generate” and Download the Merchant Private Key and Merchant Public Key.
Step 2: __Go to Merchant Integration under Merchant Management Menu. Put your Call Back URL and Upload the Merchant Public Key which you have downloaded in Step 1. Add and Submit!__
Step 3: __Usage Production Details . You have to use public key and private key that you have downloaded!__
- If you have any question/query then email me [email protected]
- Do Code, Be Crazy
If you find any kind of issue or bug you are highly encouraged to report. For reporting use issues option
For can also add pull request. For pull request you should use dev branch. Because our master branch is serving at this moment for usage around community. We dont want to messup
License
All versions of nagad-api with dependencies
ext-curl Version *
ext-json Version *
nesbot/carbon Version ^2.59
ext-openssl Version *