
Topomer admin dashboard
Topomer extends WooCommerce with two main capabilities:
The plugin validates customer tokens through Topomer services, calculates discount rules from remote price intervals, and updates balances after successful checkout.
This plugin relies on external services provided by Topomer (hosted on files-pub.com) for core functionality. Without these services, token validation, balance handling, and some promo/payment logic will not work.
* URL: https://files-pub.com/api/plugin/users/get-by-token
* Purpose: Validate customer token and retrieve account data.
* Trigger: Checkout flow and visits containing ?idTopomer=TOKEN.
* Data sent: Token value (URL parameter).
* URL: https://files-pub.com/api/interval-prix
* Purpose: Retrieve discount intervals used for dynamic promo calculation.
* Trigger: Cart/checkout logic when discount rules are needed.
* Data sent: No customer personal data.
* URL: https://files-pub.com/api/plugin/users/update-solde
* Purpose: Update user balance after successful payment.
* Trigger: After order completion/payment processing.
* Data sent: Token, updated balance amount, user ID.
* URL: https://files-pub.com/api/plugin/users/update-expired
* Purpose: Mark a token as used/expired.
* Trigger: After token usage or validation workflow.
* Data sent: Token, expiration status.
* URL: Hosted on files-pub.com (Topomer internal endpoint)
* Purpose: Retrieve available shopper balance for payment checks.
* Trigger: Access with ?idTopomer=ID and during checkout.
* Data sent: Personal shopper ID and authentication token in headers.
* URL: Hosted on files-pub.com (Topomer internal endpoints)
* Purpose: Create/update promo codes from admin actions.
* Trigger: Admin creates or updates promo definitions.
* Data sent: Promo details (code, percentage, type, and ID for updates).
* URL: Hosted on files-pub.com (Topomer internal endpoint)
* Purpose: Create/process order records after payment.
* Trigger: After successful payment.
* Data sent: Order data (order ID, customer info, items, totals, payment method).
* URL: Hosted on files-pub.com (Topomer internal endpoint)
* Purpose: Obtain access token for API requests.
* Trigger: Plugin authentication flow.
* Data sent: Authentication credentials.
Developed by Topomer.