# 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.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.startupstarterkits.com/ssk-pro-features/payments.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
