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

Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge. Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge.
Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Shirts painstakingly handcrafted by under-caffeinated developers. Shirts painstakingly handcrafted by under-caffeinated developers.
Community Partners