Lite Web SDK v1.2 Changelog
Release Date: April 2025 Status: Previous version (superseded by v1.3)
What's New in v1.2
Version 1.2 builds on Lite v1.1's streamlined foundation with enhanced payment flow control capabilities and significantly expanded international language support.
Enhanced continuePayment
Method
continuePayment
MethodExpanded functionality allows dynamic configuration changes during payment continuation for more flexible implementations.
- Extended
continuePayment
Functionality: Starting from version 1.2.0, thecontinuePayment
method now accepts additional properties that were previously only available instartCheckout
. This allows you to override specific configurations when continuing a payment.
New continuePayment
Properties
continuePayment
PropertiesComplete list of configuration options now available in continuePayment
:
continuePayment({
checkoutSession?: string
showPaymentStatus?: boolean
yunoPaymentResult?: (status: string) => void
yunoError?: (message: string, data?: unknown) => void
countryCode?: string
language?: string
})
Enhanced Parameters:
checkoutSession
: Override the checkout session for the current paymentshowPaymentStatus
: Control whether to show the Yuno Payment Status pageyunoPaymentResult
: Custom callback for payment result handlingyunoError
: Custom error handling callbackcountryCode
: Specify country code during payment continuationlanguage
: Set language preference during payment continuation
Expanded Language Support
Significantly expanded international language coverage for global Lite SDK implementations:
- Core languages: Spanish (es), Portuguese (pt), Indonesian (id), Malay (ms), Thai (th)
- Asian languages: Filipino (fil), Chinese Traditional (zh-TW), Chinese Simplified (zh-CN), Vietnamese (vi), Korean (ko), Japanese (ja)
- European languages: French (fr), Polish (pl), Italian (it), German (de), Russian (ru), Turkish (tr), Dutch (nl), Swedish (sv)
Implementation Changes
Important considerations for Lite v1.2 implementation and migration.
Key Changes from v1.1
- Enhanced
continuePayment
: Method now accepts configuration overrides - Expanded language options: Support for 18 languages vs. 7 in v1.1
- Backward compatibility: All v1.1 functionality remains supported
Script Tag
Updated script source for v1.2 functionality:
<script src="https://sdk-web.y.uno/v1.2/main.js"></script>
Example Usage
Demonstration of enhanced continuePayment
capabilities in Lite SDK:
// Enhanced continuePayment with configuration override
yuno.continuePayment({
checkoutSession: "438413b7-4921-41e4-b8f3-28a5a0141638",
showPaymentStatus: true,
yunoPaymentResult: (status) => {
console.log("Payment completed with status:", status);
},
yunoError: (message, data) => {
console.error("Payment error:", message, data);
},
countryCode: "US",
language: "en"
});
Complete Implementation Example
Full Lite v1.2 implementation showing enhanced capabilities:
// Lite v1.2 implementation with enhanced continuePayment
const yuno = await Yuno.initialize(PUBLIC_API_KEY)
yuno.startCheckout({
checkoutSession: "438413b7-4921-41e4-b8f3-28a5a0141638",
elementSelector: "#root",
countryCode: "FR",
language: "fr",
showLoading: true,
issuersFormEnable: true,
showPaymentStatus: true,
card: {
isCreditCardProcessingOnly: true,
},
onLoading: (args) => {
console.log(args);
},
yunoPaymentResult: (status) => {
console.log("Payment result:", status);
},
yunoError: (message, data) => {
console.error("Payment error:", message, data);
},
});
// Enhanced continuePayment with overrides
if (paymentResponse.sdk_action_required) {
const result = await yuno.continuePayment({
countryCode: "DE",
language: "de",
showPaymentStatus: false,
yunoPaymentResult: (status) => {
console.log("Payment continued with result:", status);
}
});
}
Migration from v1.1
Smooth upgrade path with no breaking changes from Lite v1.1.
Upgrading from Lite v1.1 to v1.2:
- Update script source to v1.2
- Optionally leverage new
continuePayment
parameters for enhanced control - Take advantage of expanded language support for international implementations
- No breaking changes - existing implementations continue to work
Migration Timeline
- Sandbox: Changes active from June 5, 2025
- Production: Changes active from September 5, 2025
What's Deprecated
Fully backward compatible release with no deprecated features.
No features were deprecated in Lite v1.2. All previous functionality remains available and supported.
Lite SDK Specific Benefits
The Lite Web SDK v1.2 maintains its streamlined approach while adding powerful capabilities:
- Simplified complexity: Enhanced features without overwhelming configuration options
- Global reach: Expanded language support for international markets
- Flexible flows: Enhanced
continuePayment
for dynamic payment scenarios - Easy migration: Backward compatible upgrades from v1.1
Lite SDK FocusThe Lite Web SDK v1.2 continues to provide essential payment functionality with enhanced capabilities. For merchants needing more advanced features or customization options, consider the Full Web SDK for comprehensive payment processing solutions.
Additional ResourcesFor implementation guidance and examples, visit the Lite Web SDK documentation and the GitHub repository for more information.