square-connect

Square payment form cannot execute requestCardNonce() to get nonce in Firefox 48.0.2

安稳与你 提交于 2019-12-12 03:56:17
问题 I've also submitted a request to Square support and hope to hear back soon. Steps to reproduce Load the Square payment form (copy-pasta from https://docs.connect.squareup.com/articles/adding-payment-form/#samplewebpage and add your Application ID and uncomment the lines to submit a request to the server) in Firefox 48.0.2 (latest release as of today). Here's a test URL: https://wideningwontwork.org/test.html Leave all fields blank. Click "Submit Query" button. Expectation All fields should be

Getting 422 Status Code Error When Posting to Square?

感情迁移 提交于 2019-12-12 03:30:10
问题 Please help me finish this last step so I can be done with this project :) I'm trying to convert this example to Vb.Net: https://docs.connect.squareup.com/articles/processing-payment-rest/ I can successfully get a CardOnce ID after the user enters credit card information. I can successfully do a READ from Square to get my location ID. However, I'm stuck on the last step when I provide the CardOnce ID, Location ID, and amount to POST, I keep getting back an error: "The remote server returned

Assigning Fees To An Item On Creation

北战南征 提交于 2019-12-12 00:26:36
问题 With the Square Connect API, is it possible to assign a Sales Tax Fee at Item Creation? I don't see how in the documentation, besides making a second call after the item has been created. Seems kind of weird since it's possible to retrieve item details and fees in one get, but you can't create in one post. 回答1: It is not currently possible to assign fees to an item when you create it. As you describe, followup calls to the Apply Fee endpoint are required. I have reported this limitation to

customer_id is not populated on transaction tender

為{幸葍}努か 提交于 2019-12-11 22:10:52
问题 I've noticed that in nearly all cases that after receiving a webhook notification and retrieving the payment and correlating transaction, that the tender(s) on the transaction are missing the customer_id. On rare occasions it is populated. At some point in the future it seems that this is being added, as old transactions have the field set. Is this a bug? Can someone explain/document the expected behavior? Are there any plans for this to be set in real-time? Thanks 回答1: We'll improve the

How to generate card nonce for repeated transactions without making users to enter card details?

风格不统一 提交于 2019-12-11 18:07:10
问题 We have a requirement that payment should be initiated repeatedly without user's intervention just like monthly/yearly subscription fees for Mobile Apps in Google Play store . The payment should be triggered from the back end automatically after a particular interval (amount may not be same for every interval). We found that in square payment card nonce is used for performing a transaction. Card nonce is generated from the Payment form when the users enter their card information for the first

get data from [object Promise]?

做~自己de王妃 提交于 2019-12-11 16:28:33
问题 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]" } This is processing the cloud function on the cloud platform: const functions = require('firebase-functions'); const SquareConnect = require('square-connect'); const crypto = require('crypto'); exports.fxtest = functions.https.onCall((data, context) => { const defaultClient = SquareConnect.ApiClient

Where does sandbox payments listed?

自闭症网瘾萝莉.ら 提交于 2019-12-11 14:13:42
问题 $result = $transactions_api->charge($location->getId(), $request_body); $result has been successfully charged using sandbox, where can i find them through dashboard? Please help... 回答1: Sandbox transactions are not visible in your Square Dashboard. The way to view sandbox transactions is to call the ListTransactions endpoint with your sandbox credentials to get a sandbox transaction report. Only live transactions will be visible on your Square Dashboard. Feel free to visit our Developer Doc

Android Square Register API: ILLEGAL_LOCATION_ID

瘦欲@ 提交于 2019-12-11 05:28:17
问题 I am integrating Square into my Android app. I am struggling with where to find the locationId to pass to the enforceBusinessLocation() method. I've set up a location in my Square dashboard but it isn't obvious where to get the locationId from. I've tried using the location nickname (I tried both mixed case and uppercase - so, in my case, "mwe" and "MWE"), but that didn't work. It results in: ILLEGAL_LOCATION_ID: The LOCATION_ID parameter does not match the ID of the business location

How to load External Javascript Libraries into Angular 4 components

我怕爱的太早我们不能终老 提交于 2019-12-08 05:00:50
问题 I have a problem where I need to use a specific 3rd party library to generate a nonce to use the square connect api. I am having troubles finding how to load the external javascript library since they don't have a node_module that I can load like I usually do. By external library I mean something like this <script src="https://js.squareup.com/v2/paymentform " type="text/javascript"> I have not found a good way to to load this into my application so that I can use it. Any ideas on how I can

Access customer information using Square Connect API

纵饮孤独 提交于 2019-12-07 09:09:34
问题 Is it possible to access any information about a merchant's customers using the Square Connect API? The most ideal piece of information would be the email address customers enter for their receipt, but but some type of unique customer id would be nice to determine repeat customers. Looking through the Square Connect API Documents there are no endpoints for customers and Payment objects do not include any of this information. Is there another Square API with this capability? 回答1: Not at this