How to Create a New Stripe API Key (Publishable and Secret Key)
Step 1: Create a Stripe Account
Before starting, ensure you have an active Stripe account.
If not, visit https://dashboard.stripe.com/register and sign up using your business details, email, and linked bank account to receive payouts.
Step 2: Log In to Stripe Dashboard
Go to https://dashboard.stripe.com and log in with your credentials.
Step 3: Access API Keys
In the left sidebar, navigate to:
Developers → API keys
Here you’ll find two main credentials:
- Publishable key: Used for client-side (frontend) integration.
- Secret key: Used for server-side (backend) authentication.
Step 4: Generate New API Keys (Optional)
If you need new credentials, click Create secret key.
You can also rename keys for better organization (e.g., CommercePad Live Key).
Step 5: Copy and Store Keys Securely
Copy your Publishable key and Secret key.
⚠️ Important: The secret key is displayed only once — store it securely in a password manager or secure file.
How to Find Existing Stripe API Keys
Step 1: Log In to Stripe Dashboard
Access your account at https://dashboard.stripe.com.
Step 2: Go to Developers → API Keys
In the left-hand menu, select Developers → API keys.
Step 3: View Existing Keys
Your existing Publishable and Secret keys are displayed under the “Standard keys” section.
To reveal the Secret key, click Reveal live key token.
Step 4: Use Test or Live Keys as Needed
Stripe provides both:
- Test keys (for Sandbox or development mode).
- Live keys (for actual transactions).
How to Add Stripe Keys on CommercePad
Step 1: Access Admin Panel
Log in to your CommercePad Admin Panel.
Step 2: Expand Application Settings
In the left menu, click to expand Application Settings.
Step 3: Open Domain Configuration
Select Domain Configuration from the list.
Step 4: Navigate to Payment Options
At the top of the page, click Payment Options.
Step 5: Choose Payment Mode
Select the environment you want to configure:
- Sandbox (Test Mode): For testing transactions.
- Production (Live Mode): For real payments.
Step 6: Select Stripe
Choose Stripe from the available payment providers.
Step 7: Add Merchant Credentials
Paste your Publishable key and Secret key into the corresponding fields.
Step 8: Save Changes
Click Save at the bottom of the page to apply the configuration.