At least in 2023, online was still fragmented / unnavigable to foreigners or just broken. The kiosks worked well though but we had to be shown the right ones.
I just bought it online a two weeks ago and it was super easy, they even send you frequent reminders before your trip so you don't miss it: https://smart-ex.jp/en/index.php