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.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package cashfree

CashFree Payment Gateway Laravel Package

Issues Stars Forks License

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

  1. PHP >= 7.0.*
  2. Laravel >= 5.6.*

Installation

  1. To use LoveyCom CashFree package, add it to your project using composer:

  2. Open Config/app.php and add the following to the providers array:

  3. Run the command below to publish the package config file config/cashfree.php:

  4. Open config/cashfree.php to edit neccessary parameters such as API Key ID and Secret Key.

Do not forget to dump composer autoload

USAGE

  1. Edit the cashfree.php already published to your app config. Location:
    • Fill all the required details
  2. The cashfree api wrapper follows the cashfree payment gateway categories (Marketplace & PaymentGateway) - read more from their docummentation
  3. 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
  4. 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
  5. 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.

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.


All versions of cashfree with dependencies

PHP Build Version
Package Version
No informations.
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package loveycom/cashfree contains the following files

Loading the files please wait ....