# Payments Integration

When it comes to getting paid, **SSK-Pro** gives you two awesome choices: **Stripe** for total control and scalability, or **Lemon Squeezy** for simplicity and ease. Whatever your business model, we’ve got you covered.

***

## **Which Payment Solution is Right for You?**

### **💳 Stripe + Rewardful - When You’re Ready to Scale**

If you’re racking up sales, **Stripe** paired with **Rewardful** keeps costs predictable:

* **Flat Monthly Fee**: As your sales volume grows, you’ll save big with predictable costs.
* **Custom Everything**: Design checkout flows and payment experiences exactly the way you want.
* **Global Reach**: Accept payments worldwide, no sweat.

### **🍋 Lemon Squeezy - No Monthly Fees, Just Simple Payments**

**Lemon Squeezy** is all about easy, breezy payment management:

* **Percentage-Based Fees**: No monthly costs. Pay a small percentage on each sale—ideal for startups and lean teams.
* **Fast Setup**: Get started in no time. Manage payments and affiliates all in one spot.
* **Perfect for Startups**: Keep upfront costs low and focus on building your dream.

### **Why We Offer Both**:

* **Flexibility Matters**: Lemon Squeezy is great for keeping costs low when you’re just starting, while **Stripe + Rewardful** shines when you’re scaling big.
* **Avoid Mixing & Matching**: Combining both solutions can increase costs and complexity. Pick the one that works best for your stage of growth.

***

## **Configuring Your Environment Variables**

### **Stripe Configuration**:

```bash
STRIPE_SECRET_KEY="your-stripe-secret-key"
STRIPE_WEBHOOK_SECRET="your-stripe-webhook-secret"
NEXT_PUBLIC_PRIMARY_CTA_STRIPE="" # Optional: Primary call-to-action URL for Stripe
NEXT_PUBLIC_SECONDARY_CTA_STRIPE="" # Optional: Secondary call-to-action URL for Stripe
```

**Webhook Secret**: Secures communication for important payment notifications.

### **Lemon Squeezy Configuration**:

```bash
NEXT_PUBLIC_PRIMARY_CTA_LEMON="#" # Optional: Primary call-to-action URL for Lemon Squeezy
NEXT_PUBLIC_SECONDARY_CTA_LEMON="#" # Optional: Secondary call-to-action URL for Lemon Squeezy
NEXT_PUBLIC_LEMON_STORE="ssk" # Your Lemon Squeezy store identifier
LEMONSQUEEZY_WEBHOOK_SECRET="your-lemon-webhook-secret"
```

**Webhook Secret**: Ensures secure handling of purchase and subscription notifications.

***

## **Get the Most Out of Your Payments Setup**:

* **Keep It Secure**: Protect your API keys at all times.
* **Test Extensively**: Make sure everything works perfectly in sandbox/test mode before you go live.
* **Grow Your Way**: Select the solution that fits your needs and adapt as your business scales.
