Stripe Payments

This guide provides detailed instructions for integrating Stripe into your SSK-Pro project. With Stripe, you can manage payments securely, and with optional affiliate marketing through Rewardful. Stripe is ideal for projects with high transaction volumes and custom affiliate needs.


Overview

The Stripe integration in SSK-Pro includes:

  • Payment Processing: Seamlessly handle payments and subscriptions through Stripe.

  • Optional Affiliate Marketing: Leverage Rewardful for affiliate marketing, ideal for scaling projects with high transaction volumes.

  • GitHub Integration: Automatically add customers as collaborators to your GitHub repositories after successful purchases.

  • Feature Flag Flexibility: Use environment-controlled feature flags to toggle Stripe and Rewardful as needed (incompatible with Lemon Squeezy).


Prerequisites

Before getting started, ensure the following:

  • Stripe Environment Variables: Obtain your STRIPE_SECRET_KEY and STRIPE_WEBHOOK_SECRET for secure payment processing.

  • Rewardful Environment Variable (optional): NEXT_PUBLIC_REWARDFUL_API_KEY if using Rewardful.

  • Environment Feature Flags:

    • FF_STRIPE="true" to enable Stripe (set to false if using Lemon Squeezy).

    • FF_REWARDFUL="true" to enable Rewardful with Stripe.(optional)


Getting Started

Follow these chapters to configure and integrate Stripe into your SSK-Pro project:


For additional information on Stripe’s webhook specifications, refer to their official documentation. This guide ensures that your Stripe integration in SSK-Pro is secure, customizable, and configured to work with feature flags, providing flexibility in managing your payment and affiliate solutions.

Last updated