Download the PHP package granada-pride/clickpaysa without Composer

On this page you can find all versions of the php package granada-pride/clickpaysa. 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 clickpaysa

[Github All Releases]()

Clickpaysa Payment Gateway Integration for Laravel

Table of Contents

  1. Description
  2. Installation
  3. Configuration
  4. Usage
    • Creating a PayPage
    • Querying Transactions
    • Capturing a Payment
    • Refunding a Payment
    • Voiding a Payment
  5. Troubleshooting
  6. Testing
  7. Contribution
  8. License

Description

The laravel-clickpaysa package provides an easy way to integrate the Clickpaysa payment gateway into your Laravel applications. This package adheres to SOLID principles and uses modern PHP practices, ensuring your code is maintainable, testable, and scalable.

Installation

You can install the package via composer:

Configuration

After installation, publish the configuration file using the following command:

This will create a config/clickpay.php file. Here is an example of what the configuration file might look like:

Environment Variables

Make sure to set the required environment variables in your .env file:

Usage

Creating a PayPage

Here's how to create a payment page using this package:

Querying Transactions

You can also query a transaction using its reference:

Capturing a Payment

The capturePayment method allows you to capture a previously authorized transaction. This is typically used when a payment is authorized at the time of order placement, but you only want to capture the funds when the goods are shipped.

Example:

Refunding a Payment

The refundPayment method is used to refund a previously completed transaction. This can be useful when a customer requests a refund for their order.

Example:

Voiding a Payment

The voidPayment method allows you to void a previously authorized or captured transaction. This is typically used when an order is canceled before it is fulfilled.

Example:

Troubleshooting

Common Issues

If you encounter other issues, refer to the Clickpay API Documentation for more details.

Testing

Soon...

Contribution

Contributions are welcome! If you’d like to contribute to this package, please follow these steps:

  1. Fork the repository.
  2. Create a new branch for your feature or bugfix.
  3. Write your code and ensure it is well-documented.
  4. Submit a pull request with a clear description of your changes.

License

This package is open-source software licensed under the MIT License. Please see the License File for more information.


All versions of clickpaysa 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 granada-pride/clickpaysa contains the following files

Loading the files please wait ....