Stripe Integration
Menu Path: Workspace > Settings > Integrations > Payment > Stripe
Stripe is a globally recognized payment gateway that allows your platform to accept credit cards, debit cards, and alternative payment methods like Apple Pay and Google Pay securely.
Prerequisites
Before integrating Stripe into your AVCI CMS workspace, you must:
- Create a verified Stripe Account.
- Complete your business identity verification (KYC) within the Stripe Dashboard.
- Ensure your storefront is served over HTTPS (SSL).
Configuration Steps
To enable Stripe on your platform, follow these steps:
1. Retrieve API Keys
- Log in to your Stripe Dashboard.
- Navigate to Developers > API keys.
- Locate your Publishable key and Secret key. (Use test keys if you are setting up a development/staging environment).
2. Enter Credentials in CMS
- In the AVCI CMS admin panel, go to
Integrations > Payment > Stripe. - Toggle the integration status to Active.
- Enter your Publishable Key and Secret Key into the respective fields.
- Click Save Settings.
3. Webhook Setup (Crucial)
Webhooks are required so that Stripe can inform the CMS when a payment succeeds asynchronously.
- In the CMS Stripe integration page, copy the Webhook Endpoint URL.
- Go back to your Stripe Dashboard > Developers > Webhooks.
- Click Add an endpoint, paste the URL, and select the following events:
payment_intent.succeededpayment_intent.payment_failedcharge.refunded
- Copy the generated Webhook Signing Secret from Stripe and paste it into the
Webhook Secretfield in the CMS. - Save settings again.
Testing the Integration
We highly recommend testing the checkout flow using Stripe's mock credit card numbers (e.g., 4242 4242 4242 4242) before switching your integration to "Live Mode".
[!WARNING] Never enter your live Stripe Secret Key into a staging or development environment. Always use the test keys provided by Stripe to prevent accidental real-world charges.