Skip to main content

Migrating to Web SDK v1.2

Version 1.2.0 is a non-breaking release. No changes are required for existing v1.1 integrations.

What changed

Optional options parameter in Yuno.initialize()

Yuno.initialize() now accepts an optional options configuration object as a second argument. Existing calls without this argument continue to work without modification.

Extended continuePayment parameters

continuePayment() now accepts additional optional parameters: checkoutSession, showPaymentStatus, yunoPaymentResult, yunoError, countryCode, and language. All parameters are optional — existing calls with fewer arguments continue to work.

Steps

1. Update the script tag

2. (Optional) Adopt new parameters

No code changes are required. If you want to take advantage of the new optional parameters, update your initialize() and continuePayment() calls as shown above.

Checklist

  • Updated script tag to v1.2
  • (Optional) Added options parameter to Yuno.initialize() if needed
  • (Optional) Extended continuePayment() with additional params if needed