Watenga Elements
Composable payment UI components — build a custom checkout while keeping PCI scope minimal. Elements ship inside @watenga/js (there is no separate Elements npm package).
Live card payments: use the embedded widget (watenga.mount()). Card elements.submit() is disabled in the production SDK bundle; phone and address Elements remain available for custom layouts.
Widget vs Elements
| Watenga.js Widget | Elements | |
|---|---|---|
| Setup time | Minutes (3 lines) | Hours (custom layout) |
| UI control | Prebuilt tabs & theme | Full layout control |
| PCI scope | SAQ A | SAQ A (iframes) |
| Best for | Most merchants | Custom checkout flows |
See Card, Phone, and Appearance for details.
