Square + Flutter: Beautiful, fast mobile payment apps

Take In-App and In-Person Payments with Square Flutter Plugins

Shannon Skipper
Dec 4, 2018 · 4 min read

Heads up, we’ve moved! If you’d like to continue keeping up with the latest technical content from Square please visit us at our new home https://developer.squareup.com/blog

Flutter is Google’s new framework for building beautiful native apps on iOS and Android from a single codebase. Today, we’re excited to announce that Square and Flutter have partnered to create plugins to take in-app and in-person payments from Flutter apps!

We’re delighted to see Square delivering first-class payment services to Flutter apps. Flutter developers now have a great way to take payments from their apps with only a few lines of code. Square has been a fantastic partner to work with: they understand their customers’ needs well and have built a solution that we think will be compelling to many developers.

Tim Sneath, Group Product Manager for Flutter & Dart, Google

In-Person Payments

By adding a few lines of code to your Flutter app, you can now physically take payments using a Square Reader device. Just provide an amount and currency to the plugin, and your app will be able to take card-present payments with a swipe, dip, or tap.

Below is an example onCheckout() function, which starts the plugin checkout flow with the parameters provided:

Find all of the available checkout parameters over on the GitHub repo.

We can now enable the previously disabled “Charge” button, with an onPressed: onCheckout and a Flutter hot reload:

Hot reloading Reader SDK Flutter plug-in on Android simulator.

At the Flutter Live event, we showed Collins Family Orchards’ custom Flutter app, which takes in-person payments with Square. Collins Family is a fourth-generation organic family farm that has been selling produce at multiple locations with Square for years. They loved using Square, but faced challenges keeping track of sale locations with vendors moving between several farmers markets.

In order to track produce sold at each location, they created a custom, branded point of sale app that uses the Flutter plugin for Square Reader SDK. Using this location-aware app, they can see when and where they made their sales. With Flutter, Collins Family quickly created a beautiful app integrating with Square hardware to streamline their payments.

In-App Payments

Within your app, customers can enter their card number or use a digital wallet to make payments. Add the In-App Payments plugin to your Flutter app, customize the look and feel, and leave the payments complexity to us.

Our In-App Payments Flutter plugin supports popular wallets including Google Pay and Apple Pay (US-only for early access). We also support Card on File, which enables you to safely store cards post-sale to streamline the experience for future purchases. All together, this plugin makes it friction-free and seamless for your customers to purchase more from your Flutter app, resulting in increased conversions and sales.

You can sign up here to get early access to take payments with Square from your mobile app.

Omni-Channel Payments

We’ve been following Flutter for a while, and quickly fell in love with its combination of a fast development experience and beautiful output. Many of our customers have been asking us to produce Flutter plug-ins, and seeing the fast growth of Flutter, we knew that we had to make a priority of supporting it.

— Carl Perry, General Manager for Developer Platform, Square

Try Square Flutter plugins today. We’re incredibly excited to see what you’ll build!


Tweet us at @SquareDev, join us in our Square devs Slack community, and sign up for our newsletter. Contributions are also welcome to our open-source GitHub repos.

Square Corner Blog

Buying and selling sound like simple things - and they…

Thanks to 胡晓 and Richard Moot

Shannon Skipper

Written by

Square Corner Blog

Buying and selling sound like simple things - and they should be. Somewhere along the way, they got complicated. At Square, we're working hard to make commerce easy for everyone.

Shannon Skipper

Written by

Square Corner Blog

Buying and selling sound like simple things - and they should be. Somewhere along the way, they got complicated. At Square, we're working hard to make commerce easy for everyone.

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store