Troubleshooting
Issue | Cause | Fix |
---|---|---|
QuickTradeWidget is undefined | Script not loaded or wrong path | Confirm SCRIPT_URL is correct and script finishes loading before calling createWidget |
Widget styles look broken | App’s CSS overriding shadow styles | Ensure you haven’t added all: unset globally; widget is encapsulated via Shadow DOM |
SDK events not received | Using wrong event name | Use widget.subscribe('all', ...) to debug and list event types |
Theme not applying | themeMode prop missing | Pass themeMode: 'light' or 'dark' when creating widget |
If an error isn’t covered here, open the browser console — the widget logs descriptive messages for most failures.