π³ Payment Provider Integration
Overviewβ
This documentation describes how to integrate a payment provider with MANTA. Once configured, your instance can process transactions.
Currently, MANTA supports:
- Stripe
note
Stripe (or any other payment provider) will not be used unless BILLING_MODE is enabled.
Make sure to enable billing mode in your configuration.
Prerequisitesβ
Before integrating a payment provider, ensure you have:
- An account with the payment provider you intend to use.
- Access to the providerβs API keys or credentials for development and production environments.
- Billing mode enabled in MANTA.
Environment Variablesβ
To enable Stripe as a payment provider, configure the following environment variables:
PAYMENT_PROVIDER="stripe"
STRIPE_PUBLISHABLE_KEY="your_publishable_key"
STRIPE_SECRET_KEY="your_secret_key"
Variable Descriptions:
- PAYMENT_PROVIDER - Specifies which payment provider to use. Set to
stripeto enable Stripe integration. - STRIPE_PUBLISHABLE_KEY - Used in the frontend to create payment tokens.
- STRIPE_SECRET_KEY - Used in the backend to securely process payments.
note
Once Stripe is configured, you can view all transactions, subscription status, and payment history directly in your Stripe Dashboard.