Skip to main content
Seamless Lite combined two legacy traits: Seamless (the SDK created the payment internally, with no yunoCreatePayment callback exposed) and Lite (the payment method was pre-selected by the merchant; the SDK only rendered the form for that one method). In the unified API transaction.start({ paymentMethod }) mounts the form for the pre-selected method and transaction.submit() pays from your button. No createPayment on the config (Seamless was always managed).

Before you start

  • Load the unified SDK bundle instead of the legacy one and initialize it as the side-by-side shows: window.Yuno.initialize(...) becomes SdkPayments.initialize(...). Your public API key and the checkout sessions your backend creates do not change (Before you begin).
  • Decide who creates the payment. The checkout session’s workflow must match that decision:
A default-workflow session with no createPayment override ends in INTERNAL_ERROR: the backend rejects the SDK’s payment creation. See createPayment.

Side-by-side

What changes

Grouped in the order you edit the code. Renamed: same role, new name. Moved: same value, new owner. Removed: nothing to call. New: no legacy counterpart. The last column is the only thing you have to do beyond the rename.

Initialization and config

Callbacks

Entry points

  • TransactionConfig. Complete field reference.
  • Seamless mode. For Seamless Full and Seamless External Buttons.
  • Lite mode. For non-Seamless Lite (which supports yunoCreatePayment for manual mode).