656 questions
0
votes
0
answers
59
views
Square Webhook doesn't give confirmation if the payment is done or not to Python-django
I'm encountering a critical issue where my Django backend is unable to receive confirmation from Square about whether a payment has been completed.
Environment details:
Python: 3.13.2
Django: 5.1.6
...
2
votes
1
answer
119
views
Square API for invoice attachments 'Received multiple request parts. Please only supply zero or one `parts` of type application/json.'
The new square api versions 42+ have breaking changes. Im trying to upgrade to ver v42, and I am testing in a local dev environment.
I keep getting the following error:
*** square.core.api_error....
1
vote
1
answer
117
views
"TypeError: Client is not a constructor" on Node.js using Square API
Based on the Square Developer site, it says to initialise a customer like this:
require('dotenv').config();
const { Client, Environment } = require('square');
const client = new Client({
...
1
vote
0
answers
70
views
Toast Guardian Vs. Square KDS
I am working with a Toast branded device that I need to run Square KDS on. The device is an ELO 15in-I-series-4. I have successfully been able to install the the Square KDS apk through adb commands ...
1
vote
0
answers
34
views
Problems getting square api to work on a phone app with .net Maui
Hi I’m trying to make a bookkeeping app with .net Maui and pull user data from a users square accounts and add them to the book automatically. The only issue is that it seems like o auth 2 for square ...
0
votes
1
answer
52
views
Square Node.js SDK Orders API says I need "at least one location_id" when the argument matches the example in the docs
I'm sending a request to the Square API via Node using the ordersApi.searchOrders method, like so:
const customerOrders = await ordersApi.searchOrders({location_ids: ["MY_LOCATION_ID"]});
--...
0
votes
0
answers
189
views
Squareup appointment iframe embed
Does anyone know how to embed a booking flow from square on a custom website? Using Angular to add an iframe that pops up when clicking a button that will take you to the appointment booking section.
...
1
vote
2
answers
478
views
Nextjs api works on local but gives error 405 on vercel production
I am trying to deploy an ecommerce site on vercel that uses a square create payment api. It works perfectly on my local server, but when deployed, I get:
POST https://mySite.vercel.app/api 405 (Method ...
1
vote
1
answer
136
views
Listen webhook response in react frontend app in real time
I have a webhook which is deployed on firebase cloud function and successfully listening response from squareup terminal api. Now the thing is i want to listen the same in my react front end. Because ...
2
votes
1
answer
35
views
The error message"Solution Not Found" pops up when I try to find the squre root value
I made a code and it worked well before I added a line to find square root value.
The code is composed of simple calculations. I am trying to get the values because I will need to find derivatives of ...
-1
votes
1
answer
164
views
Axios 'Network Error' when making call to Square API
I'm writing a website using Vue.js that serves as an online store. My client uses Square to manage in-store purchases, so I figured it would be easiest for them if the website gathers certain ...
3
votes
3
answers
637
views
Square every digit of a number and concatenate them as a number using C (Program isn't dealing with 0 properly)
So i was asked to square every digit of the number and concatenate them and return as a number using C. But for some reason I am having problems dealing with 0 as digit and implement it in my ...
0
votes
1
answer
261
views
Square CreatePaymentRequest.Builder not recognizing parameter
I'm trying to implement square payments, see here.
var client = new SquareClient.Builder()
.Environment(Square.Environment.Sandbox) // or .Environment(Square.Environment.Production) for ...
0
votes
1
answer
138
views
I want to create candlestick chart from scratch which square grid (not rectangle grid)
I've seen a lot of candlestick chart on youtube video and websites and somehow most of them having rectangle grid for some reason.
If I want to create square grid, how do I create code for it and ...
1
vote
1
answer
61
views
How can I take square of a number that come from a function?
I am new to javascript and coding.I can't take a square of a number which comes from a function.I wrote below what I want to do.Thank you all.
// BİNARY to DECİMAL
// (100110)2 > (1 × 2⁵) + (0 × ...
-1
votes
1
answer
66
views
Python creating function
`Create a Python procedural function(procedure) named square_odd_numbers that takes a list of numbers as its argument. The procedure should print a new list containing the squares of only the odd ...
0
votes
1
answer
37
views
Is there a reason why launchUrl works by itself, and not inside a dart function?
When I have code similar to this, the application works as expected as desktop.
launchUrl(uri);
setState(() {
paymentLaunched = true;
});
But, when I had an async function that included launchUrl ...
1
vote
0
answers
180
views
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 ...
2
votes
1
answer
643
views
How Can I see the Implementation of my Api Interface generated by Retrofit
I was curious to see the Implementation of my Api Interface generated by the Retrofit to see how actually the library handles network requests. I wasn't able to find any generated class related to the ...
1
vote
2
answers
472
views
SQL query to maximize storage capacity in a warehouse for prime and non-prime items based on square footage
Suppose you have been employed as the Data analyst for Amazon. Amazon wants to maximize the number of items it can stock in a 500,000 square feet warehouse. It wants to stock as many prime items as ...
0
votes
1
answer
303
views
How to change the color of each square by touching it in a square grid?
Change the color of the squares of the square grid
dart - I am trying to make a page with a square grid all over with small squares.
When any square is touched, the color of that square should change ...
0
votes
1
answer
252
views
Squareup error in production (AWS EC2): TypeError: window.Square.payments is not a function
I've implemented the square payment just like the documentation indicated and I'm getting an error when loading the page and the card section does not come up.
It's a Django project, hosted in AWS EC2....
0
votes
1
answer
478
views
Flutter square_in_app_payments app will not run on simulator
I'm trying to install the square sdk into my flutter app and I am having an issue running on ios simulator. I get an error message and the app terminates before installing on simulator. The ...
0
votes
1
answer
645
views
Square Payment Gatway throwing error Error: Tokenization has failed, the tokenization request is already in process
I am using Square .net Web Payments for checkout on my website. I am using the following library from Square: https://github.com/square/connect-api-examples/tree/master/connect-examples/v2/...
0
votes
1
answer
699
views
How can we integrate Cash App payment method in flutter?
I want to add cashApp payment method to my flutter application and I did some work on it but failed to find the exact method of integration in flutter.
Is square_in_app_payments dependency is used for ...