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

laravelcloud logo
Laravel Cloud

Easily create and manage your servers and deploy your Laravel applications in seconds.

Visit Laravel Cloud

The latest

View all →
CPX: The Composer Package Executor for PHP image

CPX: The Composer Package Executor for PHP

Read article
Laravel AI SDK Adds Human-in-the-Loop Tool Approval image

Laravel AI SDK Adds Human-in-the-Loop Tool Approval

Read article
Pest 5 Released With Test Impact Analysis, Agent Verification, and Evals image

Pest 5 Released With Test Impact Analysis, Agent Verification, and Evals

Read article
Queue-SQL: Run Mass Deletes and Updates Across Parallel Queue Jobs image

Queue-SQL: Run Mass Deletes and Updates Across Parallel Queue Jobs

Read article
Blade Formatting in Laravel Pint image

Blade Formatting in Laravel Pint

Read article
Inertia DevTools Is Now on the Chrome Web Store image

Inertia DevTools Is Now on the Chrome Web Store

Read article