Download the PHP package loveycom/cashfree without Composer
On this page you can find all versions of the php package loveycom/cashfree. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download loveycom/cashfree
More information about loveycom/cashfree
Files in loveycom/cashfree
Package cashfree
Short Description A package for CashFree Payment Gateway.
License MIT
Informations about the package cashfree
CashFree Payment Gateway Laravel Package
An open source package by kayusgold for CashFree, an Indian payment gateway.
Documentation
CashFree offers their clients many services to make transactions between sender and receiver seemlessly easy. However, this package focuses mainly on MarketPlace Settlement API and Payment Gateway API. Visit here for MarketPlace Settlement API documentation and here for Payment Gateway API documentation.
Using the package, but you're stuck? Found a bug? Have a question or suggestion for improving this package? Feel free to create an issue on GitHub, we'll try to address it as soon as possible.
Requirements
- PHP >= 7.0.*
- Laravel >= 5.6.*
Installation
-
To use LoveyCom CashFree package, add it to your project using composer:
-
Open Config/app.php and add the following to the providers array:
-
Run the command below to publish the package config file config/cashfree.php:
- Open config/cashfree.php to edit neccessary parameters such as API Key ID and Secret Key.
Do not forget to dump composer autoload
USAGE
- Edit the cashfree.php already published to your app config. Location:
- Fill all the required details
- The cashfree api wrapper follows the cashfree payment gateway categories (Marketplace & PaymentGateway) - read more from their docummentation
-
Under the Marketplace category, this wrapper provides you with the following classes and methods
-
Marketplace
- -- endpoint /getBalance
- -- endpoint /ces/v1/requestWithdrawal
-
-- endpoint /ces/v1/getLedger?maxReturn=$maxReturn
-
Settlement
-
-- endpoint /ces/v1/getOrderSettlementStatus/$orderId
-
Transaction
- -- endpoint /ces/v1/importTransaction
- -- endpoint /ces/v1/getTransactions or /ces/v1/getTransaction/$orderId
- -- endpoint /ces/v1/attachVendor
-
-- endpoint /ces/v1/detachVendor
-
Vendor
- -- endpoints /ces/v1/editVendor/$vendorId (Update Vendor Details) | /ces/v1/addVendor (Create Vendor)
- -- endpoints -- endpoints /ces/v1/getVendor/$vendorId | /ces/v1/getVendors
- -- endpoint /ces/v1/getVendor/$vendorId
- -- endpoint /ces/v1/adjustVendor
- -- endpoint /ces/v1/requestVendorPayout
- -- endpoint /ces/v1/getVendorLedger/$vendorId?maxReturn=$maxReturn
- -- endpoint /ces/v1/getVendorTransfer/...
- -- endpoint /transferVendorBalance
-
-
The PaymentGateway has the following classes and methods
-
Order
- -- endpoint /api/v1/order/create
- -- endpoint /api/v1/order/info/link
- -- endpoint /api/v1/order/info/
-
-- endpoint /api/v1/order/info/status
-
Refund
- -- endpoint /api/v1/order/refund
- -- endpoint /api/v1/order/refund
-
-- endpoint /api/v1/refunds
-
Settlement
- -- endpoint /api/v1/settlements
-
-- endpoint /api/v1/settlement
-
Transaction
- -- endpoint /api/v1/transactions
-
-
USAGE EXAMPLE
- To use the Order class of the PaymentGateway Category,
Contributing
Thank you for your interest, here are some of the many ways to contribute.
- Check out our contributing guide
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
License
This software is released under the MIT License.