Step 4: Show the banner
Place an element where you want to show the banner, and call mount(). On screens that create the element each time they open, such as a cart drawer, call mount() each time the screen opens, and when it closes, call unmount() on the value that mount() returned to remove the banner.
components/CheckoutPlusBanner.tsx in 4-1. Examples that connect to the SDK is an example. If you place <CheckoutPlusBanner /> where you want to show the banner, it shows the banner with mount() and removes it with unmount() when the element is detached.
We recommend placing it above the total on the cart page and in the cart drawer, directly above the checkout button. In that position, shoppers see the price before they press the checkout button.
Even on screens that don't show the banner, a Checkout+ product left over from the previous screen is removed by the refresh() right after initialization (refresh: Call it once right after initialization).

How the banner appears. It is unchecked, and the description is set with displaySettings. To change the text, see displaySettings of init; to change the appearance, see Change the look with CSS in mount.
The default text is in Japanese regardless of locale. To show another language, specify the text with displaySettings. "by Recustomer" and "Powered by Recustomer" are fixed and cannot be changed (Parts of the banner in mount).