Stripe Payment Link by Andréia Bohner
CommunityAction to generate a Stripe Payment Link.
Author:
Andréia Bohner
Package health
Automated checks of this plugin's Composer package
15 checks
- Failed: GitHub Actions pinned to SHA — View details on Plumb
- Skipped: GitLab CI includes pinned to SHA
- Passed: Open security advisories
- Failed: Dependabot PR responsiveness — Stale Dependabot PRs: oldest general PR is 365 days old. View details on Plumb
- Skipped: Renovate MR responsiveness
- Passed: Dependabot or Renovate configured
-
Failed:
Dependency update cooldown configured
—
No cooldown configured in
.github/dependabot.yml. View details on Plumb - Passed: Provides a security policy
- Passed: Abandoned or archived — No consulted source marks the package abandoned (packagist, github).
- Warning: Commit and release recency — Low activity: last commit 274 days ago; last release 640 days ago.
-
Passed:
composer.lock not committed by library
—
composer.lockis absent from the released dist archive. - Passed: Dist archive is lean
-
Passed:
Current Laravel version supported
—
Package dependencies resolve together with current Laravel
13.0. -
Passed:
Current PHP version supported
—
Constraint
^8.1supports current PHP8.5. - Skipped: Current Symfony version supported
filament/
namespace. Review the source and install at your own risk. Found
malware or an unresolved security issue the author won't
address?
Report it
.
Documentation
- Installation
- Requirements
- Setup
- Usage
- Testing
- Changelog
- Contributing
- Security Vulnerabilities
- Credits
- License
Provides an action to generate a Stripe payment link.
#Installation
You can install the package via composer:
composer require andreia/filament-stripe-payment-link
You can publish the config using:
php artisan vendor:publish --tag="filament-stripe-payment-link-config"
or run the install command:
php artisan andreia/filament-stripe-payment-link:install
This is the contents of the published config file:
return [
'action' => [
'icon' => 'heroicon-m-link',
'requires-confirmation' => false,
],
'payment-link-key-location' => 'services.stripe.payment-link-key',
];
#Requirements
#Setup
#Stripe
On Stripe dashboard, create a restricted API key:
- Add a descriptive name for your key on "Key name" field
- Add
writepermission toProducts,Prices, andPayment Links - Click on "Create key" button

On the redirected page, in "Restricted keys" section, locate the name of your key. Click to reveal the secret key and copy it. It will be used to connect to Stripe.
#Laravel Project
In your Laravel application, add the following on your config/services.php file:
'stripe' => [
'payment-link-key' => env('STRIPE_PAYMENT_LINK_KEY')
],
And on your .env file, add the secret key generated on Stripe dashboard:
STRIPE_PAYMENT_LINK_KEY="your key here"
#Usage
Add the Stripe payment link action to a Filament form input field:
use Andreia\FilamentStripePaymentLink\GenerateStripeLinkAction;
public static function form(Form $form): Form
{
return $form
->schema([
TextInput::make('stripe_payment_link')
->required()
->suffixAction(GenerateStripeLinkAction::make('stripe_payment_link')),
]);
}
This is how the action will look like:

When the user clicks on the link icon, a modal will be shown with the product name, amount, and currency fields:

After filling the form data and submitting, the payment link will be added to the form field:

#Testing
composer test
#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.
The author
Andréia is a full-stack web developer and an enthusiastic open-source contributor & maintainer. She loves coding, reading, and learning new things every day! You can learn more about Andréia on her GitHub profile.
From the same author
Recurrence
Complete recurring patterns support to your app — beautiful UI components, RFC 5545-compliant rules, and Eloquent integration out of the box.
Author:
Andréia Bohner
Business Hours
Manage your business hours, bookings, and more with a feature-rich field that supports multiple time slots per day, recurring and date-based exceptions, and timezone-aware logic. Fully integrated with Spatie's Opening Hours for easy querying.
Author:
Andréia Bohner
Nord theme
Dark and light arctic Nord theme.
Author:
Andréia Bohner
UI Switcher
Add instant UI customization to your Filament panels. Users can switch between color scheme, select their favorite font, adjust text size, and toggle between the available Filament layouts from a settings icon.
Author:
Andréia Bohner
Featured Plugins
A selection of plugins curated by the Filament team
Noir Theme
A theme that gives panels a focused, refined look with near-black surfaces, crisp actions, and restrained color.
Filament
Advanced Tables (formerly Filter Sets)
Supercharge your tables with powerful features like user-customizable views, quick filters, multi-column sorting, advanced table searching, convenient view management, and more. Compatible with Resource Panel Tables, Relation Managers, Table Widgets, and Table Builder!
Kenneth Sese
Soft Theme
A theme that gives panels a warm, approachable look with rounded shapes, gentle colors, and serif headings.
Filament