Skip to content

Using Client Group Pricing

Manage groups

Open Client Groups in the Extensions navigation group of the admin area. The list shows every group with these columns:

Column Content
Name The group name
Slug The internal identifier
Customers Number of customers in the group
Plan prices Number of plans the group has its own price for
Discount The percentage, or None
Auto domain The email domain, or Manual only
Active Whether the group is active
Created Creation date

Create a group

  1. Click New client group.
  2. Enter a Name. Optionally set Discount on every plan and Automatic assignment by email domain. The fields are described in Configuration.
  3. Save. The Customers and Plan prices tabs are available on the group's edit page.

Add plan prices

  1. Open the group with Edit and switch to the Plan prices tab.
  2. Click Add plan price.
  3. Choose the Plan, enter the Group price and save.

The tab lists each price with Product, Plan, Billing cycle, Group price and Updated. You can edit or delete a price, or select several and delete them together.

Add and remove customers

  1. Open the group with Edit. The Customers tab is shown first.
  2. Click Add customer and pick the customer.
  3. To take a customer out of the group, click Remove in their row. You can also select several customers and remove them together.

A customer can be in any number of groups. Removing a customer from a group does not delete the customer.

Switch a group off or delete it

  • Switch off Active to stop a group from changing prices and from assigning customers. Members and plan prices are kept, so you can switch it on again later.
  • Delete removes the group together with its plan prices and its customer assignments. Paymenter asks for confirmation first.

In both cases, prices that were already charged and the prices stored on existing services are not changed.

Automatic assignment by email domain

If a group is active and has a value in Automatic assignment by email domain, the extension checks every customer account each time it is saved. This covers registration, a customer editing their profile and an administrator editing the customer. If the domain of the customer's email address equals the group's domain, the customer is added to the group. A customer who is already a member is not added twice.

Keep these points in mind:

  • Existing customers are not scanned when you enter a domain. They join the next time their account is saved. Add them by hand on the Customers tab if you do not want to wait.
  • Assignment only adds. A customer who changes their email address to another domain stays in the group. Removing the domain from the group or changing it does not remove members either.
  • A removed customer comes back. If you remove a customer whose address matches the domain, they are added again the next time their account is saved. To keep them out, clear the group's domain field.

Warning

Anyone who can register with an address of that domain joins the group and gets its prices. The extension does not check whether the address is verified. Do not use the domain of a public e-mail provider.

What happens when a customer orders

When Paymenter creates a service for a customer who is in an active group, the extension changes the recurring price of the service by the difference between the normal plan price and the customer's group price. Config options stay in the price unchanged.

When Paymenter then creates the invoice line for that service, the extension applies the same difference to the line. Setup fees and config options on the line stay unchanged.

Example: a plan costs 10.00, the customer's group price is 7.00 and the order has a config option for 2.00. The service is stored with 9.00 instead of 12.00, and the first invoice line is 9.00 plus any setup fee.

Details:

  • Coupons. Paymenter calculates the coupon on the normal price first. The group difference is then applied as a fixed amount. With a plan at 10.00, a group price of 7.00 and a 50 % coupon, Paymenter's 5.00 becomes 2.00. For one rare coupon case where the first invoice is not reduced, see the FAQ.
  • Tax. The difference is taken between the normal plan price and the group price as you entered them, without tax. If Paymenter is set to add tax on top of prices, check the first order of a group member to make sure the amounts are what you expect.
  • Services created by an administrator. The rule applies to every new service, also to one you create in the admin area for a group member. The price you type in is changed by the group difference when the service is saved. Correct the price on the service afterwards if you wanted the typed value.
  • Other invoice lines for a service. Any new invoice line that refers to a service of a group member is adjusted in the same way, unless its price equals the price stored on the service.

Renewals and later changes

Paymenter builds every renewal invoice from the price stored on the service. Because that price already contains the group price, renewals are billed at the group price, and the extension does not discount them a second time.

This has consequences you should know:

  • A service keeps the price it was sold at. Changing a group's discount or plan price, adding a customer to a group or removing them only affects services created afterwards. To change the price of an existing service, edit the service in Paymenter.
  • Paymenter's own recalculations use the normal price. When a customer upgrades a service, when a coupon with a limited number of billing cycles runs out, or when you use Recalculate Price on a service, Paymenter sets the service price from the normal plan price again. The group price is not reapplied. Set the price on the service by hand in these cases.

What the customer sees

A logged-in customer who is in at least one active group sees their group price instead of the normal price in two places:

  • on the product page,

    Product page showing the group price

  • on the category listing.

    Category listing showing group prices

The prices are replaced when the page is rendered. Nothing in your price list is changed, and the extension does not copy or change theme files.

Everywhere else the shop shows Paymenter's normal figures:

  • Visitors who are not logged in see the normal price, also if they belong to a group.
  • The page where the customer chooses a plan and config options, and the cart with its total, show the normal price. The group price appears again on the invoice the customer is sent to after checkout.
  • The group price is not marked as a special price. The customer sees no group name, no crossed-out price and no discount line on the invoice. The invoice line carries the reduced amount.

There is no customer page for groups. Customers cannot see or change which groups they are in.

Automatic behaviour

The extension has no scheduled task and sends no e-mails. It reacts to four things in Paymenter:

When What the extension does
A service is created Writes the group price into the service's recurring price
An invoice line for a service is created Applies the group difference to the line, unless the line equals the service's stored price
A customer account is saved Adds the customer to active groups with a matching email domain
The product page or category listing is rendered for a logged-in group member Shows the group price