Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request: Support opening the Square Point of Sale app other than for a sale #97

Open
DaveMcKraken opened this issue Feb 23, 2021 · 0 comments

Comments

@DaveMcKraken
Copy link

We currently use the Point of Sale SDK in our iOS app to complete sales and link the Square transaction id to our backend, saving the transaction details on our server. Occasionally our users want to go back to the linked transaction in the Square Point of Sale app to do actions such as refunds, reprinting receipts, etc. We have found that using UIApplication.shared.open(URL(string: "square-commerce-v1://")) will allow us to open the Square app, but it always shows the following error:

IMG_0053

Is there some way to change the URL so that the error doesn't show up when trying to open the Square app? Or some other alternate method of directly calling the Square app to open without starting the sale? Ideally, for our use case, it would also navigate to the transactions screen, but simply opening the app without looking like it has broken would work as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant