Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Laravel Paystack

Laravel Paystack Laravel Package

unicodeveloper/laravel-paystack

A Laravel package for integrating Paystack payments with minimal setup. Accept payments, verify transactions, and manage customers and subscriptions through a clean, expressive API. Supports recurring billing and webhooks.

View on GitHub
Deep Wiki
Context7

:credit_card: :package: :moneybag: Laravel 6, 7, 8, 9, 10 and 11 Package for Paystack

Frequently asked questions about Laravel Paystack
How do I install unicodeveloper/laravel-paystack in a Laravel app?
Install it with Composer using composer require unicodeveloper/laravel-paystack. Then follow the README to publish configuration and register the service provider or facade alias for your Laravel version. Keep the installation on a branch and run your test suite before deploying.
Which Laravel and PHP versions does laravel-paystack support?
The package advertises support for Laravel 6, 7, 8, 9, 10, and 11. The provided context does not list exact PHP version constraints, so check the package composer.json before upgrading. Laravel 11 itself requires PHP 8.2 or newer, so confirm that in your environment.
How do I configure Paystack API keys in Laravel?
Store your Paystack public and secret keys in environment variables and reference them from Laravel config. Keep the secret key server-side only, never in frontend JavaScript or committed files. Use sandbox credentials for development and production keys with appropriate access controls in live environments.
How do I accept a payment with laravel-paystack?
Initialize a transaction through the package's transaction API and redirect the customer to the returned Paystack authorization URL. On callback, verify the transaction server-side before marking an order as paid. Keep payment initiation inside an internal payment service rather than calling the facade from many controllers.
How do I verify a Paystack transaction in Laravel?
Use the transaction reference from the callback and call the package's verification method on the server. Confirm the status, amount, currency, and customer details match your order before fulfillment. Never trust a client-side success message alone.
Does laravel-paystack support webhooks?
The package is described as supporting webhooks, but your application still needs a secure endpoint that validates Paystack signatures and handles events idempotently. Queue webhook processing where possible and monitor delivery failures. Review the package's webhook code and test coverage before depending on it for payment state.
Can I manage customers and subscriptions with laravel-paystack?
Yes, the package description includes customer management, subscriptions, and recurring billing through Paystack. If you are upgrading, validate the createCustomer() data parameter and any payload assumptions against existing call sites. Test plan codes, authorization reuse, and cancellation flows in the Paystack sandbox.
How do I list banks or confirm a bank account with laravel-paystack?
Release 1.2.0 adds List Banks and Account Confirmation features for common payout and onboarding flows. Use them to fetch bank data and confirm account details before initiating transfers. Check the package source or README for exact method names and response shapes, and add tests around these calls.
Is laravel-paystack safe for production payments?
Treat it as a payment-critical dependency with an external Paystack API behind it. Implement idempotency, retries with care, webhook monitoring, reconciliation, and alerting around duplicate charges or timeouts. Pin versions, protect credentials, run sandbox smoke tests, and canary production deployments.
Is unicodeveloper/laravel-paystack actively maintained, and what alternatives exist?
Release 1.2.0 indicates active feature work, but the package is community-contributed, so review maintainer responsiveness, security handling, and release cadence. Alternatives include Paystack's official SDKs, direct HTTP calls through Laravel's HTTP client, or another maintained Laravel wrapper. Compare test coverage, webhook support, Laravel version compatibility, and operational fit before choosing.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
pharaonic/laravel-notification-dependencies
beautinow/translug
dev-brainiac/bot-cloaked
octoberrain/html
octoberrain/extension
octoberrain/exception
octoberrain/contracts
frankyso/ipaymu
3mdikram/worldmoneywords
snowsoft/config
itmosoft/laravel-subscriptions
larva/laravel-ai-qwen
adachsoft/api-version-bundle
cgv/localized-resource
noith/settings
kda/laravel-package
kda/filament-dynamic-navigation
bypersoft/signbox
pairus/product-data
fayne/laravel-filament-cms-core