Questions tagged [square]

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

Filter by
Sorted by
Tagged with
0 votes
1 answer
15 views

how to use square gateway in google pay in react using google-pay/button-react?

I am not able to use square gateway in GooglePayButton in react to get the source id from the square gateway can someone please guide me how to use the square gateway and is it possible to implement ...
-2 votes
0 answers
35 views

Square Processing - how to add 1.5% Late Fee to entire Order

We are using the Square "Create payment link" API and we'd like to automatically add a 1.5% Late Fee to the entire order...in fact, we can add it to all orders at this location because all ...
  • 1,450
-3 votes
0 answers
24 views

Pygame, chess game, changing the color of a King under check [duplicate]

I'm currently writing a chess game in Pygame; I have pretty much everything done, apart from being able to change the color of the square that a King is sitting on if he is in check. Here is the main....
  • 1
0 votes
1 answer
44 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 ...
0 votes
2 answers
28 views

square .net api using SqPaymentForm is not returning the nonce

Out website is still using Square-DotNet-SDK/11.0.0 v2 This website is for a community swimming pool and we haven't used the website since last fall. Today when I am testing it for the season we are ...
  • 1
0 votes
2 answers
32 views

Find and print the square numbers in a given range python

Find and print the square numbers in a given range python Here's my approach a, b = int(input()), int(input()) from math import sqrt for i in range(a, b+1): if i%10 != 1 and i%10 != 4 and i%10 !=...
  • 82
0 votes
1 answer
42 views

Square Payment - Create order and payment with javascript

I have a restaurant website from which a client can make order. After selecting articles on a cart, the client is sent to the checkout page in which he will introduce his information and his bank card....
  • 109
0 votes
0 answers
24 views

Best way integrate a React e-commerce app with an existing Square store? (Collab?)

I'm working with my first E-commerce client and have used the Commerce.js API to build in React. They just got their inventory in today and they're trying to set up their in-store Square POS system (...
0 votes
0 answers
11 views

How to add customer notes to Square Order via API?

I've built a handler to push an order to Square system with their PHP API SDK. Everything works fine, except I cannot see where I could potentially put extra information like, shipping notes or ...
0 votes
1 answer
37 views

Integer vs decimal sales in Shopify?

Does anyone know the programming issue that allows some companies to be able to track inventory by decimal place for weight based products such as cheese and meats vs only solid inventory values? ...
  • 1
0 votes
0 answers
33 views

Consuming Webhook payloads in Vue/Pinia in real time

So, i'm relatively new to Vue, and I'm currently using it to build a small app that displays order data from Square's API. I'm currently working on a stack that uses rails to make api calls using the ...
0 votes
0 answers
23 views

CreateCatalogImageAsync doesn't create images in Square

I'm trying to create images in Square but it's stuck at 1336, when I have more than 4000 images to upload at the moment. Here's the code: public async Task<bool> CreateOrDeleteImagesAsync(string ...
1 vote
0 answers
27 views

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 ...
0 votes
1 answer
30 views

How to setup Square PHP SDK in your localhost ( virtual environment )

I'm trying to implement Square Payment on my website, however it's not working if I'm using virtual environment(square.dev.local) Error: applicationid and/or locationid is incorrect I am using XAMPP, ...
0 votes
0 answers
13 views

Payments API for CAD currency issue in Square Up

I’m trying to charge payment by USD currency by Square Up API and it is detecting amount as a cent but for CAD currency, it is detecting amount completely. Like I put 100 in payment object and it ...
0 votes
0 answers
21 views

I want to Receive Webhook Response at My .Net C# WPF application.Sending requests from same WPF application response at https://webhook.site/

TerminalAPIRequest terminalAPIRequest = new TerminalAPIRequest(); TerminalAPIResponse terminalAPIResponse = new TerminalAPIResponse(); var client = new RestClient("https://...
  • 9
-1 votes
1 answer
22 views

I need to integrate Square Reader device to my c# .Net WPF application to send Request & verify payment which is better way?

I have created a WPF application and integrate checkout-api successfully for payment via payment-url. Now I want to integrate Square Reader device so can access card payment also at same application. ...
  • 9
-1 votes
1 answer
29 views

I need to integrate POS device to my c# .Net WPF application to verify payment which is better way?

I have created a WPF application and integrate checkout-api successfully for payment via payment-url. Now I want to integrate POS device so can access card payment also at same application. Please ...
  • 9
0 votes
1 answer
101 views

Low pass FIR FILTER

I was assign to make low pass fir filter. this is what is assign asking me: Write a module that will act as a low-pass FIR filter. Input and output signals should be 16-bit and signed. Add a sample ...
0 votes
1 answer
27 views

Square Checkout URL - what response is returned & in which format when Payment succussed?

I am trying to get response when payment successes from checkout URL at my C# WPF application at WEBVIEW2 control. no any response or event triggered when success message displayed after payment ...
  • 9
0 votes
0 answers
24 views

Creating an un-stockable bundle item pointing to multiple variations/items

I need to create a "bundled" item that points to items I reference by item_id. In other terms, this is an 'un-stockable' item that is not tracked by inventory rather when it is sold it ...
1 vote
1 answer
50 views

square with BoxGeometry OR GridHelper

I'm starting in ThresJS and I want to make a 5 by 5 square with BoxGeometry or via a gridHelper. I want to create this square and be able to fill each box with a different color or not. Here is my ...
  • 13
0 votes
1 answer
39 views

Squre Checkout URL For Production API. Not able to successful submit

I sending API request to Square Checkout API from my WPF applicatin. For Production it responses Success and Opened payment URL in wpf Browser control. But after submitting on Payment via test cards ...
  • 9
0 votes
0 answers
104 views

Cannot get ApplePay to work on Woocommerce and Square

I'm building a site for a client using WordPress and Woocommerce. They use Square are their payment provider. They want to offer Apple Pay. They tell me they have set up Apple Pay on their Square ...
  • 109
-3 votes
1 answer
109 views

How to calculate sum of squares of each cell for a row in dataframe?

i have a dataframe like this Index A B C D E 0 4 2 4 4 1 1 1 4 1 4 4 2 3 1 2 0 1 3 1 0 2 2 4 4 0 1 1 0 2 i want to take the square for each cell in a row and add them up then put the result in ...
0 votes
1 answer
154 views

How can I increase the number of posts my Squarespace site shows per page?

The Squarespace editor limits the number of blog posts per page to 20. I would like to increase this limit, but I don't know how or where to do that. Is this possible?
  • 3,104
0 votes
0 answers
79 views

Apple pay can't complete when using square_in_app_payment flutter plugin

I already integrated Apple pay on the project and double-checked the whole configuration steps. The Apple payment sheet launches successfully, but I couldn't complete the payment transaction. Here is ...
0 votes
0 answers
43 views

How to send amount to different different location in Square?

Hope you are doing well. I am connecting my Square payment gateway with my springboot application. I am facing some challenges while doing payment. Scenario: User can select multiple amount and when ...
0 votes
0 answers
33 views

How do I incorporate this JS code in Angular component?

Question 1: How do I go about incorporating the JS code into my Angular component? I am dynamically loading the SDK in the NgOnit function. Question 2: How can I reference the Square property that is ...
1 vote
2 answers
62 views

Does Square payment supports multi-vendor payment?

I want to integrate square payment gateway for multi-vendor website. I have done some research on this but not getting the exact answer that Does it providing multi-vendor support or not. Also does it ...
  • 470
0 votes
0 answers
34 views

Square php sdk keeps giving error out of the box

I downloaded square-php-sdk from gibhub and trying to just create a test page first to make sure it's working, but it keeps giving error. Can't figure out what's the problem. Here are the details, ...
0 votes
1 answer
29 views

DataFormatException happened in OkHttpClient

I implementing the OkHttpClient in my service. When I hit 150+ connections in a connectionPool in the okHttpClient at a time, the below exception has been thrown. Any one aware of this exception. How ...
0 votes
0 answers
65 views

CARD_DECLINED_VERIFICATION_REQUIRED on attempting to Save Card for Customer even with verification_token on Square

I'm attempting to complete the following flow. Display Payment Form -> Use SCA Enabled Card -> Verify Payment -> Complete Payment with Verification Token for CHARGE -> Use the Payment ID ...
0 votes
1 answer
141 views

How to integrate square payment gateway in Strapi cms

I want to add square payment gateway in strapi cms. I have tried with different method it's not integrating.
1 vote
0 answers
124 views

Square Apple Pay Integration: Terminating app due to uncaught exception 'NSInvalidArgumentException'

Terminating app due to uncaught exception 'NSInvalidArgumentException'. when I hit the Apple Pay Button I got this issue. 787406+0530 Runner[6770:338808] *** Terminating app due to uncaught exception '...
-2 votes
1 answer
51 views

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 ...
0 votes
5 answers
260 views

how to convert a string of numbers to a list and square up ** and get it printed out back as string

Given a string of the form "3,9,13,4,42". It is necessary to convert it into a list and calculate its square for each element. Then join the squares of those elements back into a string and ...
0 votes
2 answers
93 views

Print an empty square using an argument in Python

I want to draw the outer lines of a square. I am able to create a filled in square, using the shown code, however I am not sure how to make it empty on the inside. This is what I have: def square(size)...
0 votes
1 answer
39 views

Need suggestion to implement OkHttp connection

I am switching from HTTPURLConnection to OkHttpConnection in my service (Kotlin). I have implemented below code for GET and POST request function with OKHttp connections. This is great and useful, ...
0 votes
1 answer
118 views

Square API callbacks on successfull checkout payment

I am using the Square API to process user payment (using the Create Checkout Link API): POST /v2/online-checkout/payment-links. The problem is that square does not support out-of-the-box callback ...
0 votes
0 answers
23 views

Vimeo square videos are small on mobile

If you publish a square video the player size if you embed it is still 16:9ratio. On mobile these videos are small. Is there a way to override the ratio so it will be 1:1? https://blankframes.com/...
  • 69
0 votes
0 answers
23 views

Typeorm query for entity using another entity in where clause in version 0.3.X

In my system we have users and addresses. I want to query the addresses table for all the addresses belonging to a user. Within the version 0.2.X I was able to write the query like user: UserEntity = ...
  • 1,138
0 votes
1 answer
16 views

Pygame square not showing up because of sprites [duplicate]

I try to print a square for use as a hitbox because the collision detection doesn't work on images. But when I try to draw a test square in setup it doesn't appear. I have tried moving the command, ...
0 votes
2 answers
309 views

Calculate a binary number with for loop

i am a beginner with python. I need to calculate a binairy number. I used a for loop for this because I need to print those same numbers with the len(). Can someone tell me what i am doing wrong? for ...
  • 29
0 votes
0 answers
41 views

Getting UnsupportedMediaTypeException while calling an API endpoint to fetch the Exception response

I have to call a third-party endpoint in my service and need to fetch the errors directly from the endpoint while an error has occurred. I am using WebClient to call the endpoint and below is the ...
0 votes
1 answer
74 views

Processing a failed payment in square (should I use a new Idempotency key if the error is related to the customers bank)

I am using square to take payments from customers. When a payment request fails for a reason like insufficient funds etc I want to retry it a few hours later. We are using Card On File so we have the ...
  • 1,138
2 votes
0 answers
143 views

square - cash app button won't render properly

I don't know why the button won't render properly on the screen. I've copied & pasted the example from the docs found here: <!DOCTYPE html> <html> <head> <meta name="...
  • 1,208
0 votes
0 answers
84 views

Nonce Error when checking out with Square on Flutter

I am attempting to checkout in my flutter app. I can create my card and retrieve card details with my key and location id. But, after I add the card to my profile, I attempt to checkout with the card ...
0 votes
1 answer
208 views

Removing Square Google Pay from Certain Product Pages in WooCommerce

Is there a way I can remove google/apple pay from certain products on my woocommerce store? Payments are handled by Square. add_filter( 'wc_square_display_digital_wallet_on_pages', function( $pages ) {...
1 vote
0 answers
56 views

com.square.okhttp.OkhttpClient setRetryOnConnectionFailure isRetried

So just curious, is there any way to know whether the connection is already retried, or in a retry state? i already try some ut like this one https://github.com/square/okhttp/issues/4963#issuecomment-...

1
2 3 4 5
13