B2B Registration 3.5.4: sell to business customers in the EU, UK and the Gulf (CS-Cart Ultimate 4.21.1 and Multi-Vendor 4.21.2)
Why it pays off
Let business customers apply on their own form, with their tax number checked as they register. You approve the serious ones in minutes, and you no longer chase documents by email.
Markets supported
All 27 EU states plus Northern Ireland (XI): the tax number is checked live in the EU VIES register, with country-specific format rules.
United Kingdom, Switzerland, Norway, Saudi Arabia, UAE, Bahrain, Oman, Qatar and Kuwait: the format is checked and the number goes to manual review, with a review screen for your finance team (status, note, evidence file, history).
Any other country: a generic format rule and manual review.
Fixed (important)
Document uploads: in all earlier versions the uploaded files never arrived.
The form and the server used different field names, so core never saw the file. This is fixed, and the admin’s VAT evidence upload had the same bug.
VIES answers: the addon read only the old answer format, so valid EU VAT numbers could be refused as “invalid”.
It now reads the current format, with or without namespace prefixes. If VIES gives no usable answer, the status is “unavailable” (U), no longer “invalid”, so the customer is not refused.
New in this update
Company-name check: the typed company name is compared with the VIES register. A name that differs sets the status to M (manual review).
The customer gets a neutral note and is not blocked. The admin sees both names, a warning icon in the list, and the “needs review” filter. If that check fails, the plain number check still runs.
Default fields on install: six optional fields in EN and DE: Salutation, Legal form, Company register extract, Trade licence, Industry and Message to us.
They are created once, so deleted fields never come back. On an upgrade they are added only if the default profile has no fields. A “B2B customers” usergroup is created or reused, and the website field is on by default.
Clear VAT errors: a refused number keeps the customer on the form, with the reason in red at the field.
Uploads checked before the account exists: a wrong type, a too-large file or wrong content keeps the form open, with the reason at the field. The file picker offers only the allowed types.
Logging: every refusal in the form and every dropped file is logged with a reason code, never with personal data or file names.
There is a log type in Administration → Logs and an optional detailed file log.
Admin panel: the registration page shows the billing address and every profile field, with “—” or “No document uploaded” where empty.
Layout: the custom-field section was cleaned up in all four themes.
Hints: the profile page shows when no terms page is selected and when the captcha is off.
Upgrade
Copy the files over the old version and open one admin page. A new database column is added automatically.
Check the logs for a “schema upgrade failed” error.
Documents of registrations made before 3.5.3 were never saved. Ask those customers to send them again.
nginx: please add this rule. Apache gets a .htaccess file automatically, but nginx ignores it. Without a rule, files in the log and upload folders could be reachable by direct URL. Use ^~ so it wins over other location blocks:
location ^~ /var/b2b_registration/ { deny all; return 404; }
location ^~ /var/files/b2b/ { deny all; return 404; }
Adjust the path if the shop is in a subfolder.
The first folder holds the detailed log files.
The second holds customer documents, which the addon serves only through its own download link with an ownership check.
After adding the rules, reload nginx and open a file URL from both folders. You should get a 404.
Available here:
