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
1 answer

Why am I receiving "Read-only field is calculated and cannot be set by a client. (order.returns)" from Square? (I'm not sending that field)

I'm using Square for processing payments, and trying to make a refund I'm getting the following response: {"errors": [{"code": "INVALID_VALUE","detail": "Read-only field is calculated and cannot be set by a client.","field":…
2
votes
2 answers

Firebase functions return error text from external API call

I am using Firebase functions to process credit cards through square. My function works great for successful card transactions. However, with card errors such as declined or incorrect cvv, I want to send that error context to the user. What…
Nabel
  • 1,767
  • 14
  • 23
2
votes
1 answer

Orders / Transactions / Charge Square Connect

What are the steps that I need to follow to properly charge a customer using square-connect? I'm confused because the documentation is not very clear about this. Do I have to create an Order object then do a Transactions and the Charge? Do a…
2
votes
1 answer

square:connect - Not able to renew merchant access token

I am renewing a merchant token for the first time and am getting this error response: { message: 'invalid value for parameter \'access_token\'', type: 'not_found' } It expired 10 days ago, so I'm within the 15 days to…
2
votes
2 answers

Square Connect API: Retrieving all items within a category

I have been reading over the Square Connect API and messing around with the catalog portion. I am unable to find how to retrieve all items and their data associated with a particular category. Can someone please point me in the right direction. I…
Corey Gumbs
  • 372
  • 6
  • 13
2
votes
1 answer

Square web api - how to send an external transaction ID

I'm integrating Square POS with a web application using the web api (both Android and IOS). How do I pass my system's transaction ID to square in the Intent calls to Android and IOS so that I can later verify them in the Retrieve Transaction…
JeffC
  • 97
  • 8
2
votes
0 answers

Square returning error with WooCommerce

I've installed the WooCommerce Square plugin to enable payments to our Square account but I get this error at the checkout when trying to pay with a credit card: Array( [0] => stdClass Object ( [category] => INVALID_REQUEST_ERROR …
2
votes
2 answers

EXPECTED_INTEGER — Issues with Square payment portal

I'm having issues accepting payment through my ecommerce site. This only seems to happen randomly, I've accepted payment previous without issue but every so often this happens. Square API didn't have any description with the error code. Array ( [0]…
kelli kay
  • 21
  • 2
2
votes
1 answer

Square v2 Server Error

I am testing with the v2 C# payment example. https://github.com/petespatio/connect-api-examples/tree/master/connect-examples/v2/csharp_payment/PaymentExample When i run locally everything works properly and i can actually create a payment. When i…
peterson
  • 21
  • 2
2
votes
1 answer

Fixed amount contactless kiosk type possible?

Hi my client is a charity. They would like to apply a fixed amount to a app/webapp where people can just tap and walk away donating fixed amount without any merchant interaction needed. Such terminal will probably be fixed to a stand... With a…
Hassan
  • 301
  • 1
  • 13
2
votes
1 answer

Can't connect to Square Register from web app

I have used this exact example from the square api reference:
Jason Hill
  • 95
  • 1
  • 5
2
votes
1 answer

Not Found error when charging Square API

The Square REST API docs state that I should get a list of my locations and then use a returned location code when I call the transactions endpoint (to charge a credit card). I am doing exactly this but the returned error says that the merchant has…
Jim Archer
  • 1,337
  • 5
  • 30
  • 43
2
votes
1 answer

Square Register API Error - How to use Sandbox Environment?

I am setting up Application ID and Personal Access token with Sandbox's values. By Sandbox's Application ID I am able to get Sandbox Location ID list. But when my app opens the Register app (now Square Point of Sale), its giving the error.
Maulik
  • 19,348
  • 14
  • 82
  • 137
2
votes
1 answer

How do I extract the "detail" from square charge

When I catch the exception from the square charge object, I am returned with [HTTP/1.1 400 Bad Request] {"errors":[{"category":"INVALID_REQUEST_ERROR","code":"CARD_TOKEN_USED","detail":"Card nonce already used; please request new nonce."}]} I want…
2
votes
0 answers

Using intent anchor in Ionic app (Android) returns "Cannot display PDF file"

I am trying to integrate the Square Payment on my Ionic 1 application using the Web API based on their docs here. They are using intent anchor to call the Square app and send appropriate payment details. But when I tried to implement, it gives me…
shiftEscape
  • 23
  • 1
  • 4
1
2
3
41 42