View Categories

Stripe Setup

If you’d like to accept credit card payments for your digital products, courses, or memberships, Stripe is a secure and reliable solution, and Smart Creator Press (SCP) makes it easy to integrate.

Follow this step-by-step guide to connect Stripe to SCP, enter your API keys, configure webhooks, and test everything to make sure it’s working smoothly.

☑️ Step 1: Log in to Your Stripe Account

  1. Go to https://dashboard.stripe.com/
  2. Log in using your Stripe credentials

☑️ Step 2: Get Your Stripe API Keys (Test & Live)


To connect Stripe to SCP, you need 4 keys total:

✔ Test Publishable Key ✔ Test Secret Key ✔ Live Publishable Key ✔ Live Secret Key

Here’s how to get all of them.

Get Your TEST Keys First

  1. Log into your Stripe Dashboard
  2. Look at the top-right corner. Make sure Test Mode is ON (the toggle should be switched so you see “Test mode” highlighted)
  3. Go to Developers → API Keys
  4. Your Test Publishable Key is right there on the screen. Copy it and save it somewhere safe
  5. Now click “Create secret key”
  6. Stripe asks: “How will you use this API key?” Select “Building your own integration” (because you’re connecting Stripe to your own site via SCP)
  7. Click Create
  8. Your Test Secret Key appears once. Copy it immediately. Stripe will NOT show it again ⚠️

Now Get Your LIVE Keys

Copy your Live Secret Key immediately. Again, Stripe won’t show it twice ⚠️

Go back to the top-right corner and toggle Test Mode OFF. You’re now in Live Mode

Stay on Developers → API Keys

Your Live Publishable Key is on the screen. Copy it

Click “Create secret key” again

Same drill: select “Building your own integration” → Click Create

Copy your Live Secret Key.


☑️ Step 3: Enter Your Stripe Keys in SCP

  1. In your WordPress dashboard, go to:
    SCP → Settings → Payments
  2. Toggle Enable Stripe to ON
  3. Click Edit next to Stripe
  4. Paste:
    • Test Publishable Key
    • Test Secret Key
    • Live Publishable Key
    • Live Secret Key
  5. Save changes

✅ That’s it! Stripe is now connected to SCP.


☑️ Step 4: Set Up Stripe Webhooks

Webhooks allow Stripe to notify SCP when a payment is successful, a subscription is cancelled, or a payment fails – ensuring user access stays up to date.

📩 In SCP:

  1. In your WordPress dashboard, go to:
    SCP → Settings → Payments
  2. Click on Edit Webhook Settings.
  3. Copy the webhook URL.
  4. Leave this screen open

🔁 In Stripe:

Go to Developers → Webhooks

Click + Add destination

Step 1: Add the required events in Stripe. Search and select each event from the list below:

  • customer.subscription.updated
  • customer.subscription.deleted
  • charge.refunded
  • invoice.payment_succeeded
  • invoice.payment_failed

Step 2: Select the Webhook endpoint option

Step 3: Enter the webhook URL you copied from SCP and save it

🔐 Get the Stripe Webhook ID:

Step 1: After creating the endpoint, click to view it:

Step 2: Click Reveal Signing Secret

Step 3: Copy the secret key

Step 4: Paste it into the Webhook ID field in SCP. Save changes.

✅ Your webhook is now active and secure.


☑️ Optional: Force Test Mode for Admins

Want to always test purchases in sandbox mode when logged in as admin?

  1. Go to SCP → Settings → Payments
  2. Enable the toggle for
    “Always Use Test Mode for Admin”

Great for debugging and testing live funnels without affecting real sales.


🧪 How to Test a Payment

To test your Stripe checkout flow:

  1. Open a private/incognito window
  2. Visit the Course or Product URL
  3. Click Enroll, Buy Now, or Sign Up
  4. On checkout, use this Stripe test card:
    • 4242 4242 4242 4242
    • Any future expiry date
    • Any CVC and ZIP

✅ Confirm the Flow Works:

  • You land on the Order Summary Page
  • You’re logged in automatically
  • You can access your product from the Member Dashboard
  • You receive a Welcome Email
  • The content is displayed properly

You’re now ready to accept real payments with Stripe!


Scroll to Top