Advanced Mode
The @revere_payments/tokenizer package also provides an advanced, configurable API via the AdvancedReverePay class. It gives you full control over field mounting targets, validation hooks, styles, and flow control for both Card and ACH flows.
info
The library is intended for browser usage only. For a server-side solution please contact support.
What you can do with Advanced mode:
- Mount fields into your own layout by providing element IDs.
- Customize validation hooks per field (invalid, checkValidity, reportValidity).
- Dynamically update placeholders/values and input styles at runtime.
- Control focus, form submission, and strict mode email checks.