Knowledge Base > Custom Fees > General Settings

General Settings

General Settings control when and how order fees are calculated at checkout. Open General Settings from the app sidebar to configure these options, listed below.


Store Hash

A read-only value that identifies your store. It is used internally and cannot be changed.


Enable Fee Calculation on Checkout

When on, fees are automatically calculated and applied on the checkout page. This is required for fees that depend on checkout-specific data (for example shipping zone, shipping method, or address).

When off, fee calculation at checkout is disabled. It is recommended that you use this if your fees do not depend on checkout-specific data.


Recalculate Fees When Specific Elements Are Clicked

When on, the app utilises a script on your storefront that listens for customer clicks on specified checkout UI elements. When one of these elements is clicked - for example a checkout “Continue” button - the app recalculate fees so that the amounts stay in sync with the current cart and checkout step (e.g. after the customer chooses shipping or address).

Use this when fees depend on shipping zone, shipping method, or address. Without it, fees may be calculated before the customer completes those steps and can be wrong until the page is refreshed.

When off, the script is not injected and fee recalculation is not triggered by element clicks.


Element IDs to Trigger Webhook

(Only visible when Recalculate Fees When Specific Elements Are Clicked is on.)

Enter the HTML id values of checkout UI elements that should trigger a fee recalculation when clicked. Use comma-separated values. Do not include a hash (#) -- enter only the ID.

Examples:
checkout-shipping-continue, checkout-billing-continue

Typical usage: IDs of the buttons that advance each checkout step so fees recalculate after the customer selects shipping or billing details.


Element Classes to Trigger Webhook

(Only visible when Recalculate Fees When Specific Elements Are Clicked is on.)

Enter the CSS class names of elements that should trigger the webhook when clicked. Separate multiple classes with commas.

Examples:
cart-button, checkout-btn

Use when your theme uses classes rather than IDs for checkout buttons, or when you want several different elements to trigger recalculation.


Saving

Click Save Changes at the bottom of the form to apply your settings. Changes take effect on the next checkout load (or after the next time a customer triggers the manual webhook, if enabled).


Did you find this article useful?