1
votes

I'm working on a react native project and I would like to integrate the square API for the usage of micro payments. I looked into the square documentation and provided examples (https://github.com/square/connect-api-examples).

Apparently native mobile development is not support for the Transactions API + Payment Form or the Checkout API yet (https://docs.connect.squareup.com/payments/take-payments). The Point of Sale API seems not to fit our needs.

Is there any way to get square-connect working for react native?

Thanks.

2
I built react-native-square-pos to make it easier to interact with Square Point of Sale from React Native. - connorbode

2 Answers

0
votes

Does it have to be Square? There are a ton of other ways to take payments through react native.

  1. Apple & Android Pay (recommended)
  2. Stripe
  3. Braintree
  4. PayPal

If it must be square via their Transactions API, then you should be able to get that done using WebView, in which case you'd probably want to also use one of these WebView communication libraries.

NOTE: There are others

0
votes

This project is pretty new and seems to be promising: https://github.com/SudoPlz/react-native-sp-reader-sdk. It aims to bridge the new Square ReaderSDK for react-native so you can take payments on your apps with the physical square devices.