Stripe
Connect Stripe to PayLexer to accept cards, digital wallets, bank transfers, and more across 135+ currencies in 46+ countries.
Stripe is a US-based global payment processor operating in 46 countries, with strong coverage across Europe and North America. It supports cards, digital wallets, bank transfers, subscriptions, and advanced billing workflows, enabling businesses to accept payments from customers in 195+ countries worldwide.
-
Supported Regions (Merchant Accounts): United States, Canada, Europe, UK, Australia, Singapore, Japan, and 30+ other countries - view full list
-
Supported Currencies: 135+ currencies including USD, EUR, GBP, CAD, AUD, JPY, SGD, and more - view full list
Supported Features
-
One-time payments
-
Refunds
-
Real-time payment status updates
-
Recurring billing and subscriptions (if enabled)
-
Multiple payment methods (cards, Apple Pay, Google Pay, bank transfers)
-
Advanced fraud detection
Before You Start
Make sure you have:
-
Stripe Account – Don't have one? Sign up for Stripe →
-
PayLexer Account – Required to configure the integration. Create your account →
-
A website where you want to integrate
Looking for a different payment processor? View all supported gateways →
Configuring Stripe
You need a Publishable Key and Secret Key from Stripe for this integration.
Getting API Credentials
Log in to Stripe
Log in to your Stripe Dashboard.
Locate API Keys
From the Dashboard home, find the API Keys section.
Copy your keys
Copy your Publishable key and Secret key.
Stripe provides separate keys for Test and Live modes. Toggle between "Test mode" and "Live mode" in the dashboard to access different keys.

Adding Credentials to PayLexer
Open PayLexer Dashboard
Log in to your PayLexer dashboard and navigate to Payment Gateways → Stripe.
Enter your credentials
Paste the credentials you copied from Stripe.

Understanding Live/Production and Sandbox Settings:
| Environment | Purpose |
|---|---|
| Live / Production (Mandatory) | Used for real transactions. Cannot be empty, even when testing. |
| Test / Sandbox (Optional) | Used for testing only. No real money is processed. |
How PayLexer selects credentials:
-
Debug/Test mode ON → Test credentials are used
-
Debug/Test mode OFF → Live credentials are used
Test and save
Click Test Connection to verify your credentials, then click Save Configuration.
Configuring Webhooks (Mandatory)
Webhooks enable real-time payment updates and significantly improve reliability.
Benefits of Webhooks:
-
Instant payment status updates
-
Automatic refund processing
-
Dispute notifications
Open Stripe Webhooks
Log in to your Stripe dashboard, go to Developers → Webhooks, and click Add destinations.

Select events
Select the events you want to listen to and click Continue.

Choose Webhook endpoint
Select Webhook endpoint and click Continue.

Add the Webhook URL
Enter a Destination name, then copy the Webhook URL from PayLexer and paste it into the Endpoint URL field. Click Continue.

Copy Webhook Secret
Copy the Webhook Secret generated by Stripe.

Save in PayLexer
Paste the Webhook Secret into PayLexer, then click Save Configuration.

Integrate Stripe to Your Website
If you have already added and configured your site, you can enable Stripe in your existing setup.
Go to Websites
Navigate to Websites in your PayLexer dashboard.
Edit your website
Click the Edit Icon of your added website.

Enable Stripe
Click the checkbox to enable Stripe for the website.

If you haven't added a website yet, Continue to Add Your Website →
Troubleshooting
Best Practices
-
Test in sandbox before enabling Production mode
-
Validate the first live transaction after switching
-
Confirm webhooks are working
-
Monitor the gateway dashboard for failed payments
-
Keep API keys and secrets secure
-
Use separate Test and Production credentials
-
Enable Stripe Radar for fraud detection
-
Use only official Stripe test cards during testing
FAQs
Still Have Questions?
-
Stripe Support: Stripe Help Center
-
PayLexer Support: Contact Support
Last updated 4 days ago
Built with Documentation.AI