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
- 1Go to Stripe DashboardOpen Link
- 2Sign up with your email
- 3Choose 'United Kingdom' as your country
- 4Select 'Individual' or 'Company' (choose Individual if sole trader)
- 5Complete the registration form
2
Activate Your Account & Connect Bank
- 1After registration, Stripe will ask you to activate your account
- 2Click 'Activate your account' button
- 3Fill in your business details:
- 4• Business name: LuvAll-TT
- 5• Industry: Software/SaaS
- 6• Website: Your app URL
- 7Add your bank account details:
- 8• Account holder: LuvAll-TT
- 9• Sort code: 04-06-05
- 10• Account number: 28854414
- 11Verify your identity (upload ID if required)
- 12Wait for approval (usually instant, sometimes 1-2 days)
3
Create Subscription Products
- 1In Stripe Dashboard, go to: Products
- 2Click '+ Add product' for each plan below
- 3IMPORTANT: 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
- 1In Stripe Dashboard, click 'Developers' in the top menu
- 2Click 'API keys' in the sidebar
- 3Make sure you're viewing 'Live' keys (not Test)
- 4Copy your 'Publishable key' (starts with pk_live_...)
- 5Click 'Reveal live key' for Secret key
- 6Copy your 'Secret key' (starts with sk_live_...)
- 7⚠️ KEEP SECRET KEY PRIVATE - Never share or commit to code!
5
Get Price IDs for Each Product
- 1Go back to: Products
- 2Click on each product you created
- 3Under 'Pricing', you'll see the Price ID
- 4Copy each Price ID (starts with price_...)
- 5You need 4 Price IDs total (one for each plan)
6
Update Your App Configuration
- 1Open: components/payments/PaymentConfig.jsx
- 2Find the STRIPE section
- 3Replace PUBLIC_KEY with your pk_live_... key
- 4Replace each PRICES value with your price_... IDs
- 5Save the file
- 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!)
- 1In Stripe Dashboard, go to: Developers > Webhooks
- 2Click '+ Add endpoint'
- 3Endpoint URL: https://your-domain.com/api/stripe/webhook
- 4(You'll need to implement this endpoint separately)
- 5Select these events to listen for:
- 6• customer.subscription.created
- 7• customer.subscription.updated
- 8• customer.subscription.deleted
- 9• invoice.payment_succeeded
- 10• invoice.payment_failed
- 11Click 'Add endpoint'
- 12Copy the 'Signing secret' (starts with whsec_...)
- 13Store this securely - needed to verify webhooks
8
Test Before Going Live
- 1Switch to 'Test mode' in Stripe Dashboard
- 2Create test products with same setup
- 3Get test API keys (pk_test_... and sk_test_...)
- 4Update PaymentConfig with test keys temporarily
- 5Use Stripe test cards:Open Link
- 6• Success: 4242 4242 4242 4242
- 7• Decline: 4000 0000 0000 0002
- 8Test a subscription payment end-to-end
- 9Verify webhook events are received
- 10Once 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
Need Help?
Here are some helpful resources:
