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.

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.

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.

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.

Previous
Configuration
Code highlighting provided by Torchlight