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.enabledwithapms.primary,apms.secondary, andapms.otherarrays ofApmEntryobjects. - Move per-button styles from
apms.buttonTypesto each entry'stypefield; move top-levelapms.capabilityDetectionto per-entrycapabilityDetection: true. - Move styling from deprecated
form.styles/form.buttonStylesto the top-levelappearanceobject (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 coreinit()flow.
Next steps
- Checkout Layout — understand primary / secondary / other zones and the card accordion.
- Initialization — update
init()options (apmszones,form,appearance). - Appearance API — replace
form.styles/form.buttonStyleswithappearance.variablesandrules.
Refer to Integration Guide only if you need a full walkthrough of steps 1–4 and 8.