payments_lk 0.1.0 copy "payments_lk: ^0.1.0" to clipboard
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.open opens a hosted checkout in the system's authentication browser (ASWebAuthenticationSession on iOS, a Custom Tab on Android, through flutter_web_auth_2) and answers the outcome from the checkout's return to your app's scheme: succeeded, failed, canceled, expired, or dismissed when the customer closes the browser.
  • PaymentsLkCheckout.openPage and subscriptionLinkUrl open 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.
0
likes
160
points
56
downloads

Documentation

Documentation
API reference

Publisher

unverified uploader

Weekly Downloads

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.

Homepage
Repository (GitHub)
View/report issues
Contributing

Topics

#payments #checkout #sri-lanka #lkr

License

MIT (license)

Dependencies

flutter, flutter_web_auth_2

More

Packages that depend on payments_lk