Skip to main content
  • Release Date: April 2026
  • Status: Latest Version (Internal v10.1.7)

What’s New in v1.6.8

This version focuses on improving the developer experience for cancellation flows, extending Apple Pay capabilities, and introducing a more flexible PayPal integration.

Core SDK Improvements

  • unMountSdk() Helper: Introduced a new top-level method for explicit SDK cleanup. This is particularly useful in Single-Page Applications (SPAs) or when a user closes a custom payment modal.
  • Rollback Cancel Flow: Unified cancel flow events. The SDK now explicitly reports CANCELED_BY_USER in the yunoPaymentResult callback across Apple Pay, Google Pay, Click to Pay, PayPal, and Lite SDK.
  • Legacy Event Rollback: Legacy cancel-related events have been consolidated into the standard result flow.

Apple Pay Enhancements

  • Metadata Support: The cancel flow now includes a metadata parameter with a paymentCreated boolean. This helps merchants determine if a transaction was already initiated on the backend before the user canceled the sheet.
  • Contact Info Passthrough: When using CARD_HOLDER_AND_ADDRESS_REQUIRED, the SDK now automatically collects and forwards the customer’s email, phone, and name from the shippingContact.

PayPal REDIRECT Workflow

  • No OTT Flow: Introduced support for a REDIRECT workflow that skips One-Time Token (OTT) creation and fraud detection, utilizing a pre-existing PayPal orderId.
  • PaypalButtonModal: A new component that renders the PayPal button inside a modal when the SDK wasn’t initialized with PayPal at start.

Security & Fraud Detection

  • Forter Token Listener: Added a listener for the ftr:tokenReady event to ensure reliable capture of the Forter session token, preventing stale tokens during mounting/unmounting.

Implementation

unMountSdk() usage

// Clean up the SDK instance and DOM elements
yuno.unmountSdk();

PayPal REDIRECT configuration

yuno.startSeamlessCheckout({
  // ... configuration
  paypal: {
    workflow: 'REDIRECT',
    orderId: 'YOUR_PAYPAL_ORDER_ID',
  }
});