Stripe Setup Guide

Complete Your Stripe Integration

Accept credit and debit card payments directly

✓ Bank Account Ready

Account Name: LuvAll-TT

Sort Code: 04-06-05

Account Number: 28854414

Stripe will automatically transfer your revenue to this account within 2-7 days.

Why Add Stripe?

  • ✓ Accept all major credit and debit cards
  • ✓ Users don't need a PayPal account
  • ✓ Lower transaction fees (1.4% + 20p for UK cards)
  • ✓ Professional checkout experience
  • ✓ Automatic recurring billing
  • ✓ Better conversion rates
1
Create Your Stripe Account
  1. 1
    Go to Stripe DashboardOpen Link
  2. 2
    Sign up with your email
  3. 3
    Choose 'United Kingdom' as your country
  4. 4
    Select 'Individual' or 'Company' (choose Individual if sole trader)
  5. 5
    Complete the registration form
2
Activate Your Account & Connect Bank
  1. 1
    After registration, Stripe will ask you to activate your account
  2. 2
    Click 'Activate your account' button
  3. 3
    Fill in your business details:
  4. 4
    • Business name: LuvAll-TT
  5. 5
    • Industry: Software/SaaS
  6. 6
    • Website: Your app URL
  7. 7
    Add your bank account details:
  8. 8
    • Account holder: LuvAll-TT
  9. 9
    • Sort code: 04-06-05
  10. 10
    • Account number: 28854414
  11. 11
    Verify your identity (upload ID if required)
  12. 12
    Wait for approval (usually instant, sometimes 1-2 days)
3
Create Subscription Products
  1. 1
    In Stripe Dashboard, go to: Products
  2. 2
    Click '+ Add product' for each plan below
  3. 3
    IMPORTANT: Make sure you're in LIVE mode (toggle in top right)

Create these 4 products in Stripe:

Pro Player - Monthly
Price: £7.99 • Billing: Monthly
Individual player subscription - monthly billing
After creating, copy the Price ID (starts with price_...)
Pro Player - Yearly
Price: £79.99 • Billing: Yearly
Individual player subscription - yearly billing (save 17%)
After creating, copy the Price ID (starts with price_...)
Team & Coach - Monthly
Price: £24.99 • Billing: Monthly
Team and coach subscription - monthly billing
After creating, copy the Price ID (starts with price_...)
Team & Coach - Yearly
Price: £249.99 • Billing: Yearly
Team and coach subscription - yearly billing (save 17%)
After creating, copy the Price ID (starts with price_...)
4
Get Your API Keys
  1. 1
    In Stripe Dashboard, click 'Developers' in the top menu
  2. 2
    Click 'API keys' in the sidebar
  3. 3
    Make sure you're viewing 'Live' keys (not Test)
  4. 4
    Copy your 'Publishable key' (starts with pk_live_...)
  5. 5
    Click 'Reveal live key' for Secret key
  6. 6
    Copy your 'Secret key' (starts with sk_live_...)
  7. 7
    ⚠️ KEEP SECRET KEY PRIVATE - Never share or commit to code!
5
Get Price IDs for Each Product
  1. 1
    Go back to: Products
  2. 2
    Click on each product you created
  3. 3
    Under 'Pricing', you'll see the Price ID
  4. 4
    Copy each Price ID (starts with price_...)
  5. 5
    You need 4 Price IDs total (one for each plan)
6
Update Your App Configuration
  1. 1
    Open: components/payments/PaymentConfig.jsx
  2. 2
    Find the STRIPE section
  3. 3
    Replace PUBLIC_KEY with your pk_live_... key
  4. 4
    Replace each PRICES value with your price_... IDs
  5. 5
    Save the file
  6. 6
    ⚠️ Note: coach plans use same price IDs as player plans
// In components/payments/PaymentConfig.jsx

STRIPE: {
  PUBLIC_KEY: 'pk_live_YOUR_ACTUAL_PUBLISHABLE_KEY_HERE',
  PRICES: {
    player_monthly: 'price_YOUR_PRO_MONTHLY_PRICE_ID',
    player_yearly: 'price_YOUR_PRO_YEARLY_PRICE_ID',
    coach_monthly: 'price_YOUR_PRO_MONTHLY_PRICE_ID',  // Same as player
    coach_yearly: 'price_YOUR_PRO_YEARLY_PRICE_ID',    // Same as player
    team_monthly: 'price_YOUR_TEAM_MONTHLY_PRICE_ID',
    team_yearly: 'price_YOUR_TEAM_YEARLY_PRICE_ID'
  }
}
7
Set Up Webhooks (Important!)
  1. 1
    In Stripe Dashboard, go to: Developers > Webhooks
  2. 2
    Click '+ Add endpoint'
  3. 3
    Endpoint URL: https://your-domain.com/api/stripe/webhook
  4. 4
    (You'll need to implement this endpoint separately)
  5. 5
    Select these events to listen for:
  6. 6
    • customer.subscription.created
  7. 7
    • customer.subscription.updated
  8. 8
    • customer.subscription.deleted
  9. 9
    • invoice.payment_succeeded
  10. 10
    • invoice.payment_failed
  11. 11
    Click 'Add endpoint'
  12. 12
    Copy the 'Signing secret' (starts with whsec_...)
  13. 13
    Store this securely - needed to verify webhooks
8
Test Before Going Live
  1. 1
    Switch to 'Test mode' in Stripe Dashboard
  2. 2
    Create test products with same setup
  3. 3
    Get test API keys (pk_test_... and sk_test_...)
  4. 4
    Update PaymentConfig with test keys temporarily
  5. 5
    Use Stripe test cards:Open Link
  6. 6
    • Success: 4242 4242 4242 4242
  7. 7
    • Decline: 4000 0000 0000 0002
  8. 8
    Test a subscription payment end-to-end
  9. 9
    Verify webhook events are received
  10. 10
    Once tested, switch back to LIVE keys

Important Security Notes

  • ⚠️ Never share your Secret Key (sk_live_...)
  • ⚠️ Never commit API keys to version control
  • ⚠️ Store secret keys in environment variables
  • ⚠️ Only use test mode until you're ready to go live
  • ⚠️ Always verify webhook signatures