YunoSdk.startPaymentSeamlessLite resolved with the final YunoStatus. In the unified API this is the default behavior of Transaction.start(paymentSelected) when the controller has no createPayment: the SDK creates the payment and reports the result through onStatus.
Before you start
- Upgrade
@yuno-payments/yuno-sdk-react-nativeto 2.0.0 and runpod install. Your public API key does not change (Before you begin). - On Android,
minSdkVersionis now 23. If yourandroid/build.gradleapplies the Compose compiler plugin to the Yuno module (a 1.x workaround), remove that block: with 2.0.0 the build fails with “The Compose Compiler requires the Compose Runtime to be on the class path”. - Create the checkout session with
workflow: "SDK_SEAMLESS", as you did for Seamless Lite. It is what lets the SDK create the payment; without it the transaction ends inINTERNAL_ERROR. See theworkflowfield.
Side-by-side
What changes
Grouped in the order you edit the code. Renamed: same role, new name. Moved: same value, new owner. Removed: nothing to call. New: no legacy counterpart. The last column is the only thing you have to do beyond the rename.Initialization and config
Controller
Entry points
Related
- Get Started. Full unified-API walkthrough.
createPayment. Why leaving it out means the SDK creates the payment.Status. Values and substatus.