Documentation Index
Fetch the complete documentation index at: https://memberpulseptyltd.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Stripe integration enables MemberPulse to process payments, manage subscriptions, and handle invoicing for membership plans and event tickets.
Features
| Feature | Description |
|---|
| Payment Processing | Accept credit cards, bank transfers, and digital wallets |
| Subscription Billing | Automated recurring payments for membership plans |
| Invoicing | Generate and send professional invoices |
| Refunds | Process refunds directly from MemberPulse |
| Payment Methods | Save cards for future payments |
| Webhooks | Real-time payment event notifications |
Configuration
Prerequisites
- Create a Stripe account at stripe.com
- Obtain your API keys from the Stripe Dashboard
- Configure webhook endpoints
Acceptance Criteria
Frontend
Backend / API
Permissions
Business Rules
Error Handling
Environment Variables
STRIPE_PUBLISHABLE_KEY=pk_live_xxxxxxxxxxxx
STRIPE_SECRET_KEY=sk_live_xxxxxxxxxxxx
STRIPE_WEBHOOK_SECRET=whsec_xxxxxxxxxxxx
Acceptance Criteria
Frontend
Backend / API
Permissions
Business Rules
Error Handling
Navigate to Client Portal > Settings > Integrations > Stripe
| Setting | Type | Required | Description |
|---|
| Mode | Toggle | Yes | Live or Test mode |
| Publishable Key | Text | Yes | Public API key |
| Secret Key | Secret | Yes | Private API key |
| Webhook Secret | Secret | Yes | Webhook signing secret |
Acceptance Criteria
Frontend
Backend / API
Permissions
Business Rules
Error Handling
Webhook Events
| Event | Description |
|---|
payment_intent.succeeded | Payment completed successfully |
payment_intent.failed | Payment failed |
invoice.paid | Invoice was paid |
invoice.payment_failed | Invoice payment failed |
customer.subscription.created | New subscription created |
customer.subscription.updated | Subscription changed |
customer.subscription.deleted | Subscription cancelled |
API Endpoints
POST /api/payments/create-intent # Create payment intent
POST /api/payments/confirm # Confirm payment
GET /api/payments/{id} # Get payment details
POST /api/subscriptions/create # Create subscription
PUT /api/subscriptions/{id} # Update subscription
DELETE /api/subscriptions/{id} # Cancel subscription
Troubleshooting
For Stripe integration issues, see the Admin Troubleshooting Guide.
Acceptance Criteria
Frontend
Backend / API
Permissions
Business Rules
Error Handling