Questions tagged [square-connect]

The Square Connect API lets developers process payments online & in-person as well as accessing different information in Square merchant accounts.

Square offers Rest APIs for accessing merchant account data (with their permission of course!) as well as e-commerce. You can also integrate with Square's hardware in your mobile devices with the Point of Sale API for Android, iOS and the web.

Learn more about Square's offerings for developers at Square.com/developers

619 questions
2
votes
2 answers

Square Connect API - how to get location_id?

I have integrate the iOS SDK and its working fine with Payment process. After payment successfully done I am getting transaction_id and other 2 ids. So now, I want to list all the transactions…
Maulik
  • 19,348
  • 14
  • 82
  • 137
2
votes
1 answer

iframes from square-connect for CC processing not working in angularjs

I'm building a simple SPA with angular that I would like to use to process credit card payments using my Square account. For security Square wants to use iframes so the CC info never touches my page. I've read about using $sce.trustResourceAsUrl()…
Ian E McAllister
  • 211
  • 2
  • 11
2
votes
1 answer

Square Register app is not checking authorized clientId anymore

Somehow the Square Register app stopped to check granted permissions through oAuth process (RegisterApi.ERROR_UNAUTHORIZED_CLIENT_ID) in Android, meaning that any app could start issuing transactions on merchant's behalf. Also…
fmiralles
  • 185
  • 2
  • 7
2
votes
1 answer

Deep linking for Square mobile app and Register API

I wanted to know if there are any custom URL scheme for ios/android that I can redirect my app's user to a specific screen in the Square Register app. Are there any deep linking url schemes that redirects to the Square Register app and show a…
2
votes
2 answers

Square Up payment gateway form with ajax

I am creating a new payment option in website. I implemented the square space successfully. But it creates issue when some one removes any item from the cart. When ajax is called, it loads the whole content again. but then, form doesn't load and…
2
votes
1 answer

Square Connect - Customizing the Form

I am trying to create a payment form that allows a child care center to accept payments that the customer specifies by typing in a number. I have gotten the basic form to work with the basic setup found on their Github, so I am setup and running…
codeartistgirl
  • 69
  • 2
  • 10
2
votes
2 answers

INVALID_REQUEST_ERROR (nonce issue) when switching from sandbox to live

I have been trying to get my web site set up integrating the ecommerce form into the site. I managed to get it working using Sandbox credentials but as soon as I switched it to "live", replacing the location ID, application ID and access tokens for…
tllewellyn
  • 903
  • 2
  • 7
  • 28
2
votes
1 answer

Submitting a charge to square with a decimal amount

I'm trying to pass a POST request to charge a card to the /locations/{location}/transactions endpoint in Square. I have a nonce, a location ID and a Guid (.NET implementation). Everything works fine except I cannot pass a decimal value. I am using…
alex
  • 444
  • 1
  • 5
  • 17
2
votes
2 answers

Square API Create Item working code now returning an error

After creating about 1000 inventory items with code, Square suddenly started returning an error. The error returned was: {"type":"bad_request","message":"'name' is required"} Example code: $postData = array( 'id' => 'test_1433281486', 'name' =>…
Byron
  • 33
  • 4
2
votes
4 answers

Upload item image using Square Connect API and PHP

I've reviewed the old questions posted here on Stackoverflow about this issue. But I didn't find any example for php integration. Here is a sample of my code to do that but it's failing $url =…
user1272589
  • 789
  • 1
  • 10
  • 25
2
votes
1 answer

Which date does the order parameter on the List Orders endpoint for the Square API use to sort orders?

An Order has a created_at and updated_at date. Which one does the "List Orders" endpoint use to sort orders?
Vivin Paliath
  • 94,126
  • 40
  • 223
  • 295
2
votes
1 answer

Debugging Register Error

So I'm seeing the "API Error Sorry, we could not process the incoming request. Please try again or contact support." message I'm told that the app in question is authorized to use the Square Commerce API. I've made sure that I'm url-escaping my…
Donald
  • 176
  • 1
  • 10
2
votes
2 answers

Square Connect API - Is there a way to test the API without actually having my own Square merchant account?

I'd like to test the Square Connect API before using it in an application I am creating and am wondering whether I first need to either have my own Square merchant account or have access to that of an existing Square merchant before I can proceed.
Michael P.
  • 1,373
  • 3
  • 12
  • 33
1
vote
0 answers

Integrate Cash App using Square API Event trigger issue

I have integrated Cash App Payment through Square API SDKs. I have used Javascript Web SDK & PHP SDK I have mobile app for purchasing bucks and from mobile app it will open webview for cash app payment (for this I have used Square Javascript Web…
Pranav Gandhi
  • 199
  • 1
  • 1
  • 8
1
vote
0 answers

Square CreditCard payment in Reactjs

I am trying to integrate react-square-web-payments-sdk , Need to add creditcard holder name field in the paymentform and how can i mention the amount to be deducted from card to do that please check the below code and let me know still i need to add…
1 2
3
41 42