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.
618
questions
0
votes
1
answer
21
views
Square Connect - Retrieve Subscription API Call Returning INVALID_REQUEST_ERROR using PHP
I’m using PHP and the curl_init function to try to run the Retrieve Subscription API call. Here is my code:
$curl_url = "https://connect.squareup.com/v2/subscriptions/" . $subscriptionID;
...
1
vote
0
answers
49
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 ...
0
votes
0
answers
58
views
Square API: Is there any way to Direct pay to vendor account using square payment gateway
We have multiple seller accounts on our website, therefore I used Square to create a vendor for a certain seller.
Square required access token for identified recipient account and we did not get any ...
-1
votes
1
answer
124
views
I need to make delivery today and I am stuck with the Square v2 payments API webhooks
I have integrated checkout API in my laravel app and now i am trying to utilize webhook -> payment.updated so then i can update the subscripton status of the user who made payment but i cannot ...
0
votes
0
answers
26
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
152
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 ...
-1
votes
1
answer
87
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. ...
0
votes
1
answer
69
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 ...
1
vote
0
answers
247
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="...
0
votes
0
answers
33
views
square latest libary throws NoSuchMethodError: okhttp3.OkHttpClient$Builder error in spring boot java SDK [duplicate]
Currently, I am upgrading my Square Java SDK from version 2 to 20.1.0.20220616, but when I try to get SquareClient then it throws below error:
org.springframework.web.util.NestedServletException: ...
0
votes
1
answer
131
views
spring boot square SDK latest version update issue in maven
As currently i am changing version for square java sdk to latest which is 20.1.0.20220616
and current version i am using is 2.20190313.0
so, after dependency resolve in pom.xml it is giving below ...
0
votes
1
answer
310
views
Unable to update total value in square cash app
I'm using Square web payments SDK and I initialize Cash App Pay. At first (in initialization phase), I determine the total amount and initialize Cash App Pay, which renders the Cash App Pay button. ...
0
votes
1
answer
173
views
How to access Oauth Response from Square URL redirect
I am building a website in Django that utilizes the Square OAuth system. https://developer.squareup.com/docs/oauth-api/overview
I am able to access the link they provide, login to my account, redirect ...
0
votes
1
answer
97
views
Square API to create merchant account?
I am creating an app where sellers can sign up on an app, and sell products (think Etsy). Local users can view and purchase the product from the seller.
What would be the best approach for doing this? ...
2
votes
1
answer
116
views
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": "...
1
vote
0
answers
38
views
List service charges in checkout page
I'm using the square checkout API to generate a checkout URL and I want to include fees like "shipping & handling". Doing this using the "service_charges" field adds the charge ...
1
vote
1
answer
297
views
App crash after square card entry complete after upload to Play Store
I have installed square_in_app_payments in my flutter app but, whenever I enter the card number "41111-111..." and click the save details, the android app closes. This only happens after it ...
0
votes
1
answer
726
views
Square Up python API create payment
I have been trying to make a payment using the Square Up API using python. I have discovered from the less than helpful docs after a lot of wasted time that you need a source_id to make a payment with ...
1
vote
1
answer
187
views
Cannot receive results from Square Point of Sale in a small Swift app
I have written a small app in Swift using Xcode 12.5 by following the information and code samples provided here ... https://github.com/square/SquarePointOfSaleSDK-iOS
The app polls a server to see if ...
-2
votes
2
answers
751
views
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 ...
0
votes
1
answer
287
views
Square Customer Integration w/Custom Fields
I have set up custom Customer fields in Square for my nonprofit political group that takes donations and sells things. When we are at a live event we can use Square Stand and it is easy to set up a ...
0
votes
1
answer
373
views
How to use Square API to get the items sold data in a business day from the Order Object and insert it into MySQL database
So right now I am trying to get the different items sold per day from the Order API from Square. However, I do not know how to get the name of the item sold, the catalog_id of it and the quantity sold ...
1
vote
1
answer
360
views
Square Insufficient permissions to set app_fee_money when creating a payment
I used Square Oauth to obtain merchant_access_token using the scopes
CUSTOMERS_WRITE
CUSTOMERS_READ
ITEMS_WRITE
ITEMS_READ
MERCHANT_PROFILE_WRITE
MERCHANT_PROFILE_READ
ORDERS_WRITE+ORDERS_READ
...
0
votes
1
answer
112
views
squareup how to use test nonces to save card on file that will be declined
In the docs here I can see that there are test nonces.
I want to create cards on file that will be declined when charging payments.
I've tried all these nonces and none seem to work.
What am I doing ...
0
votes
1
answer
301
views
In WordPress, can I have a form and a payment submit at the same time?
Apologies for not knowing the exact terms to describe what I want, but I am using a simple WordPress theme site, the included WPForms plugin, and am trying to take orders using Square as my payment ...
1
vote
1
answer
1k
views
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/...
1
vote
1
answer
128
views
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 ...
0
votes
1
answer
104
views
How to set subscription every 2 Months or 3 Months in Square Payment Gateway
We're integrating Square Subscription API into our website. I've read the API Document. I've only find Monthly & weekly subscription. We want every 2 months, 3 months, 6 months & 12-month ...
0
votes
1
answer
226
views
Square Terminal API - How to perform the the first Checkout in production
We are trying to get the Square Terminal API running on a live terminal (i.e. in production) for the first time, having gone as far as we can on the Square API Sandbox.
When we pair the Square ...
0
votes
1
answer
241
views
how to pass the amount to pay and how to get transaction_id in in-app-payments sdk?
I am new to square payment. I want to integrate square payment gateway in my Android app. I tried the in-app-payments-sdk. But I couldn't find how to pass the amount to pay and how to get ...
0
votes
1
answer
68
views
Square Connect API: How to Identify the Payment is having any disputes
The Square Connect Dispute API is not having an option to retrieve the disputes which are created/resolved based on the Date Range, as well it's not having an option to retrieve the dispute based on ...
0
votes
1
answer
182
views
Getting string expected error for source_id even though the source_id is a string(using square connect with cloud functions)
I have made a cloud function to create and complete a payment request to square connect API.
This is the function:
const functions = require("firebase-functions");
const admin = require(&...
1
vote
0
answers
379
views
Square-connect Missing required parameter: idempotency_key, NodeJS
Everytime I try to create an order via the square-connect api, I get the following error:
{"errors": [{"code": "MISSING_REQUIRED_PARAMETER","detail": "...
0
votes
1
answer
56
views
refund invoice api support by square
I have created invoice and want to test refund invoice. As per documentation refund api does not support invoice refund. https://developer.squareup.com/docs/invoices-api/overview#refund-an-invoice . ...
0
votes
0
answers
157
views
Square Orders created in api not showing in live dashboard
I used #square guide to create an order in square API but the order only shows on backend using the search_orders call but not on the live dashboard.Here is what I did
##Step 1 create order
order={}
...
0
votes
0
answers
171
views
square connect - object id in catalog update webhook notifications
I've got the catalog update webhook going and I get the object id from the json message -- but it's a UUID type string vs. the standard all-caps object ID in the catalog API. How do I exchange the ...
0
votes
1
answer
62
views
app_fee_money in Payments API Not Supported in Japan?
Using a Japanese account, I am currently able to successfully create payments using OAuth access tokens for our clients. If I try adding app_fee_money (100 JPY, same currency as amount_money), I get ...
0
votes
1
answer
294
views
Square Rounding Error (Banker's Rounding)
I'm getting an error from square that says
{"errors": [{"code": "BAD_REQUEST","detail": "The total of the requested payments does not match the total of the sale order.","category": "...
0
votes
1
answer
104
views
Refund payment by order line item ID
Can I refund an Order/Payment by specifying the the uid of the OrderLineItem instead of specifying a Money?
-1
votes
1
answer
256
views
How to call square API to create card or how to charge with card info?
How to save customer card info - Squareup API
Postman API available for create customer card which is not helping me to charge with card
How would i save card info also
"card_nonce": "...
2
votes
2
answers
604
views
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 ...
0
votes
1
answer
100
views
Can't seem to get SQUARE oauth2 authorize to load up
When i sent a merchant to the authorization url
https://squareup.com/oauth2/authorize?client_id=sq0idp-Lno1QXpjx8Z2Avemg3orUg&response_type=code&scope=MERCHANT_PROFILE_READ%20PAYMENTS_WRITE%...
1
vote
1
answer
152
views
Square Variation Stock status shows none even though there is a valid in stock quantity
I'm trying to update the on-hand of a variation using the inventory/batch-change API. My system is the source of record for the item on-hand so I'm posting a PHYSICAL_COUNT to the variant. Everything ...
0
votes
0
answers
720
views
Square Payment Form Walkthrough - Uncaught ReferenceError: Cannot access 'paymentForm' before initialization
Tried this twice, first the direct code here & then a video here. Keep getting the same error of Uncaught ReferenceError: Cannot access 'paymentForm' before initialization. Right now I have the ...
0
votes
1
answer
73
views
Will the newest API push orders to my Store's POS terminal if I add an order on a website?
I had previously worked with the Square API and it had a downfall of not working all too well with websites. In particular, if I made an order online, there was no way to "push" that order to the ...
0
votes
1
answer
324
views
Why does mockito think my service is being called twice?
I’m having trouble using mockito to verify the number of calls to a mocked method.
This is my test
@Mock
private SquareClient squareClient;
@Mock
private PaymentsApi paymentsApi;
@Test
public void ...
0
votes
1
answer
96
views
Injecting an object that uses builder pattern inside spring constructor
I've seen this question asked a lot on here, but none of the answers have helped me in my situation.
I'm using square sdk which prompts me to create the client like this, before using it.
import com....
0
votes
1
answer
111
views
Square API object creation
I am using the square api to search my orders using the following code:
require '../connect-php-sdk-master/autoload.php';
// Configure OAuth2 access token for authorization: oauth2
SquareConnect\...
0
votes
1
answer
270
views
Square payment PHP SDK returns null
I'm making a payment using Square Payment PHP SDK
1. Generate a nonce from a mobile app then send to my server to create a payment request.
2. My server receives the nonce correctly though after i ...
0
votes
1
answer
63
views
How to access items sold from Square POS Transactions?
I am trying to build a reporting script that GETs the sales from a particular period in our retail location and is able to access the "line items sold" data of each transaction.
Unfortunately, it ...