Download the PHP package netbums/laravel-quickpay without Composer

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

A fluent api around the quickpay api for Laravel applications

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

This laravel package will help you utilize the Quickpay API Client, without knowing too much about the endpoints. It provides a fluent api for using the API. See examples below.

Support me

Consider supporting me by sponsoring my work

Installation

  1. You can install the package via composer:

//: # () //: # ()

//: # () //: # ()

  1. Publish the config file with:

Search for "quickpay", and publish both the config and Netbums\Quickpay\QuickpayServiceProvider

This is the contents of the published config file:

  1. Add the environment variables to your .env file:

And alternatively, you can add the following environment variables to your .env file instead of the QUICKPAY_API_KEY:


Usage

Payments

Get all payments

Get a payment

Getting a single payment by id

Create a payment

First create a basket with items, and then create a payment with the basket and a unique order id.

After a payment is created you can create a payment link for it, and redirect the user to the payment link.

Create a payment link

This will return a URL, that you can redirect the user to.

Update a payment

Capture a payment

Capture a payment. This will capture the amount of the payment specified.

Refund a payment

Refund a payment. This will refund the amount of the payment specified.

Authorize a payment

Authorize a payment. This will reserve the amount on the card, but not capture it.

Renew authorization of a payment

Renew the authorization of a payment. This will reserve the amount on the card, but not capture it.

Cancel a payment

Cancel a payment. This will cancel the payment, and release the reserved amount on the card.

Create a payment link

Create a payment link for a payment. Optional parameters are: language, continue_url, cancel_url, callback_url:

Create a payment session

Create Fraud Report

Create a fraud report for a payment. Optional parameters are: description:

Subscriptions

The Quickpay::subscriptions() facade provides a fluent API for interacting with Quickpay Subscription endpoints.

Get all subscriptions

Get a subscription

Get a single subscription by id.

Create a subscription link

Create a payment link for a subscription. Requires a SubscriptionLink DataObject.

Delete a subscription payment link

Delete the payment link for a subscription.

Create a subscription

Create a new subscription. Requires a Subscription DataObject.

Update a subscription

Update a subscription. Requires the subscription ID and an array of data.

Authorize a subscription

Authorize a subscription.

Cancel a subscription

Cancel a subscription.

Create a recurring payment

Create a recurring payment for a subscription.

Create a fraud report

Create a fraud report for a subscription.

Get subscription payments

Get payments associated with a subscription.

Exception Handling

Dedicated exception classes are provided for handling errors during subscription operations. These include:

You should wrap your Quickpay subscription calls in try-catch blocks to handle these specific exceptions.

Changelog

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

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

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


All versions of laravel-quickpay with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
illuminate/contracts Version ^v12.0.1
quickpay/quickpay-php-client Version ^2.0
spatie/laravel-package-tools Version ^1.14.0
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 netbums/laravel-quickpay contains the following files

Loading the files please wait ....