Installing Passkey Security¶
Upload the files¶
The extension must end up in this folder of your Paymenter installation. The folder name must be exactly PasskeySecurity.
extensions/Others/PasskeySecurity/
You can get it there in two ways.
Upload the ZIP in the admin area
- In the admin area, open Available Extensions.
- Switch to the Ready to Install / Upload tab.
- Click Upload Extension, choose the ZIP file and confirm.
Copy the folder by hand
- Unpack the ZIP and copy the
PasskeySecurityfolder toextensions/Others/PasskeySecurity/. -
Run this command in the Paymenter root directory:
composer dump-autoload
Install and enable¶
- Open Available Extensions, tab Ready to Install / Upload.
- Find Passkey Security (Jube Hosting) in the list and click Install. Paymenter opens the extension's settings page.
- Switch on Enabled and save.
Installing and enabling both run the extension's migration, which creates one table: ext_passkeys.
Once the extension is enabled:
- the login page shows the Sign in with a passkey button,
- Account > Security shows the Passkeys, Sessions and Recent sign-ins panels below Paymenter's own content,
- the admin area has two new entries in the Extensions navigation group: Passkeys and Login History.
First-time setup¶
The extension works with its defaults: the passkey button is shown on the login page and the recent sign-ins panel is shown to customers.
Check one thing before you tell customers about it: APP_URL in Paymenter's .env must match the address customers open in their browser. If it does not, every registration and sign in fails with Unexpected origin. See Configuration.
Then register a passkey on your own account under Account > Security, sign out and sign in with it.
Updating¶
- Upload the new ZIP with Upload Extension as described above. Paymenter replaces the
extensions/Others/PasskeySecurityfolder and calls the extension's upgrade step, which runs any new migrations. - If you replace the folder by hand instead, disable and re-enable the extension afterwards. Enabling runs any new migrations.
Registered passkeys and settings are kept.
Disabling¶
Switch off Enabled on the extension's settings page and save. The login page and the security page go back to the theme's own versions, the passkey routes and the two admin lists disappear, and the ext_passkeys table stays. Customers sign in with their password until you enable the extension again. Their passkeys work again afterwards.
Uninstalling¶
- Open the extension's settings page in the admin area.
- Click Uninstall Extension and confirm.
Warning
Uninstalling drops the ext_passkeys table. Every registered passkey is deleted and cannot be restored. Customers then sign in with their password again, so make sure they still know it before you uninstall.
The login history is not removed. It is stored by Paymenter itself in its user_authentication_logs table.