Getting Started
Local Development
Once your Payment Provider account is set up and your API keys are in your .env
file, you can start
developing locally.
Conduit will automatically pick up and sync your Products and Prices from your Payment Provider account and cache them locally. This means you can develop locally without needing to make hundreds of API requests to your Payment Provider. This is achieved using an open-source package called Remote Models.
Stripe & Paddle
The following is intended for SaaS applications using Stripe or Paddle as their Payment Provider. Scroll down for Lemon Squeezy.
Laravel Cashier
Conduit is built upon Laravel Cashier, Stripe or Paddle, which is a powerful package that allows you to easily manage your subscriptions and billing.
It is highly recommended that you read the Laravel Cashier documentation for your Payment Provider before proceeding.
Any standard Laravel Cashier methods will work as expected. You can create subscriptions, update payment methods, cancel subscriptions, and more, just like you would with a standard Laravel Cashier implementation.
Testing Webhooks
Build your great SaaS application like you normally would, and when you're ready to test your checkout flow, you can either set up an Ngrok tunnel to your local environment and point your Payment Provider's webhook to it, or you can install and use a webhook tester tool like Stripe Tester or Paddle Tester.
Lemon Squeezy
Conduit is built upon Lemon Squeezy's official Laravel package, which is built to work very similar to Laravel Cashier. This means you can easily manage your subscriptions and billing with Lemon Squeezy like you would with Stripe or Paddle.
Testing Webhooks
Lemon Squeezy offers a way to resend webhooks from the dashboard. This is a great way to test your webhook endpoints, but you will need to set up a Ngrok tunnel to your local environment to receive the webhooks.