Questions tagged [square]

Square APIs 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

657 questions
1
vote
2 answers

Using only numpy, is there a way to create a square wave?

I have tried using masks and making lists like x = [0,0.5,0.51,1,1.01], y = [1,1,-1,-1,1] works ofcourse, but is quite tedious and not as nice as i want to make a square wave from x = 0 to 5.
NANnl
  • 13
  • 3
1
vote
1 answer

Square Insufficient permissions to set app_fee_money when creating a payment

I used Square Oauth to obtain merchant_access_token using the…
Maged Makled
  • 1,918
  • 22
  • 25
1
vote
1 answer

Square API: Object version does not match latest database version

I'm trying to use the following Square API endpoint to update an item, but I'm getting some errors. Here is the item that I'm trying to update. { "type": "ITEM", "id": "7HXK6NVBDKSOK64CCAYZJ2KW", "updated_at": "2020-08-08T21:43:41.849Z", …
Sidah Merzouk
  • 584
  • 5
  • 18
1
vote
0 answers

Square Mobile Web API for Android gives "Unsupported API Version" What is the correct version number for the current API?

We are trying to support the Square Mobile Web API to process a charge from a mobile web POS system. The API seems to be straightforward as documented by Square (https://developer.squareup.com/docs/pos-api/web-technical-reference). The sample code…
GPowell
  • 11
  • 1
1
vote
2 answers

Square Checkout API in ColdFusion - 'order.total_money.amount' must be greater than 1

I am trying to build a checkout using the Square API. I am getting the following error: 'order.total_money.amount' must be greater than 1. I am sending:
GCJH
  • 101
  • 1
  • 9
1
vote
1 answer

Square Payments : International

I am trying to get some clarification on Square Payments and International Cards. I am setting up a payment processor for a site which will need to allow Credit cards from all over - not just US/CANADA. It looks like Square is only available for…
Phil
  • 4,029
  • 9
  • 62
  • 107
1
vote
1 answer

Square Payment Processing Error: HTTP Response Not OK | Using Connect .net API

Im using asp.net API from Connect Square to generate nonce and create a payment. My payment form is loading correctly generating a nonce but not creating paymentrequest. Here is the error response HTTP Response Not OKSquare.Exceptions.ApiException:…
1
vote
1 answer

How can I get shipping address of invoice?

I have scoured the square developer documentation and I couldn't find how to retrieve the shipping address from a paid invoice. The ONLY documentation I've been able to find that utilized the shipping address is…
1
vote
0 answers

Description of Transaction in Square not working

I am using SQUARE as my payment gateway but I am having issue that I cannot post transaction description with the Transaction. In Square dashboard, it shows Custom Amount. Is there any way I can send the Buyer Name or any parameter to transaction so…
1
vote
0 answers

Is it possible to customise each square in a scatterplot?

I have made a scatterplot with squares. But I would very much like to customise the sizes of each square. It should be so I could decide both length and height of each of the squares. Also if it is possible I would like to be able to customise…
ther0761
  • 11
  • 3
1
vote
0 answers

square payment form php check customer exists in directory and make payment

Am new to Square Payment Form using PHP and trying to do following steps Check If customer Exists in Directory If Customer Does not exist - create new customer and collect CUSTOMER_ID MAKE PAYMENT & get Payment ID Couple of time this script worked…
bbidadi
  • 85
  • 12
1
vote
0 answers

Generate Square nonce for specific amount

I'm developing a mobile app using Flutter for UI and Square to manage payments. I read that a nonce is a one-time token representing the costumer credit card information. I'm wondering if there is a way to generate a nonce only for a specific…
Tommimon
  • 131
  • 1
  • 12
1
vote
3 answers

Create a Square of stars with an inputed number

I need a code to help me print a square of stars with an Integer input (in this case the number is 5) the square must be empty on the inside. for example: Looking for this output * * * * * * * * * * * * * * * * what I get * * * *…
user14381409
1
vote
2 answers

Highcharts version 8.2.0 tilemap doesn't support "square" shape

I've been using highcharts 7.2.0 tilemap chart, but after updating to version 8.2.0, I'm getting an error when tileShape is set to "square" In my https://jsfiddle.net/nqxm2yk7/1/ , tileShape is set to 'circle', but if you change it to "square", it…
Re_p1ay
  • 303
  • 1
  • 3
  • 12
1
vote
3 answers

finding nearest square number with a limit

Hey so I want to write code for finding nearest square number less than or equal to a certain number(x). I've tried the following: m = 0 base = 0 while m <= x: if m > x: break m = base**2 base += 1 print(m) This, however, gives…
coolguy
  • 21
  • 3