Interactive Software calculates, Initial Availability, Amount withheld, Fees, Cash At Close based on Advance Rate and A/R Aging [Payment Periods]. Users are able to estimate for different scenarios.
npm install @simplifyingcalculation/factor-calculatorA secure, obfuscated Web Component () that can be embedded into any framework
(React, Angular, Vue, Wordpress) with domain-bound license validation.
---
You need a valid license key to install this SDK.
``bash`
SDK_LICENSE_KEY=YOUR-LICENSE-KEY npm install @simplifyingcalculation/factor-calculator
> β οΈ Installation will fail if the license key is missing or invalid.
---
The widget requires a license-key.
These is issued by your account portal after purchase.
Example usage:
`html`
>
The license validation system supports local address binding (for development) and domain binding (for staging/production). Both must be configured correctly for the widget to work in the respective environment.
#### Development
* You must register at least one local address in your license portal.
* Typical entries include:
* 192.1xx.xx.xxx:3000 (ip_address:port_number)localhost:3000
* (localhost:port_number)
* This ensures the widget runs correctly on your local machine during development.
#### Staging & Production
* You must register the domain names where the widget will be deployed.
* Examples:
* staging.example.comapp.example.com
*
* At runtime, the widget checks the current domain against your license record.
If the domain or local address is not whitelisted, validation will fail and the widget will not render.
1. Log in to your account portal.
2. Register your development Local address.
3. Register your production domain.
4. Register your staging domain (optional).
5. Deploy the widget with the correct license-key.
* license-key β your public identifier
* user-validation β automatically validates (package):
* Domain binding
* Local address binding
* Expiry date
If validation fails, the widget does not render.
---
π Full Docs on Portal
`jsx
import "@simplifyingcalculation/factor-calculator";
function App() {
return (
export default App;
`
`ts`
// main.ts
import "@simplifyingcalculation/factor-calculator";
`html`
>
We provide a ready-to-install WordPress plugin ZIP inside this package, so you donβt need to write any PHP code yourself.
1. Download the plugin ZIP
After installing this package, youβll find the plugin at:
``
node_modules/@simplifyingcalculation/factor-calculator/dist/wp-widget.zip
Or β¬οΈ Download the ZIP directly.
2. Upload to WordPress
* Go to your WordPress Admin dashboard.
* Navigate to Plugins β Add New β Upload Plugin.
* Choose wp-widget.zip and click Install Now.
* After installation, click Activate Plugin.
3. Use the widget
In any post or page, insert the shortcode:
``
[factor_calculator license-key="YOUR-KEY"]
Or use the Custom HTML block and insert the tag directly:
`html`
>
* The plugin automatically enqueues the widgetβs JavaScript and CSS assets, no extra setup required.
* Keep your license-key` values secure β treat them as you would any public API key.
---
This Widget is proprietary to SIMPLIFYING CALCULATION and requires a valid license to install and use.
Unauthorized usage or distribution is prohibited.