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.
616
questions
0
votes
0
answers
10
views
Is it fine to share SHA1 to the merchant to configure in seller's developer dashboard while failed to initiate payment with Square Point of Sale API?
I am developing android application with payment feature using Square Point of Sale API. I refer to the Square Build on Android SDK to the development. I found that while initiating the payment, the ...
0
votes
0
answers
22
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? ...
0
votes
0
answers
14
views
How to integrate custom registration and login flow usin
I am creating a node js project and want to integrate custom login and registration flow using square sdk same like firebase sdk
0
votes
0
answers
39
views
Get image URL from Square Item
I'm using gatsby-source-square-catalog source square catalog data into a graphql format. Some of the items in this catalog have images, but none are showing up in the results.
Where is the image data ...
0
votes
0
answers
25
views
Is there a method to mass create Item Buy buttons in Square?
As in the title, is there a way to either utilize the Square API or Square Dashboard to create the HTML checkout/Buy buttons en-mass?
Currently the way to create an embedded button is through:
https://...
0
votes
0
answers
81
views
Sqaurespace INVALID_CARD_DATA with php SDK and Jquery Front End
I am getting this error:
error:{"category":"INVALID_REQUEST_ERROR","code":"INVALID_CARD_DATA","detail":"Invalid
card data.","field&...
2
votes
1
answer
69
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
19
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
138
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
0
answers
8
views
CatalogModifierOverride has a modifier_id, but CatalogModifer had no ID
I'm trying to figure out what the "modifier_id" in the CatalogModifierOverride object corresponds to.
There's no id in the CatalogModifier object.
How do we determine which Modifier is ...
0
votes
1
answer
286
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 ...
0
votes
0
answers
53
views
squareup webhook not triggering for api version 2
I'm trying to setup webhooks for pos terminal checkouts in squareup. I'm using v2 api and in my developer dashboard,
I have enabled webhooks and created end point with notification url
Selected All ...
1
vote
1
answer
100
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
1
answer
295
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
0
answers
78
views
Square Web Payments JavaScript SDK save card on file
I note that the SqPaymentForm is now deprecated. You have a number of examples of how to use the new javascript Web Payments SDK. But I cannot see how to use this to save a customer's card on file ...
0
votes
1
answer
159
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
106
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 ...
0
votes
1
answer
162
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
33
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
150
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
162
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
46
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
66
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
97
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
127
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
48
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
96
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
256
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
45
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
73
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
109
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
44
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
162
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
87
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
149
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
363
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
74
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
73
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
410
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
62
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
80
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
58
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
94
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
226
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
51
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 ...
1
vote
1
answer
187
views
Is there a way to add an order ID to the Square Reader SDK Checkout Flow?
I come from a react web background and I'm familiar with the online payments api. Currently, I am using the react native quick start for the square reader SDK. The SDK uses:
await startCheckoutAsync(...
0
votes
1
answer
130
views
Currency format standard for Square?
What is the currency standard for Square's developer API and where can I find the reference for it?
{
"amount": 50,
"currency_code": "USD"
}
In example this page references the amount and ...
1
vote
1
answer
53
views
square-commerce-v1 bring back to window instead of new tab
I have the following:
var dataParameter = {
amount_money: {
amount: "10",
currency_code: "USD"
},
// Replace this value with your application's callback URL
...
0
votes
1
answer
188
views
get data from [object Promise]?
How can i get the information from [object Promise]?
I am using GCF (cloud function) to process square payments.
As of right now I am getting back a response of { response="OK:[object Promise]" }
...
0
votes
1
answer
99
views
Square API Search user by Email - endpoint is not supported in legacy Sandbox
Going over this documentation I'm having trouble figuring out how to get the search feature to work and I'm getting an error:
$json = '{}';
$url = 'https://connect.squareup.com/v2/customers/search';
$...