Payment Providers

Stripe

PLEASE READ: Prerequisites
Conduit uses Stripe's Billing Portal for users to manage their subscriptions and payment methods. You will need to complete the set up process for enabling the Billing Portal.

Click here for instructions.

Once your Stripe account is set up, please follow Laravel Cashier's instructions for setting up your billable models and webhook middleware here.

Stripe Checkout

Conduit uses Stripe's hosted Checkout for handling payments and subscriptions. This means that you can easily create a checkout session and let your users complete their purchase with piece of mind. You can customize the look and payment options within your Stripe dashboard.

Webhooks and Events

Conduit uses Stripe's webhooks to listen for events such as successful payments, subscription cancellations, and more. Below is a full list of events that Conduit listens for and what actions are taken when they are received.

  • customer.updated = If a User does exist with the event's Stripe ID, Conduit will update that User. If not, Conduit will eiter update or create a Guest account with the Stripe Customer's email address.
  • charge.succeeded = Creates a new Transaction with all billing details.
  • checkout.session.completed = Creates a new Order and attaches the Stripe Checkout Session ID with the appropriate Transaction.
  • product.created and product.updated and product.deleted = Re-cached all Products.
  • price.created and price.updated and price.deleted = Re-cached all Prices.
Code highlighting provided by Torchlight