payments_lk 0.1.0
payments_lk: ^0.1.0 copied to clipboard
Open a Payments.lk hosted checkout from a Flutter app on iOS or Android, and get the outcome back through your app's own URL scheme.
Changelog #
0.1.0 (30 September 2026) #
The first version.
PaymentsLkCheckout.openopens a hosted checkout in the system's authentication browser (ASWebAuthenticationSessionon iOS, a Custom Tab on Android, throughflutter_web_auth_2) and answers the outcome from the checkout's return to your app's scheme:succeeded,failed,canceled,expired, ordismissedwhen the customer closes the browser.PaymentsLkCheckout.openPageandsubscriptionLinkUrlopen a subscription link or the customer portal and report whether the page returned to the app.- The same checks as the React Native, iOS and Android SDKs: https checkout URLs only (plain http on this machine or the Android emulator's host, for testing), an app scheme that is not a web or script scheme, and a return with exactly one checkout id and one outcome.