flutter_wing_checkout 1.0.0 copy "flutter_wing_checkout: ^1.0.0" to clipboard
flutter_wing_checkout: ^1.0.0 copied to clipboard

Flutter checkout for Wing Bank online payment, built on dart_wing: opens Wing's payment page in a web view and reports success or cancellation.

1.0.0 #

  • First release, built on dart_wing 1.0.0, which it re-exports.
  • WingCheckoutView: Wing's payment page in a web view; reports WingCheckoutResult (success, failed, cancelled, with Wing's token) when Wing redirects to the return or cancel URL, without loading them. WingCheckoutView.open pushes it as a page.
  • WingCheckoutResult.match for apps that open Wing's page their own way.
  • Complete example: cart, authorization behind a PaymentBackend, Wing's page, confirmation with inquiry, receipt; configured with a .env.
  • onWebViewCreated gives the InAppWebViewController, e.g. to read the page.
  • Requires Flutter 3.35 / Dart 3.9; Android, iOS, macOS, Windows and web (flutter_inappwebview). Opened Wing's staging payment page on macOS.
0
likes
150
points
50
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Flutter checkout for Wing Bank online payment, built on dart_wing: opens Wing's payment page in a web view and reports success or cancellation.

Repository (GitHub)
View/report issues

Topics

#wing #payment #checkout #cambodia

License

MIT (license)

Dependencies

dart_wing, flutter, flutter_inappwebview

More

Packages that depend on flutter_wing_checkout