waffy_sdk_flutter 0.6.0
waffy_sdk_flutter: ^0.6.0 copied to clipboard
Official Waffy payments SDK for Flutter. Embed the Waffy checkout in your app and get success or failure callbacks.
0.6.0 #
- Add
ticket(recommended) andhintauthentication toWaffyPaymentWebView, alongside the legacyuserToken.ticketis appended to the payment URL asticket.hintis appended to the payment URL aslogin_hint.userTokenis still appended asuserTokenUrl, so existing integrations keep working unchanged.
userTokenis no longer required. Provide exactly one ofticket,hintoruserToken; passing none, or more than one, throws aWaffyAuthError.- Add
WaffyPaymentWebView.ticket,WaffyPaymentWebView.hintandWaffyPaymentWebView.userTokenconstructors, which accept only one authentication value, so passing more than one is a compile-time error. - The default constructor asserts that exactly one authentication value is provided.
- Version aligned with the React Native SDK.
0.1.0 #
- Initial public release.
WaffyPaymentWebViewwidget that loads the Waffy checkout in a WebView.onPaymentComplete,onPaymentSuccess,onPaymentFailureandonUrlChangecallbacks.WaffyPaymentStatusenum (success,failed).