Leveraging Stripe to Accept Donations for Nonprofits, Manage Subscriptions for a Startup, and Handle Payouts to Stock Photography Artists

Leveraging Stripe to Accept Donations for Nonprofits, Manage Subscriptions for a Startup, and Handle Payouts to Stock Photography Artists

Collecting payments can get complicated in a heartbeat, but Stripe provides several tools that can be leveraged in Drupal to handle a variety of situations.

In this session we will explore three different scenarios, and discuss our techniques for integrating Stripe into Drupal 8.

Scenario 1: Accepting Recurring Donations for Nonprofits

Non-Profit donation forms are notoriously ugly, and complicated. Using Drupal's form API, and Stripe's payment API and Webhooks, we'll show how to build a custom payment form that sends payment information directly to Stripe for processing. Once the payment is confirmed, Stripe's Webhook sends the data back to the website for data collection in a CRM, or wherever its final destination may be. Stripe's subscription tools make it easy to set up recurring donations.

Scenario 2: Manage Subscriptions For a Startup

Boardspot.com is a startup that provides board governance tools for nonprofits. As a self-serve subscription service, BoardSpot tracks an organization's subscription through Stripe's subscription tools. This subscription is then used to authenticate the organization's staff and board members.

Scenario 3: Handle Payouts to Stock Photography Artists

While this scenario is by far the most complex, Stripe Connect takes care of most of the heavy lifting. When someone purchases photographs from a stock photography websites, their payment is processed, and then split amongst the artists whose photographs were purchased, and the site itself, which takes a percentage cut. Drupal Commerce handles the purchasing. The Stripe Connect API handles the photographer onboarding and distribution of funds.