1. Custom Storefront Integration
Build a fully branded shopping experience on your own website while leveraging Chariow for payment processing and product delivery.Scenario
You have an existing website or web application and want to sell digital products without redirecting customers to an external store.Implementation
1
Display Products
Fetch your product catalog using the List Products endpoint and display them on your website.
2
Collect Customer Information
Create a custom checkout form to collect customer details (name, email, phone).
3
Initiate Checkout
Call the Checkout API with customer data and redirect to the payment URL.
4
Handle Completion
Use a custom
redirect_url to bring customers back to your thank-you page, and set up Pulses for reliable sale notifications.Code Example
2. Software License Management
Sell software with automated license key generation, validation, and activation management.Scenario
You develop desktop or mobile software and need to protect it with license keys, control the number of installations, and manage activations.Implementation
1
Sell License Products
Create license-type products in Chariow with activation limits configured.
2
Validate on Launch
When your software starts, call the Validate License endpoint to check if the license is valid.
3
Activate on Install
On first run, call Activate License with a unique machine identifier.
4
Manage Activations
Allow users to deactivate licenses when switching devices using Deactivate License.
Code Example
3. E-commerce Platform Plugin
Create a plugin or integration for e-commerce platforms (WordPress, Shopify, etc.) to sell Chariow products.Scenario
You want to extend an existing e-commerce platform to sell digital products managed in Chariow, synchronizing products and processing orders.Implementation
1
Sync Product Catalog
Periodically fetch products from Chariow and sync them to your platform’s database.
2
Handle Add to Cart
Store Chariow product IDs alongside platform cart items.
3
Process Checkout
On checkout, create Chariow checkout sessions for each digital product.
4
Fulfill Orders
Listen to Chariow Pulses to mark orders as fulfilled in your platform.
Code Example
4. Course Platform with Access Control
Build an online learning platform where course access is controlled by Chariow purchases.Scenario
You run an educational platform and want to sell courses, controlling access based on purchase status and managing enrollments.Implementation
1
Create Course Products
Set up course-type products in Chariow with your curriculum content.
2
Verify Access
When users try to access course content, verify their purchase using the Get Sale endpoint.
3
Handle Enrollments
Use Pulses to automatically enroll users when purchases complete.
4
Track Progress
Store course progress in your database, linked to the Chariow customer ID.
Code Example
5. Affiliate and Campaign Tracking
Track sales attribution across marketing campaigns and affiliate partners.Scenario
You run marketing campaigns or have affiliate partners and need to track which sales come from which sources to calculate commissions or measure ROI.Implementation
1
Create Campaign IDs
Generate unique campaign identifiers for each marketing channel or affiliate.
2
Pass Campaign on Checkout
Include the
campaign_id parameter when initiating checkouts.3
Track in Pulses
Capture campaign data from sale Pulses to attribute conversions.
4
Generate Reports
Use the List Sales endpoint with campaign filters to generate attribution reports.