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.
深度链接与外部浏览器返回
某些支付流程会将用户重定向到外部浏览器,包括 3DS 认证挑战、银行转账重定向、PIX 支付以及其他替代支付方式。请按照以下步骤处理用户返回您应用的情况。
- 在结账会话中设置 callback_url
在您的 backend 上创建结账会话时包含 callback_url:
- 配置深度链接
iOS:Info.plist:
- 在 react-native 中处理深度链接
- 返回后继续支付
处理深度链接后,继续支付流程:
性能
延迟加载
仅在用户进入支付流程时初始化 SDK,以节省资源。错误处理
监听onPaymentStatus 事件,以妥善处理失败情况。