Follow this guide to configure real payment processing with Stripe. Your BidHaven platform is currently in test mode using Stripe's sandbox environment.
Stripe requires identity verification before you can process real payments.
Go to your Stripe Dashboard
Click on your account name in the top right
Select 'Account settings'
Navigate to 'Verification' section
Complete the KYC (Know Your Customer) process
Provide business information, banking details, and identity verification
Wait for Stripe to review (usually 1-3 business days)
Once verified, retrieve your live Stripe API keys.
Log in to your Stripe Dashboard
Go to 'Developers' → 'API keys'
Toggle 'Viewing test data' to OFF to see live keys
Copy your 'Publishable key' (starts with pk_live_)
Copy your 'Secret key' (starts with sk_live_)
Store these keys securely - never share the secret key
Configure your live Stripe keys in the BidHaven platform.
Go to Management UI → Settings → Payment
Paste your live Publishable key in the 'VITE_STRIPE_PUBLISHABLE_KEY' field
Paste your live Secret key in the 'STRIPE_SECRET_KEY' field
Click 'Save' to apply the changes
The system will automatically use live keys for all transactions
Configure Stripe webhooks to receive payment notifications.
In Stripe Dashboard, go to 'Developers' → 'Webhooks'
Click 'Add endpoint'
Enter your endpoint URL: https://yourdomain.com/api/stripe/webhook
Select events to listen for: payment_intent.succeeded, customer.created, invoice.paid
Click 'Add endpoint'
Copy the signing secret (starts with whsec_)
Add this to BidHaven Settings as 'STRIPE_WEBHOOK_SECRET'
Verify that live payments are working correctly.
Create a test job in BidHaven
Place a bid and proceed to checkout
Use a real test card: 4242 4242 4242 4242
Enter any future expiration date and any 3-digit CVC
Complete the payment
Check your Stripe Dashboard for the transaction
Verify the payment appears in BidHaven's payment history
Use these test card numbers to verify your live payment setup. All test cards use any future expiration date and any 3-digit CVC.
Visa - Successful payment
4242 4242 4242 4242
Mastercard - Successful payment
5555 5555 5555 4444
Visa - Card declined
4000 0000 0000 0002
Visa - Requires authentication
4000 0025 0000 3155
If you encounter issues during setup, check the FAQ page or contact support. You can also visit Stripe's documentation.