Download the PHP package basit/laravel-fastpay-integration without Composer

On this page you can find all versions of the php package basit/laravel-fastpay-integration. 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 laravel-fastpay-integration

Laravel Fastpay Integration Package

This package provides integration with Fastpay, allowing you to initiate payments, validate payments, process refunds, and validate refunds in your Laravel application.

Translations

We have provided translations of this README in different languages:

Please note that these translations were done using Google Translate and may not be 100% accurate. If you find any inaccuracies or have suggestions for improvement, feel free to let us know. Your feedback is valuable to us!

Installation

You can install the package via composer:

Publish the config file with:

After installing the package, make sure to add the following environment variables to your .env file:

Note: Ensure to set the FASTPAY_ENVIRONMENT variable in your .env file to either "staging" or "production" based on your requirements.

Usage

1. Initiate Payment

Success Response

Payment Notification Validation (IPN URL)

Fastpay sends a POST request to your IPN URL with payment information before redirecting the user back to your website. This IPN notification is essential for validating the transaction and preventing fraudulent payments. Your IPN URL should be set up to handle these payment notifications and perform validation based on the received data.

When Fastpay sends an IPN notification to your IPN URL, the POST request will include the following data:

You should use this information to validate the payment and ensure the transaction is genuine and accurate.

2. Validate Payment

Success Response

3. Process Refund

Success Response

4. Validate Refund

Success Response

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Feel free to contribute to this project

Found an Issue or Bug?

If you encounter any issues, bugs, or have questions about this package, we encourage you to report them on our GitHub Issues page. Please check if the issue has already been reported before creating a new one. When reporting an issue, provide as much detail as possible, including the steps to reproduce it, the expected behavior, and the actual behavior.

We value your feedback, and we'll do our best to address and resolve the issues in a timely manner. Your contributions are essential to improving this package for everyone.

Credits

License

The MIT License (MIT). Please see License File for more information.


All versions of laravel-fastpay-integration with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
illuminate/support Version ^10.16
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 basit/laravel-fastpay-integration contains the following files

Loading the files please wait ....