Category: Laravel, PHP, api

Laravel Spark comes with a Stripe integration for processing subscription payments via Credit Card.This is a quick guide for configuring Stripe and Spark to work together.The official documentation is here https://spark.laravel.com/docs/10.0/billing In your Stripe Dashboard you should see a link that says ‘Get your test API keys’. If not, use the ‘Developer’ menu item on the left side, then select ‘API keys’.

Copy your test API keys somewhere safe, to be added to your Spark configuration.

Under ‘Events to send’ add the following 6 events, one at a time: We need to configure a Product in Stripe for each available subscription plan you intend to offer in your Spark application.
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future. Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future.
Community Partners