vezmo_checkout 0.1.0
vezmo_checkout: ^0.1.0 copied to clipboard
The Vezmo payment sheet for Flutter apps: cards with 3D Secure, Google Pay, Apple Pay, pay-later methods, UPI and Pix, in the buyer's own currency. Payments and subscriptions.
Changelog #
0.1.0 #
The first release of the Vezmo payment sheet for Flutter apps (vezmo_checkout), on Vezmo's native SDKs.
- API:
VezmoCheckout(configuration: …),prepare(clientToken: …)orprepare(subscriptionToken: …), thenpresent(). Neither throws. Results are a sealed class:CheckoutSucceeded,CheckoutProcessing,CheckoutCanceled,CheckoutFailedwith aVezmoError(VezmoErrorCodeand a message written for the buyer). One sheet at a time:present()while it is open is aconfigerror. - Android: the native Vezmo Android SDK's sheet (
com.vezmo:vezmo-checkout0.1.0): cards with 3D Secure, Google Pay, Klarna, Affirm, Afterpay, Amazon Pay, Cash App, UPI and Pix, the buyer's own currency, light and dark. The buyer comes back from bank apps and pay-later providers by themselves. Needs aFlutterFragmentActivity. A session prepared before the activity is recreated (a configuration change) is prepared again on the new one, sopresent()still opens it. - Subscriptions:
prepare(subscriptionToken: …)starts a subscription (the first payment, or a free trial with the card saved); the result carriessubscription(ref,status), andpaymentIdis null for a free trial. - Appearance: your colors (one, or light and dark), corner radius and a native font through
VezmoAppearance. - iPhone: the native Vezmo iOS SDK's sheet (Swift package
VezmoCheckout0.1.0, through Swift Package Manager): cards with 3D Secure, Apple Pay, pay-later methods, Cash App, UPI and Pix. The plugin hands links back into the app to the sheet by itself. Subscriptions too. - Apple Pay and Google Pay merchant country from the session: the country of the account that processes the
payment (the business's own on Connect, Vezmo's on merchant of record).
merchantCountryCodeonApplePayOptionsandGooglePayOptionsis optional and only overrides it. - Closing while UPI or Pix waits: the sheet asks Vezmo first. Paid meanwhile, it shows the receipt (
CheckoutSucceeded); still waiting in the buyer's bank app, the result isCheckoutProcessing, never canceled, since the buyer can still approve it. - No answer while paying (a timeout, a dropped connection): the sheet checks the session before reporting
network, so a payment that went through is never reported as failed. A payment Vezmo already took stays the result even when the payment engine fails afterwards. - Android: a payment in flight is never lost or doubled when the phone's settings change or the process is stopped.
- Test-mode badge: a darker orange behind its white text (5.2:1, up from 3.6:1), in light and dark.
- Android 7.0+ (API 24), iOS 15.1+; Flutter 3.41+.