Getting Started

Local Development

Prerequisites: Stripe
Make sure you have completed all necessary steps to set up your Stripe account (both Live and "Test Mode").
Prerequisites: Paddle
Make sure you have completed all necessary steps to set up your production and sandbox Paddle accounts.
Prerequisites: Lemon Squeezy
Make sure you have completed all necessary steps to set up and approve your Lemon Squeezy accounts.

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.

Please Note

It is highly recommended that you read the Laravel Cashier documentation for your Payment Provider before proceeding.


Laravel Cashier: Stripe | Laravel Cashier: Paddle

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.

Previous
Configuration
Code highlighting provided by Torchlight