I am using flutter to build my first ever app.The app is designed for users to be able to buy and sell products amongst each other and I would like to set up functionality to have payments go through the app. There does not seem to be a lot of documentation on this and I really don't know where to start. Can anyone enlighten me of what the easiest route to go down will be? Square? Stripe? Are there any good start to finish tutorials out there? Thanks in advance.
You can definitely do this with Square using our In-App Payments SDK! I would suggest taking a look at our example to quickly get started: https://github.com/square/in-app-payments-flutter-plugin/tree/master/example This will show you from start-to-finish how to take a payment from a customer within your Flutter application.
With that said, to comment on how this would behave: Essentially your Flutter application would be able to open a "card entry" screen, which would allow a customer to enter their card details accordingly. The result would be a nonce
, which you can then easily charge on your backend. The example shows all of this, I just wanted to quickly explain the high-level behavior.
For more information, I suggest taking a look at the Square Developer Docs for our In-App Payments SDK. Of course, if you have follow-up questions, don't hesitate to follow-up with us over in our Slack channel: https://squ.re/2Hks3YE
© 2022 - 2024 — McMap. All rights reserved.