White Label Storefronts FAQ¶
Questions¶
Is the whole shop branded for the partner?¶
No. Only the page at /s/<slug> carries the partner's name, logo, colour and custom CSS. The product pages, cart, checkout, client area, invoices and e-mails are your normal Paymenter pages.
Can a storefront show only some products, or other prices?¶
No. Every storefront lists all categories that have visible products, with the prices from Paymenter. Hidden products are not listed.
Do partners get a login to see their sales?¶
No. Storefronts, attributions and commissions are only visible in the admin area.
Does the extension pay out commissions?¶
No. A commission is a record with an amount and a status. You pay the partner yourself and then click Mark paid.
What is the commission calculated from?¶
From the sum of the invoice's items (price times quantity) at the moment the invoice is paid. A fixed commission ignores the invoice amount and is the same for every attributed invoice.
Are renewals attributed too?¶
Only if the renewal invoice is paid in a session in which a storefront is active. There is no lasting link between a customer and a storefront. Each paid invoice is checked on its own.
How long does a visitor stay linked to a storefront?¶
For as long as their Paymenter session lasts, or until they open another storefront, which replaces the first one. The extension has no setting for this.
What happens to a commission when an invoice is refunded?¶
Nothing. The extension does not react to refunds. The commission keeps its amount and status. It is removed only if the invoice itself, or the storefront, is deleted.
I use more than one currency. How are the totals calculated?¶
Attributions and commissions are stored as plain amounts without a currency. The totals in the overview and in the Commissions column add these amounts up without converting them.
Does the storefront page work on a subdomain?¶
A subdomain activates the storefront for attribution but shows your normal Paymenter pages. The branded page is at /s/<slug>, on your main domain or on the subdomain. See Subdomains.
Can I undo "Mark paid"?¶
Not in the admin area. There is no action that sets a commission back to Pending.
Does custom CSS affect my other pages?¶
No, it is printed only on that storefront's page. On that page it is not limited to the storefront area, so start your selectors with .storefront-brand if you do not want to restyle the theme's navigation and footer.
Troubleshooting¶
/s/acme returns a 404¶
Check these three things:
- Enable /s/{slug} storefront pages is switched on in the extension settings.
- The storefront is set to Active.
- The slug in the address matches the storefront's slug. Slugs are saved in lower case.
The subdomain cannot be reached at all¶
The request does not arrive at Paymenter. Check the wildcard DNS record, and that your web server and TLS certificate accept the wildcard host name.
The subdomain opens, but nothing is attributed¶
- Storefront domain base must be set and must match the host. With the base
example.com, only<slug>.example.comis resolved.a.acme.example.comis ignored. - Resolve storefronts from subdomains must be on.
- The storefront must be Active.
- The invoice must be paid in the same session. Whether the session of the subdomain is the same as the session on your main domain depends on the session cookie settings of your Paymenter installation. If visitors move from the subdomain to the main domain before they pay, test that the attribution arrives.
An invoice was paid, but there is no attribution¶
The extension records an attribution only if all of this is true in the request that sets the invoice to paid:
- the session of that request has an active storefront,
- that storefront is still Active,
- the invoice has not been attributed before.
Invoices that become paid without the visitor's session, for example through a payment gateway's webhook call, are not attributed. See How attribution works.
There is an attribution, but no commission¶
Earn a commission was off for that storefront when the invoice was paid. Commissions are not created afterwards when you switch it on.
A commission has the amount 0.00¶
The storefront has Earn a commission on, but the Commission value is 0, or the type is Percentage of subtotal and the invoice amount is 0.
The storefront uses the default colour instead of mine¶
The Primary colour value is not a hex value or an rgb(), rgba(), hsl() or hsla() value. Colour names are not accepted. See Primary colour.
Part of my custom CSS is missing¶
Tags, @import rules, expression: and javascript: are removed before the CSS is printed. See Custom CSS.
The logo does not show¶
Logos are served from Laravel's public disk. Create the storage link in the Paymenter root directory:
php artisan storage:link
"Base table or view not found: ext_storefronts"¶
The migration did not run. Disable the extension, enable it again and save. Enabling runs the migration.