StripeSetupGuide

Stripe Integration Setup

Complete guide to configure Stripe payments for GuardSOC

Step 1: Get Your Stripe API Keys

Action Required:

  1. Go to Stripe API Keys Dashboard
  2. Log in or create a Stripe account (free)
  3. Find your Publishable key (starts with pk_test_)
  4. Click "Reveal test key" to see your Secret key (starts with sk_test_)
  5. Copy both keys

Example Publishable Key:

pk_test_51ABcDeFgHiJkLmNoPqRsTuVwXyZ123456789

Example Secret Key:

sk_test_51ABcDeFgHiJkLmNoPqRsTuVwXyZ123456789
Step 2: Configure Stripe Webhook

Action Required:

  1. Go to Stripe Webhooks Dashboard
  2. Click "+ Add endpoint"
  3. Enter the Endpoint URL below
  4. Select events to listen to (see list below)
  5. Click "Add endpoint"
  6. Copy the Signing secret (starts with whsec_)

Your Webhook Endpoint URL:

https://aiguardsoc.com/api/functions/stripeWebhook

Select these events in Stripe:

customer.subscription.created
customer.subscription.updated
customer.subscription.deleted
invoice.payment_succeeded
invoice.payment_failed
customer.subscription.trial_will_end
checkout.session.completed

Example Webhook Signing Secret:

whsec_ABcDeFgHiJkLmNoPqRsTuVwXyZ123456789
Step 3: Add Secrets to Base44 Dashboard

Action Required:

  1. Go to Base44 Dashboard → Your App → Code → Secrets
  2. Add the following three secrets:
STRIPE_SECRET_KEYRequired

Your Stripe Secret Key (sk_test_...)

STRIPE_PUBLISHABLE_KEYRequired

Your Stripe Publishable Key (pk_test_...)

STRIPE_WEBHOOK_SECRETRequired

Your Stripe Webhook Signing Secret (whsec_...)

Step 4: Test Your Integration
  1. Go to Testing Dashboard in the admin menu
  2. Create a test tenant via Onboarding
  3. Run the test suite to verify license generation and validation
  4. Test a payment using Stripe test card: 4242 4242 4242 4242
  5. Verify webhook is receiving events in Stripe Dashboard

Stripe Test Cards:

  • ✓ Success: 4242 4242 4242 4242
  • ✗ Declined: 4000 0000 0000 0002
  • ⚠ Insufficient Funds: 4000 0000 0000 9995

Use any future expiry date and any 3-digit CVC

📋 Quick Reference

Support:

  • 📧 Email: support@aiguardsoc.com
  • 💬 Slack: #guardsoc-support
  • 📚 Docs: /documentation

Nettulztech Corp.™

Proprietary Technology | All Rights Reserved

© 2026 Nettulztech Corp.

Cookie Notice

We use cookies to enhance your experience, analyze site traffic, and personalize content. By clicking "Accept", you consent to our use of cookies. Learn more