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

how to set currency code in square payment gateway? and what types of currency it support.?

i have integrate payment gateway in my web application on PHP and i want to use CAD or GBP for currency so how to use that currency and what types of currency support it. I have to set as below: $request_body2 = array("amount_money" => array ( …
-1
votes
1 answer

Obtain Square Card Nonce From Backend

I'm building a website in which I need to process credit card payments via Square. In order to process payments, I need to get a card nonce from Square. My question: is there a way to get card nonce from Square using PHP without using JavaScript?
-1
votes
1 answer

Assembler Code, Calculating sum of squares without multiplication using only loops and addition. Infinite loop. ASCII/Hexadecimal

I have a project to create an assembler code to find the sum of numbers. write an assembly language program to perform the following operation:Input a positive integer N, then compute the sum of the integers equal to N. =1+4+9+⋯+ The user input will…
snipshow7
  • 87
  • 1
  • 8
-1
votes
1 answer

SVG Square cropped by text around it

Is there a way to make a svg square which will be behind of a text and that text to crop around it the square like in the following picture? Please note that there will be a background image behind and not a solid color. Thank you
LuckyDaniel
  • 29
  • 3
  • 6
-1
votes
2 answers

Changing Input Text Value JS

Breadit here and I have a problem. I tried to look everywhere but can't find a single answer that will work. I am trying to make a button which will square the first tag and will print the output on the second tag. JavaScript: function square() { …
user5167255
-1
votes
2 answers

How to set square edged line api windows

I'm using api on windows (not gdi), and i would like to know how to do square edged line. MoveToEx(hdc, x1, y1, NULL); LineTo(hdc, x2, y2); My current line output : I want this line : thanks, have code
-1
votes
1 answer

Having problems with overlapping inner square within a larger square in Java

I am a total beginner in java and programming in general. Trying to make a career switch and learn Java. Been doing loops and trying different tasks. I want to make a square within a larger square, and I'm having a problem. Here's my code: import…
JuniorJ
  • 3
  • 2
-1
votes
1 answer

Generate multiple square from points cloud

I have a set of points and I want to have all possible square possible from it. How can I do to achieve it (which methods?). I have proceeded as followed I iterate the points array successively and it does not give all possible square. I create One…
Valimo Ral
  • 381
  • 2
  • 15
-1
votes
1 answer

Function Definition: Calling create_rectangle to create square

Implement a function called create_square that takes three arguments—the x-coordinate and the y-coordinate of the upper-left corner and the length of a side. calling the predefined tkinter function create_rectangle. import tkinter def create_square…
Deer530
  • 73
  • 1
  • 1
  • 10
-2
votes
1 answer

Double 2d array in Numpy

I am trying to recreate the attached array in numpy two different ways: using operator broadcasting and for loops. For some reason I am struggling with both ways to recreate the array, any ideas? I have tried iterating with a list and other just…
-2
votes
2 answers

How to print a X with two letters inside a square

I am trying to make the this shape but stuck at here. I tried with counters more than one but failed again. P p p p p p Q p P p p p Q q p p P p Q q q p p p Q q q q p p Q q Q q q p Q q q q Q q Q q q q q q Q int main() { int loopLimit = 7; …
hirtevurte
  • 41
  • 8
-2
votes
2 answers

square payments api v2 giving payment process 404 error

i am trying to integrate square payments php api in my website, i am using this source i have followed all the steps but it gives me an error when i proceed to payment after inputting all the card details, the console shows /process payment 404 not…
-2
votes
1 answer

Square multi-party transactions via W3C Web Payments API

Square provide multi-party transaction payment functionality to their merchants/customers via a native bespoke API. Is there anyway other than this feature request to surface the functionality via the Web Payments API?
-2
votes
1 answer

How to see created order in square pos

I am able to create order using square(v2/locations/location_id/orders)api and getting order id. But I am not able to get this order details and also how I can see this created order on square dashboard? please help me. I am using the below method…
Praveen
  • 39
  • 9
-2
votes
3 answers

Python: find the exponent of two numbers using only incrementation/addition by 1(+=1), can not use multiplication or division operators.

I am trying to find the exponent of two numbers (n,m) using the only arithmetic operation of incrementation "+=1" by 1. I can not use any other addition/multiplication or division operators. The program can be a function or a loop such that the…
1 2 3
43
44