Office Hours: Mo-Fr: 8:00-19:00 | Sa: 8:00-14:00

Why Use Stripe?

📸 Screenshot: Stripe Settings

Payment gateway configuration panel showing Stripe API key fields

Stripe is the leading payment processor for online businesses, offering:

💡 Perfect For: SaaS companies, membership sites, subscription businesses, digital products, and any business needing recurring billing.

Prerequisites

Setting Up Stripe

1 Create Stripe Account

  1. Visit stripe.com/register
  2. Enter business email
  3. Create password
  4. Verify email address

2 Complete Business Profile

Stripe requires:

3 Get API Keys

  1. Log into Stripe Dashboard
  2. Go to Developers → API Keys
  3. Copy Publishable key
  4. Copy Secret key
⚠️ Security: NEVER share your Secret key publicly. This key gives full access to your Stripe account!

Connecting Stripe to WP Pricing Tables

4 Enter API Keys

  1. WordPress dashboard → Premium Pricing Tables → Settings
  2. Click Payment Gateways tab
  3. Enable Stripe
  4. Paste Publishable Key
  5. Paste Secret Key
  6. Save settings

5 Configure Payment Settings

Creating Subscription Plans in Stripe

6 Create Products

  1. Stripe Dashboard → Products
  2. Click Add Product
  3. Name: 'Basic Plan', 'Pro Plan', etc.
  4. Description: What's included

7 Set Pricing

8 Copy Price IDs

After creating each price, copy the Price ID (starts with 'price_'):

Basic Monthly: price_1234567890abcdef
Pro Monthly: price_abcdef1234567890
Enterprise Monthly: price_xyz9876543210

Linking Prices to Pricing Table

9 Add Price IDs to Table

  1. Edit your pricing table
  2. For each column, find Stripe Price ID field
  3. Paste the corresponding Price ID
  4. Enable Stripe Checkout

10 Test the Integration

  1. Enable Stripe test mode
  2. Use test card: 4242 4242 4242 4242
  3. Any future expiry date, any CVC
  4. Complete a test purchase
  5. Verify in Stripe Dashboard → Payments
✅ Success! When test payments work, switch to live mode by using your live API keys and disabling test mode.

Advanced Stripe Features

Free Trials

Offer free trials before charging:

  1. In Stripe, edit your price
  2. Add trial period (7 days, 14 days, 30 days)
  3. Customers charged automatically after trial

Coupons & Discounts

  1. Stripe Dashboard → Coupons
  2. Create coupon (percent off or fixed amount)
  3. Customers enter code at checkout

Metered Billing

For usage-based pricing:

Webhooks Setup

Webhooks notify your site of payment events:

  1. Stripe Dashboard → Developers → Webhooks
  2. Add endpoint: yoursite.com/wp-json/ppt/v1/stripe-webhook
  3. Select events: payment_intent.succeeded, customer.subscription.updated, etc.
  4. Copy webhook signing secret
  5. Add to WP Pricing Tables settings

Going Live

Pre-Launch Checklist

Activate Live Payments

  1. Complete Stripe account activation
  2. Switch to live API keys
  3. Disable test mode
  4. Make a real purchase to verify
💡 Tip: Start with a $1 test charge to yourself to verify everything works before announcing to customers.

Common Issues

Payment Declined

Subscription Not Created

Can't Enable Live Mode