跳转到主要内容
This page documents a legacy SDK. Starting a new integration? Use the Yuno SDK. Already on a legacy SDK? Follow the migration guide.The new Yuno SDK (Web v2.x, iOS v3.x, Android v3.x, React Native v2.x) replaces the Full, Lite, Seamless, Render, Headless, and Secure Fields SDKs with one API across every platform. Legacy SDKs remain supported side by side during the transition and are scheduled for deprecation in 2027. Contact your Account Manager for migration planning.
Orientation: Choosing Your Integration Flow, before you begin, please review the Official Integration Flow.
  • Standard Flow (Full Checkout): Recommended for most merchants. Yuno handles the UI, security, and automatic updates for payment methods.
  • Custom Flow (This SDK): Use this only if you require full control over the UX. Note: You will be responsible for manually handling payment statuses, 3DS transitions, and fraud routing data collection.

深度链接与外部浏览器返回

某些支付流程会将用户重定向到外部浏览器,包括 3DS 认证挑战、银行转账重定向、PIX 支付以及其他替代支付方式。请按照以下步骤处理用户返回您应用的情况。

  1. 在结账会话中设置 callback_url

在您的 backend 上创建结账会话时包含 callback_url:
iOS:Info.plist:
Android:AndroidManifest.xml:

  1. 返回后继续支付

处理深度链接后,继续支付流程:

性能

延迟加载

仅在用户进入支付流程时初始化 SDK,以节省资源。

错误处理

监听 onPaymentStatus 事件,以妥善处理失败情况。

特定平台配置

在您的 React Native 应用中处理 iOS 和 Android 之间的差异。

条件配置

平台差异