RTL support

The RTL support of the hosted/toolkit does not support RTL.

When the selected language is Hebrew, there are a few issues with the CSS/HTML

  1. The root html attributes are wrong
    I would expect the html tag to be:
expected <html lang=”he” dir=”rtl”>
actual <html lang="en" dir="ltr">
  1. The writing direction for some reason is also controlled via CSS
    which makes the html tag mentioned above useless
    <style>
      html,
      body {
        direction: ltr;
      }

      #root {
        direction: ltr;
      }
    </style>

I would expect an Israeli company to do better :slight_smile:

The entire layout/flow of the elements should have beeen flipped

This is making me consider wheather Rapyd is the right solution, as the UX will be sub-optiomal for my users.

This looks like a bug rather than a configuration issue: the explicit direction:ltr on html, body and #root will override any dir=β€œrtl” set on a wrapper, so embedding it in an RTL page probably won’t fix the layout. Worth reporting to Rapyd support with the toolkit version, browser, exact locale initialization and a minimal reproduction, and asking whether hosted checkout/toolkit supports RTL at all. I’d avoid broad CSS overrides on your side because they can break checkout internals.