You can use Stripe for accepting payments for both subscriptions and token packs.
How to Set Up Stripe Payment Gateway?
Info
You can find information about Stripe API keys in the Stripe documentation.
You can get your Stripe API keys by following these steps on the Stripe website:
- Go to the Stripe website and log in to your account or sign up if you don’t have one.
- Click on Developers.
- Click on API Keys under developers menu.
- Click on Reveal Test Key Token button.
- The Publishable key(API key) and Secret key will appear.
- Access the gateway settings by navigating to Finance -> Payment Gateways -> Stripe.
- Add your keys to the appropriate fields on the page.
Default Currency: Choose your currency.
API Key(Publishable key): Enter your Stripe publishable key
API Secret: Enter your Stripe secret key
Base URL: Enter your Stripe base URL. (https://api.stripe.com by default)
API Key (Sandbox): Enter your Stripe Sandbox API key for testing purposes
API Secret Key (Sandbox): Enter your Stripe Sandbox secret key for testing purposes
- It’s crucial to follow the correct order: first, set the mode (development or production), and then save the gateway settings.
- Pay attention to the information provided during the saving process, as it will guide you through the necessary steps.
- After setting up your payment gateway, you can create membership plans with help from this guide.