Download the PHP package shurjomukhi/shurjopay-plugin-php without Composer
On this page you can find all versions of the php package shurjomukhi/shurjopay-plugin-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download shurjomukhi/shurjopay-plugin-php
More information about shurjomukhi/shurjopay-plugin-php
Files in shurjomukhi/shurjopay-plugin-php
Package shurjopay-plugin-php
Short Description shurjoPay is a online payment gateway and easy payment solution
License MIT
Informations about the package shurjopay-plugin-php
PHP plugin package
[]()
Official shurjoPay PHP plugin for merchants or service providers to connect with shurjoPay Payment Gateway v2.1 developed and maintained by ShurjoMukhi Limited.
This plugin package can be used with any PHP application or framework (e.g. Laravel, Lumen, CodeIgniter, Symfony, CakePHP, Yii etc). Use this plugin in your CMS (Wordpress, Magento, Joomla, OpenCart, Drupal etc) projects or checkour our dedicated plugins for the renowned CMS. It makes it easy for developers to integrate with shurjoPay v2.1 with just three API calls:
- authenticate: Authenticate merchants and generate token
- makePayment: Create and send payment request
- verifyPayment: Verify payment status at shurjoPay
Also reduces many of the things that you had to do manually
- Handles http request and errors
- Log generation at your prefarable path
- Authentication during checkout and verification of payments
Audience
This document is intended for the developers and technical personnel of merchants and service providers who want to integrate the shurjoPay online payment gateway using PHP.
How to use this shurjoPay Plugin
To integrate the shurjoPay Payment Gateway in your PHP project do the following tasks sequentially.
Add the shurjopay-plugin-php as your project dependency.
Setup parameters for shurjopay plugin correctly in your application in a config file as shown below.
Note: Remember to use live credentials in config file before going in production.
Now, create instance of Shurjopay
with ShurjopayConfig
. To read the parameters from config or env file, you may use the ShurjopayEnvReader
.
Check out test class to view an example.
After that, initiate a payment request to shurjoPay using our plugin in your application. Below is a basic example code snippet.
Payment verification can be done after each transaction with shurjopay order id.
Check our documentation on verify for more details.
References
- PHP sample project showing usage of the PHP plugin.
- Laravel sample project using PHP plugin to get your feet wet with shurjopay.
- OpenCart plugin
- OpenCart sample project
- Sample applications and projects in many different languages and frameworks showing shurjopay integration.
- shurjoPay Postman site illustrating the request and response flow using the sandbox system.
- shurjopay Plugins home page on github
License
This code is under the MIT open source License.
Please contact with shurjoPay team for more detail.
Copyright ©️2023 ShurjoMukhi Limited.