Setup Stripe Account
If you want to accept the payment from your customer online, BotPenguin provides two payment gateways one primary one is Stripe. The following details are required to set up the Stripe account.
If you want to accept the payment from your customer online, BotPenguin provides two payment gateways one primary one is Stripe. The following details are required to set up the Stripe account.
Stripe integration allows BotPenguin to process customer payments using your Stripe account. Once connected, all chatbot-based payments (orders, subscriptions, invoices, etc.) are routed through Stripe for secure and seamless transactions.
Prerequisites
Before starting, ensure the following:
An active Stripe account
Admin access to your BotPenguin dashboard
Stripe Secret Key and Publishable (Public) Key
Setup your Stripe Account
Step 1: Setup Stripe Account
Follow the below official documentation to create the account
Step 2: Generate API Key Credentials
Follow the below official documentation to create the account.
Where to Find Stripe Keys
Log in to your Stripe Dashboard
Go to Developers → API keys
Copy:
Secret Key (starts with
sk_)Publishable Key (starts with
pk_)
⚠️ Important: Keep your Secret Key confidential. Do not share it publicly.
Steps to Integrate Stripe with BotPenguin
Step 1: Open Integrations in BotPenguin
Log in to your BotPenguin Dashboard
From the left sidebar, click Integrations
Locate Stripe Integration
Click on Connect button

Step 2: Add Stripe API Keys
You will see the following fields:
Stripe Secret Access Key → Paste your Stripe Secret Key
Stripe Public Key → Paste your Stripe Publishable Key

Step 3: Save Integration
Click Add Details
Wait for the confirmation message
Stripe integration will be successfully enabled
What Happens After Integration?
Once Stripe is connected:
Payments initiated via chatbot are processed through Stripe
Customers can pay securely without leaving WhatsApp or chat interface
Payment status can be tracked inside Stripe
BotPenguin can trigger:
Payment confirmations
Order completion flows
Subscription or invoice-based messages
Common Errors & Solutions
❌ Invalid API Key Error
Ensure keys are copied correctly
Confirm you are using Live keys, not Test keys (unless in test mode)
❌ Payments Not Triggering
Verify Stripe integration is active
Check chatbot flow has a payment component configured
❌ Currency or Country Issues
Ensure your Stripe account supports the selected currency
Complete Stripe account verification
Security Best Practices
Never expose Stripe Secret Key in public code
Rotate API keys if compromised
Enable Stripe webhooks (if required for advanced use cases)
Supported Use Cases
One-time payments
Order payments
Service charges
Subscription billing (if configured in bot logic)
Need Help?
If you face any issues during integration:
Recheck API keys
Ensure Stripe account is active and verified
Contact BotPenguin Support with screenshots and error details
Feel free to reach out in case of any further assistance at [email protected]
Last updated
Was this helpful?
