Components#
When Drop-in's pre-built UI doesn't fit, mount individual Plexy Components on their own and orchestrate the flow yourself. Each Component renders its own UI and exposes lifecycle callbacks.locale is the checkout interface language and regional formatting, for example ru-KZ, en-US, or kk-KZ. Do not use it as a currency field. Currency belongs only in amount.currency, for example KZT.
A standalone Component works with either flow. In the Sessions flow the Component communicates with Plexy directly; in the Advanced flow onSubmit fires with the state your backend should POST to /v2/payments.