Easy return - no questions asked
Install, set up and take profit
Priority Help & Satisfaction Over Sales
Loyalty + Credit Revolution
Build Customer Loyalty with Points, Credits, and Reward Programs
Loyalty + Credit Revolution combines B2B and B2C loyalty, tiered pricing, store credit accounts, VAT validation, company management, and Stripe-powered credit top-ups in one comprehensive PrestaShop module.
- Tiered Pricing: Automatic customer tiers based on purchase history with per-tier discounts
- Store Credit: Customer credit accounts usable as payment method on any order
- Stripe Top-Up: Self-service credit funding via cards, Apple Pay, Google Pay
- B2B Company Accounts: Multi-employee companies with shared credit and spending controls
- VAT Validation: Automatic EU VIES validation with tax-exempt invoice generation
- Payment Terms: Net 15/30/60 with configurable credit limits and overdue tracking
- Loyalty Points: Points-per-purchase redeemable as credit or direct discounts
- Auto Tier Progression: Customers advance tiers automatically with spending notifications
- Admin Dashboard: Tier distributions, credit summaries, overdue tracking, LTV analytics
- Multistore Ready: Independent configurations per store
The complete B2B/B2C loyalty and credit solution. Compatible with PrestaShop 1.7 through 9.x.
B2B and B2C Loyalty, Tiered Pricing, and Store Credit — One Module
Loyalty + Credit Revolution is a comprehensive loyalty and credit management system that serves both B2C consumer stores and B2B wholesale operations from a single, unified module. It combines tiered pricing based on purchase history, VAT validation for business customers, company account management, store credit accounts with flexible payment terms, and Stripe-powered credit top-up functionality into a solution that would typically require four or five separate modules.
For B2C stores, this module creates a loyalty program that rewards repeat customers with automatic tier-based pricing. The more a customer spends, the better their pricing becomes — creating a powerful retention incentive that increases customer lifetime value and reduces acquisition cost dependency. Loyalty tiers are calculated automatically based on purchase history, and customers see their current tier, next tier threshold, and available pricing clearly in their account dashboard.
For B2B stores, this module adds the business functionality that wholesale operations require: company accounts with multiple employees, VAT number validation for tax-exempt purchasing, payment terms with configurable credit limits, and store credit accounts that can be topped up via Stripe or managed manually by administrators. This transforms PrestaShop from a consumer-focused platform into a capable B2B ordering system.
Key Features and Benefits
- Tiered Pricing System: Create unlimited pricing tiers (e.g., Bronze, Silver, Gold, Platinum) with automatic customer assignment based on total purchase history. Each tier applies specific discount percentages or fixed price adjustments across your entire catalog or selected categories.
- Automatic Tier Progression: Customers automatically advance to higher tiers as their cumulative spending crosses configured thresholds. Optional tier notifications inform customers when they unlock better pricing.
- Store Credit Accounts: Every customer gets a store credit balance that can be used as a payment method. Credit can be earned through loyalty programs, added manually by administrators, or topped up by customers via Stripe.
- Stripe Credit Top-Up: Customers can add funds to their store credit account using Stripe, supporting cards, Apple Pay, Google Pay, and other Stripe payment methods. Configurable minimum and maximum top-up amounts.
- B2B Company Accounts: Create company entities with multiple employee users, shared credit limits, and unified purchase history. Company administrators can manage their own employee list and set per-employee spending limits.
- VAT Validation: Automatic EU VAT number validation via VIES (VAT Information Exchange System). Valid B2B customers receive automatic VAT exemption on invoices, complying with EU intra-community supply rules.
- Payment Terms: Offer B2B customers payment terms (Net 15, Net 30, Net 60, or custom) with configurable credit limits. Orders on terms are fulfilled immediately with invoice payment due later.
- Credit Limit Management: Set per-company or per-customer credit limits. Automatic order blocking when credit limits are reached. Dashboard showing outstanding balances, overdue invoices, and credit utilization.
- Loyalty Points System: Award points per purchase (configurable points-per-currency-unit) that customers can redeem as store credit or apply directly as discounts on future orders.
- Admin Dashboard: Comprehensive back-office dashboard showing loyalty tier distributions, credit balance summaries, top-up transaction history, overdue payment tracking, and customer lifetime value analytics.
B2B Functionality That Means Business
Most PrestaShop B2B solutions are afterthoughts — basic group discounts with no real business account management. Loyalty + Credit Revolution treats B2B as a first-class use case. Company accounts with hierarchical employee management, automated VAT validation, proper payment terms with credit control, and detailed account statements transform your PrestaShop store into a professional wholesale ordering platform that B2B customers will actually want to use.
The payment terms system is particularly powerful for B2B operations. Instead of requiring immediate payment, trusted business customers can place orders on agreed terms (Net 30, Net 60, etc.) up to their approved credit limit. This matches the purchasing workflow that business buyers expect and removes the friction that drives them to competitors with more flexible payment options.
Technical Details
- Stripe Payment Intents: Credit top-ups use Stripe's Payment Intents API with secure client-side card collection and server-side confirmation. Supports SCA/3DS authentication.
- VIES API Integration: VAT numbers are validated in real-time against the EU VIES service with caching to handle VIES downtime gracefully.
- Cron-Based Tier Calculation: Customer tier assignments can be recalculated via cron job for stores with large customer bases, avoiding real-time calculation overhead during order processing.
- Database Architecture: Dedicated tables for credit transactions, tier configurations, company accounts, payment terms, and loyalty point ledgers with proper foreign keys and indexing.
- Hook Integration: Hooks into order validation, payment processing, customer registration, and cart calculation for seamless integration with PrestaShop's order lifecycle.
- Multistore Compatible: Independent loyalty tiers, credit accounts, and B2B configurations per store.
- Compatible with PrestaShop 1.7, 8.x, and 9.x.
Why is this module unique?
- Combined B2B and B2C loyalty in one module — tiered pricing, store credit, company accounts, and VAT validation
- Stripe-powered self-service credit top-ups let customers fund their accounts without admin intervention
- Real payment terms (Net 15/30/60) with credit limit management — proper B2B purchasing workflow
- Company accounts with hierarchical employee management and per-employee spending controls
- Automatic EU VAT validation via VIES with tax-exempt invoice generation for valid B2B customers
- Loyalty points system with flexible redemption — store credit conversion or direct order discounts
Use Cases
- B2B Wholesale Stores: Company accounts, payment terms, credit limits, and VAT validation for professional wholesale operations
- Hybrid B2B/B2C Stores: Serve retail customers with loyalty tiers while offering business customers separate B2B pricing and payment terms
- Subscription Stores: Pre-funded store credit accounts let subscribers maintain balances for recurring purchases
- High-Value Repeat Purchase: Tiered pricing rewards your best customers automatically, increasing retention in competitive markets
- International B2B: EU VAT validation and exemption handling for cross-border intra-community sales
- Trade & Distribution: Credit limit management and payment terms replicate traditional trade account relationships in your online store
-
Referencemprloyaltyrevolution
-
In stock999 Items
-
PrestaShop CompatibilityPS 1.7 – 9.x
-
Pricing ModelOne-time Purchase
-
Module TypeFront & Back-office
-
GDPR RelevantNo
-
Business GoalBoost Conversions
-
External Account NeededNo
-
Module ComplexityFeature-Rich Module
-
Customer Journey StageRetain Customers
-
Works With PlatformNo External Platform
MPR Loyalty Revolution
A comprehensive B2B trade account, customer loyalty, and credit account management module for PrestaShop 1.7+.
Overview
MPR Loyalty Revolution provides a complete solution for managing trade customers, loyalty tiers, and credit accounts:
- Trade Account Applications - Customers apply for trade accounts with VAT validation and document uploads
- Tier System - Configurable tiers for both trade and individual customers with automatic qualification
- Credit Accounts - Line of credit for B2B customers with payment tracking and Stripe integration
- B2B Company Management - Multi-user company accounts with shared resources
Features
Trade Account Management
- Online application form with customizable fields
- VAT number validation (VIES API integration)
- Document upload support (trade licenses, certificates)
- Automatic approval based on configurable rules
- Manual review and approval workflow
- Application status tracking for customers
- Expiry management with notifications
Tier System
Two Separate Tier Tracks:
- Trade Tiers - For B2B/trade customers (requires trade account approval)
- Individual Tiers - For regular customers (based on purchase history)
Tier Features:
- Configurable qualification rules (turnover, order count, account age, etc.)
- Benefits: discounts, free shipping, payment terms, priority support
- Automatic tier evaluation on order placement
- Tier locking with optional expiry
- Grace periods before downgrade
- Full tier change history
Credit Account System
Line of Credit Model:
- Configurable credit limits (from tier, company, or manual)
- Coverage ratio (e.g., 50% credit, 50% upfront payment)
- Payment terms (Net 7, 14, 30, 60 days)
- Interest on overdue payments (configurable)
Payment Tracking:
- Per-order credit tracking with due dates
- Payment declarations with proof upload
- Admin confirmation workflow
- Stripe Checkout integration for online payments
- FIFO or selective payment allocation
- Surplus balance from refunds
Company Credit:
- Shared credit pool for company members
- Optional per-member sub-limits
- Company admin can manage member limits
B2B Company Management
- Company profiles with verification
- Multiple employees per company
- Role-based permissions (admin/member)
- Shared address book
- Invite system (link or email)
- Email domain auto-matching
Installation
- Upload module to
/modules/mprtradeaccount/ - Install via PrestaShop Back Office → Modules
- Configure settings in Trade Accounts → Configuration
Configuration
General Settings
- Enable/disable module
- Application form fields (required, optional, hidden)
- Auto-approval conditions
- Customer group assignment
- Expiry settings
Tier Configuration
- Create trade and individual tiers
- Define qualification rules per tier
- Configure benefits per tier
- Set evaluation frequency
Credit Account Settings
- Enable credit accounts
- Default limits and terms
- Coverage ratio
- Interest settings
- Overdue handling
- Reminder schedule
Stripe Integration
For credit payment collection:
- Enable Stripe in Credit Account settings
- Configure Stripe API keys
- Set up webhook endpoint:
https://yourshop.com/module/mprtradeaccount/StripeWebhook - Enable desired payment methods
Admin Controllers
| Controller | Description |
|---|---|
| Dashboard | Overview, stats, alerts |
| Trade Applications | Manage applications |
| Customers | All customers with tier/credit info |
| Tiers | Trade and Individual tier management |
| Credit Accounts | Credit limits, payments, transactions |
| Companies | B2B company management |
| Configuration | Module settings |
Frontend Pages
| Page | Route | Description |
|---|---|---|
| Application | /trade-account/apply |
Trade account application form |
| Status | /trade-account/status |
Application status page |
| Credit Account | /trade-account/credit |
Credit account management |
| Company | /trade-account/company |
Company member area |
Hooks
The module uses the following PrestaShop hooks:
Display Hooks:
displayCustomerAccount- Trade account link in customer areadisplayNav1/2,displayTop,displayFooter- Trade account buttondisplayAdminOrder- Credit info on admin order viewdisplayAdminCustomers- Trade/credit info on customer view
Action Hooks:
actionValidateOrder- Create credit orders, evaluate tiersactionOrderStatusUpdate- Handle cancellations/refundspaymentOptions- Register credit payment option
Integration with MPR Express Checkout
When both modules are installed:
- Credit Account appears as payment option in Express Checkout
- Stripe capabilities shared between modules
- Unified customer experience
Cron Jobs
Set up cron to run daily:
0 2 * * * curl -s "https://yourshop.com/module/mprtradeaccount/Cron?token=YOUR_TOKEN"
Handles:
- Overdue status updates
- Interest calculation
- Payment reminders
- Tier evaluations (if scheduled)
Database Tables
Core Tables
mprtradeaccount_application- Trade applicationsmprtradeaccount_attempt- Application audit logmprtradeaccount_document- Uploaded documentsmprtradeaccount_config- Module configuration
Tier Tables
mprtradeaccount_tier- Tier definitionsmprtradeaccount_tier_rule- Qualification rulesmprtradeaccount_tier_benefit- Tier benefitsmprtradeaccount_customer_tier- Customer assignmentsmprtradeaccount_tier_history- Change historymprtradeaccount_customer_metrics- Cached metrics
Credit Tables
mpr_credit_account- Credit accountsmpr_credit_member_limit- Company member sub-limitsmpr_credit_order- Credit ordersmpr_credit_payment- Paymentsmpr_credit_payment_allocation- Payment to order mappingmpr_credit_transaction- Transaction log
Shared Tables (mpr_ prefix)
mpr_company- B2B companiesmpr_company_member- Company membershipsmpr_company_address- Shared addressesmpr_company_contact- Company contactsmpr_company_invite- Email invitations
Requirements
- PrestaShop 1.7.0+
- PHP 7.1+
- MySQL 5.5+
Optional:
- MPR Express Checkout (for enhanced payment integration)
- Stripe account (for credit payment collection)
Support
For support, contact: info@mypresta.rocks
License
Commercial license - restricted to authorized domains only.
Development
File Structure
mprtradeaccount/
├── controllers/
│ ├── admin/ # Back office controllers
│ └── front/ # Front office controllers
├── mails/ # Email templates
├── sql/ # Database install/uninstall
├── src/
│ ├── Classes/ # ObjectModel and Manager classes
│ └── Traits/ # Shared traits
├── views/
│ ├── css/ # Stylesheets
│ ├── js/ # JavaScript
│ └── templates/ # Smarty templates
├── mprtradeaccount.php # Main module file
└── config.xml # Module configuration
Planning Documents
PLAN_TIER_SYSTEM.md- Tier system implementation detailsPLAN_CREDIT_ACCOUNTS.md- Credit account system implementation details
v1.2.0 — 2026-02-14
- ▸Added PrestaShop 9.x compatibility
- ▸New store credit wallet: customers can add funds and use as payment method
- ▸Added referral program: earn credits for referring new customers
- ▸Configurable credit expiration with automated email reminders at 7, 3, and 1 day
- ▸Fixed credit balance not updating in real-time on checkout page
v1.1.1 — 2025-09-08
- ▸Fixed partial credit redemption leaving negative rounding balance
- ▸Added credit transaction history export (CSV) for accounting
- ▸Improved admin dashboard with credit liability overview and charts
- ▸Added credit gift feature: admin can issue credits with custom message
v1.1.0 — 2025-04-22
- ▸Introduced loyalty points + store credit hybrid system
- ▸New tier-based earning multipliers (VIP customers earn more per purchase)
- ▸Added points-to-credit conversion with configurable exchange rate
- ▸Customer-facing credit balance widget in header and account page
- ▸Webhook integration for external loyalty program sync
v1.0.1 — 2024-11-10
- ▸Fixed credit not applying correctly when combined with cart rules
- ▸Added multi-currency credit support with automatic conversion
- ▸Improved checkout flow with inline credit balance display
v1.0.0 — 2024-07-08
- ▸Initial release
- ▸Loyalty points system with configurable earning rules
- ▸Store credit management for customers and admin
- ▸Credit redemption as partial or full payment at checkout
- ▸Back office credit balance management per customer
- ▸Compatible with PrestaShop 1.6, 1.7, and 8.x
Easy return - no questions asked
Install, set up and take profit
Priority Help & Satisfaction Over Sales
No reviews yet. Be the first to leave a review!
Write a Review