Checking access…

Skip to main content
Version: v2
Audience: Consumers, CCG Platform Engineers

Widget Versioning

The Widget follows its own semantic versioning cadence, independent of the API version. Widget releases are hosted on the CDN and can be loaded via a <script> tag or the NPM bootstrapper package. Widget v3 is the only widget version paired with the current API (v2) β€” see Widget Versioning (legacy v1/v2 widget pairing) if you're on the legacy Widget v2 / API v1 pairing.

The canonical source of all available versions is the Version History page β€” always check there for the latest release.

Available versions​

The following v3 versions are available on the CDN as confirmed in the Version History page. Support policy, patch commitments, and end-of-life terms are owned by the Widget team β€” confirm with your CCG representative before relying on a specific version for production.

Widget versionSeriesNotes
v3.6.0v3Current release β€” confirmed in version-history.html
v3.5.0v3Available
Choosing a version

Pin to a specific version in production to avoid unintended breaking changes. The Version History page lists all available versions and their release notes.

CDN URL format​

https://{env}.healthsafepay.com/wallet/{version}/{filename}
PlaceholderValues
envwalletprod Β· walletstage Β· wallettest Β· walletdev
versionFull semver prefixed with v, for example v3.6.0. See Version History for all available versions. The Widget NPM bootstrapper loads the widget using the major-version alias (v3) as the CDN path; this alias resolves to the latest certified release in that series. Pin to a full semver for production stability.
filenameccg-widget.js (unminified) Β· ccg-widget.min.js (recommended for production)

Production examples:

<!-- Pinned to a specific version (recommended for production stability) -->
<script src="https://walletprod.healthsafepay.com/wallet/v3.6.0/ccg-widget.min.js"></script>

<!-- Major-version alias β€” resolves to the latest v3 certified release -->
<script src="https://walletprod.healthsafepay.com/wallet/v3/ccg-widget.min.js"></script>

Non-production example:

<script src="https://walletstage.healthsafepay.com/wallet/v3/ccg-widget.min.js"></script>

NPM package version​

The widget is also available as an NPM package for teams who prefer a compiled dependency over a <script> tag.

PackageSeriesInstall command
@uhg-ccg-proj/convenient-checkout-ui (v3 bootstrapper)v3npm install @uhg-ccg-proj/convenient-checkout-ui --save

The NPM package is a lightweight bootstrapper (~120 KB) that loads the full widget bundle from the CDN at runtime. This means your app bundle stays small, and widget updates (bug fixes, security patches) are delivered automatically without requiring a package version update or redeployment.

See the Embedded Experience page for full integration instructions, including the bootstrapper API reference.

Known issues​

See Known Issues for a list of resolved and open widget issues by version.