Laravel Packages

A Laravel Package for the Quickpay API

Published
A Laravel Package for the Quickpay API image

The Quickpay package for Laravel, by Morten Bak, helps you quickly utilize the Quickpay API client using a fluent object and service Facade. Quickpay allows you to accept payments securely and reliably, and this package can help you interface with your user's data via the API:

use \Netbums\Quickpay\Facades\Quickpay;
 
// Get all payments
$payments = Quickpay::payments()->all();
 
// Get a single payment
$payment = Quickpay::payments()->find($paymentId);
 
// Create a payment link
$paymentLink = Quickpay::payments()->createLink(new PaymentLink(
id: $createdPayment['id'],
amount: 100
));
 
// Refund a payment
$payment = Quickpay::payments()->refund(
id: $paymentId,
amount: 100,
);

Main Features

  • Capture a payment
  • Refund a payment
  • Authorize a payment
  • Cancel a payment
  • Create a payment with a basket of items and a unique order ID
  • Create a payment link and redirect the user to it
  • Create a fraud report for a payment
  • A payment link with custom continue, cancel, and callback URIs

You can learn more about this package, get full installation instructions, and view the source code on GitHub at mortenebak/laravel-quickpay. You can learn more about the Quickpay API via the documentation and the quickpay-php-client Composer package.

Paul Redmond photo

Staff writer at Laravel News. Full stack web developer and author.

Sponsored

serpapi logo
SerpApi

The Web Search API for Your LLM and AI Applications

Visit SerpApi

The latest

View all →
Laravel Image Responses: Serve Resized Images From Routes image

Laravel Image Responses: Serve Resized Images From Routes

Read article
Pause All Laravel Queues During a Deploy image

Pause All Laravel Queues During a Deploy

Read article
Laravel Terminal UI for the artisan dev Command image

Laravel Terminal UI for the artisan dev Command

Read article
Pause All Queues and a New artisan dev UI in Laravel 13.25 image

Pause All Queues and a New artisan dev UI in Laravel 13.25

Read article
Laravel monitoring that doesn't bill you by your traffic image

Laravel monitoring that doesn't bill you by your traffic

Read article
Mock PHP Classes in Tests With the Double Library image

Mock PHP Classes in Tests With the Double Library

Read article