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
Display Products
Fetch your product catalog using the List Products endpoint and display them on your website.
Collect Customer Information
Create a custom checkout form to collect customer details (name, email, phone).
Initiate Checkout
Call the Checkout API with customer data and redirect to the payment URL.
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
Validate on Launch
When your software starts, call the Get License endpoint to check if the license is valid (verify
is_active, is_expired, and can_activate fields).Activate on Install
On first run, call Activate License with a unique machine identifier.
Manage Activations
Allow users to revoke licenses when switching devices using Revoke 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
Sync Product Catalog
Periodically fetch products from Chariow and sync them to your platform’s database.
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
Verify Access
When users try to access course content, verify their purchase using the Get Sale endpoint.
Handle Enrollments
Use Pulses to automatically enroll users when purchases complete.
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
Generate Reports
Use the List Sales endpoint with campaign filters to generate attribution reports.