Widget Versioning
Widget versions follow their own semver, independent of the API version β check the CDN version-history page before pinning a release in your app.
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.
The canonical source of all available versions is the Version History page β always check there for the latest release.
Available versionsβ
The following v2 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 version | Series | Notes |
|---|---|---|
| v2.64.0 | v2 | Available β backwards-compatible flows only |
| v2.63.0 | v2 | Available β backwards-compatible flows only |
< v2.63.0 | v2 | Not listed in version-history.html; availability unconfirmed β use v2.63.0 or later |
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}
| Placeholder | Values |
|---|---|
env | walletprod Β· walletstage Β· wallettest Β· walletdev |
version | Full semver prefixed with v, for example v2.64.0. See Version History for all available versions. Pin to a full semver for production stability. |
filename | ccg-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/v2.64.0/ccg-widget.min.js"></script>
Non-production example:
<script src="https://walletstage.healthsafepay.com/wallet/v2.64.0/ccg-widget.min.js"></script>
Widget v2 vs Widget v3β
| Capability | Widget v2 | Widget v3 |
|---|---|---|
| Required for V1 to V2 migration | No | Yes |
| Split tender (pay with multiple payment methods) | No | Yes |
| HSA-aware wallet | No | Yes |
| Standard single-payment flows | Yes | Yes |
| Backwards-compatible V1-origin flows | Yes | Yes |
Legacy NPM (OptumCCGWidgetInitializer) | Yes | No |
NPM bootstrapper (CCGWidgetInitializer) | No | Yes |
Use Widget v2 only for an existing integration that relies on the legacy NPM package (OptumCCGWidgetInitializer) and hasn't yet migrated. Confirm patch and maintenance terms for v2 with your CCG representative.
Migrating to V2? Widget v3 is required β see Migrate to CCG V2 and the current Widget Versioning reference for v3.
NPM package versionsβ
The widget is also available as an NPM package for teams who prefer a compiled dependency over a <script> tag.
| Package | Series | Install command |
|---|---|---|
@uhg-ccg-proj/convenient-checkout-ui@2 (legacy) | v2 | npm install @uhg-ccg-proj/convenient-checkout-ui@2 --save |
See the Embedded Experience page for full integration instructions.
Known issuesβ
See Known Issues for a list of resolved and open widget issues by version.