Square connect API - iOS SDK offline mode error

261 views Asked by At

I am trying to test offline payment mode. But when I tried to make payment from my app offline, I got below error in Register App

enter image description here

Also, offline mode is ON from settings

enter image description here

So, am I missing something to configure ?

2

There are 2 answers

4
tristansokol On BEST ANSWER

You need to have internet connection at least in the beginning so that we can validate your application against what you have registered in the developer portal. After that you can process in offline mode.

0
Maulik On

Ok I got it what was the issue.

For the very first time Square Register app requires the internet to validate our app. After that no need to kill Square Register app so it will be in background. So next time Square Register app wont need internet connection to validate our app.

If Square Register app is killed and open again then it will require the internet.