Products & Billing Module
Step 1: Adding a Payment Method
To get started, you'll need to add a payment method:
Click on Create Payment Method. Currently, we support Stripe and PayPal, though only Stripe is active.
Obtain your API Key and Secret from Stripe under the Developer Tools and enter them here.
Once added, the payment method details will be displayed.
Step 2: Creating a Product
Next, navigate to the Products section to create or edit a product:
Provide a Name, Description, and select the Payment Method (currently Stripe).
You can define the Payment Type (one-time or subscription) and set the Payment Frequency (daily, weekly, monthly, or annually).
Add details such as price, trial period (if applicable), renewal type (default: infinite), and product quantity (default: unlimited).
Assign a Tag to automate user management based on purchases.
Specify the Currency and Status.
Once the product is updated, it will appear on the frontend.
Step 3: Subscription and Billing
On the frontend, the billing URL displays all products and subscriptions. Users can:
Click Subscribe to initiate payment through the Stripe gateway.
Enter their details (test gateway supported for demo purposes) and process the payment.
After successful payment, users are redirected to the Subscriptions Page, which includes:
Subscription ID
Date placed
Expiry date
Status
Total amount
Managing Subscriptions
Users can:
View their subscriptions.
Manage their subscriptions through Stripe.
Download invoices or receipts.
Cancel subscriptions, which updates the status and reflects the end date.
Tags and System Automation
When a product is purchased, the associated Tag is automatically applied to the user for system management. This ensures seamless handling of user permissions and access.
Last updated