You add prewritten but fully customizable Splitit Flex Fields UI into your front-end checkout flow. It is toggled off by default (hidden). Using a front-end event of your choice (a button press, a radio button select, page load, etc.), you trigger a call to the Splitit Initiate API on your server to start a new installment plan. This returns a token that allows you to initialize your Flex Fields (
FlexFields.SetPublicToken()), which are still hidden. Another event, such as a button press, calls
FlexFields.Show()to toggle Flex Fields on, letting the user check out.
Last modified 5mo ago