Skip to main content

Migration from version 1.0 to 1.1

Start here if you already integrated Revup Unified SDK 1.0. SDK 1.1 keeps the same script URLs, RevupConfig constructor, and onRevupMessage events — the main changes are checkout layout, APM zone configuration, and styling.

What changed

  • Replace flat apms.enabled with apms.primary, apms.secondary, and apms.other arrays of ApmEntry objects.
  • Move per-button styles from apms.buttonTypes to each entry's type field; move top-level apms.capabilityDetection to per-entry capabilityDetection: true.
  • Move styling from deprecated form.styles / form.buttonStyles to the top-level appearance object (see Appearance API).
  • Language codes now use BCP 47 format (e.g. 'en-US' instead of 'en_US').

What stayed the same

  • Script load, container setup, RevupConfig (apiKey, merchantDomain, orderId), and event handling.
  • getApmsAvailable(), cleanup/re-init pattern, and core init() flow.

Next steps

  1. Checkout Layout — understand primary / secondary / other zones and the card accordion.
  2. Initialization — update init() options (apms zones, form, appearance).
  3. Appearance API — replace form.styles / form.buttonStyles with appearance.variables and rules.

Refer to Integration Guide only if you need a full walkthrough of steps 1–4 and 8.