0
votes

manually When I log into the Square Register app on my device and do a sale, I get the options of "Record Card Payment", "Cash" and "Other". But when I try to launch via my app, I only get the "Cash" and "Other" options.

I have set the tender types in my app like this:

Set<ChargeRequest.TenderType> tenderTypes = new LinkedHashSet<>();
        tenderTypes.add(ChargeRequest.TenderType.CARD);
        tenderTypes.add(ChargeRequest.TenderType.CASH);
        tenderTypes.add(ChargeRequest.TenderType.OTHER);

..so why does the card option not appear?

The card option does appear if I don't set any tender types - i.e., by not calling restrictTendersTo(tenderTypes).

I am wondering why this is. And how to set it up so the user is only presented with Cash and Card options when coming via my app?

NB - I don't have an actual card reader attached to my device yet.

1
Which version of Android are you on? - tristansokol
Also which country are you trying the requests from? - tristansokol
My device is running Android 5.0.2 and I'm in the UK. - ban-geoengineering

1 Answers

0
votes

Unfortunately Square's APIs are not currently available in every country. (Right now only US & Canada) See here https://docs.connect.squareup.com/articles/faq-international-availability/