Is it possible to link transaction line items to sale transaction in Square pos API
I understand that the Square POS API does not currently support the ability for an external app to pass itemized line items when calling Square to process the payment. Is there a way for the external app to associate the itemized details with the completed sale transaction in Square via an API after the payment is completed and square returns control to the external app?
Are there specific plans to provide support for itemized transactions within the POS API?
square-connect square pos
add a comment |
I understand that the Square POS API does not currently support the ability for an external app to pass itemized line items when calling Square to process the payment. Is there a way for the external app to associate the itemized details with the completed sale transaction in Square via an API after the payment is completed and square returns control to the external app?
Are there specific plans to provide support for itemized transactions within the POS API?
square-connect square pos
add a comment |
I understand that the Square POS API does not currently support the ability for an external app to pass itemized line items when calling Square to process the payment. Is there a way for the external app to associate the itemized details with the completed sale transaction in Square via an API after the payment is completed and square returns control to the external app?
Are there specific plans to provide support for itemized transactions within the POS API?
square-connect square pos
I understand that the Square POS API does not currently support the ability for an external app to pass itemized line items when calling Square to process the payment. Is there a way for the external app to associate the itemized details with the completed sale transaction in Square via an API after the payment is completed and square returns control to the external app?
Are there specific plans to provide support for itemized transactions within the POS API?
square-connect square pos
square-connect square pos
asked Jan 2 at 18:18
Mike MooreMike Moore
72511017
72511017
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
I need exactly the same answer as Mike. I am getting annoyed because the checkout API creates line iteams and links them to a sale. I coded the entire checkout process only to realise Square were too stupid to check if a customer exists already and always create a duplicate. You cannot tell square not to do so.
Annoyed, I went and wrote the front end including error checking for the transaction API as I was told by the square team this was the way forward, now I have the same issues as Mike in that the square backend cannot tell me what was ordered.
There must be a solution. I am so annoyed at the poor documentation and lack of real life solutions provided by the API. It is also a lot of my time which has been wasted and now reading the above solution I am at a loss. I am contemplating changing our restaurants to another system so I can code a real backend for our admins and a real front end for our web users.
Sorry for the rant, it is extremely frustrating!
add a comment |
There's no way to formally do this currently, and there's no current timeline or guarantee that it will be released for the POS API.
It's possible to link it via the Orders
API in a workaround. Basically, prior to initializing the transaction, you would call CreateOrder
with the items in the order. The response would give you an Order
object, which you can retrieve the order_id
from. Then, you can pass in the order_id
into the notes
field when creating the POS API request. This would allow you to at least look up the itemization later on (by utilizing BatchRetrieveOrders
) for each of the POS API transactions.
Furthermore, if you are going further and utilizing your own database, then you wouldn't even need to pass in the order_id
to the note field, as you could just link the order_id
and transaction_id
in your own database for easy lookup later.
References:
https://docs.connect.squareup.com/more-apis/orders/overview
https://docs.connect.squareup.com/api/connect/v2#navsection-orders
thanks for the suggestion. The problem is that if I am unable to link the line items in the order to the Square sales transaction, the item detail will not be available to the Square reports and I will not be able to get itemized sales breakdowns. Is there anyway to solve that problem?
– Mike Moore
Jan 3 at 18:30
In for comments. I'm trying to pass the items DB ID from our server to the API and retrieve it on the callback to update the line item as paid. So far I'm unable to do so
– quick_learner42
Feb 17 at 5:38
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f54011244%2fis-it-possible-to-link-transaction-line-items-to-sale-transaction-in-square-pos%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
I need exactly the same answer as Mike. I am getting annoyed because the checkout API creates line iteams and links them to a sale. I coded the entire checkout process only to realise Square were too stupid to check if a customer exists already and always create a duplicate. You cannot tell square not to do so.
Annoyed, I went and wrote the front end including error checking for the transaction API as I was told by the square team this was the way forward, now I have the same issues as Mike in that the square backend cannot tell me what was ordered.
There must be a solution. I am so annoyed at the poor documentation and lack of real life solutions provided by the API. It is also a lot of my time which has been wasted and now reading the above solution I am at a loss. I am contemplating changing our restaurants to another system so I can code a real backend for our admins and a real front end for our web users.
Sorry for the rant, it is extremely frustrating!
add a comment |
I need exactly the same answer as Mike. I am getting annoyed because the checkout API creates line iteams and links them to a sale. I coded the entire checkout process only to realise Square were too stupid to check if a customer exists already and always create a duplicate. You cannot tell square not to do so.
Annoyed, I went and wrote the front end including error checking for the transaction API as I was told by the square team this was the way forward, now I have the same issues as Mike in that the square backend cannot tell me what was ordered.
There must be a solution. I am so annoyed at the poor documentation and lack of real life solutions provided by the API. It is also a lot of my time which has been wasted and now reading the above solution I am at a loss. I am contemplating changing our restaurants to another system so I can code a real backend for our admins and a real front end for our web users.
Sorry for the rant, it is extremely frustrating!
add a comment |
I need exactly the same answer as Mike. I am getting annoyed because the checkout API creates line iteams and links them to a sale. I coded the entire checkout process only to realise Square were too stupid to check if a customer exists already and always create a duplicate. You cannot tell square not to do so.
Annoyed, I went and wrote the front end including error checking for the transaction API as I was told by the square team this was the way forward, now I have the same issues as Mike in that the square backend cannot tell me what was ordered.
There must be a solution. I am so annoyed at the poor documentation and lack of real life solutions provided by the API. It is also a lot of my time which has been wasted and now reading the above solution I am at a loss. I am contemplating changing our restaurants to another system so I can code a real backend for our admins and a real front end for our web users.
Sorry for the rant, it is extremely frustrating!
I need exactly the same answer as Mike. I am getting annoyed because the checkout API creates line iteams and links them to a sale. I coded the entire checkout process only to realise Square were too stupid to check if a customer exists already and always create a duplicate. You cannot tell square not to do so.
Annoyed, I went and wrote the front end including error checking for the transaction API as I was told by the square team this was the way forward, now I have the same issues as Mike in that the square backend cannot tell me what was ordered.
There must be a solution. I am so annoyed at the poor documentation and lack of real life solutions provided by the API. It is also a lot of my time which has been wasted and now reading the above solution I am at a loss. I am contemplating changing our restaurants to another system so I can code a real backend for our admins and a real front end for our web users.
Sorry for the rant, it is extremely frustrating!
answered Jan 9 at 20:39
dean williamsdean williams
162
162
add a comment |
add a comment |
There's no way to formally do this currently, and there's no current timeline or guarantee that it will be released for the POS API.
It's possible to link it via the Orders
API in a workaround. Basically, prior to initializing the transaction, you would call CreateOrder
with the items in the order. The response would give you an Order
object, which you can retrieve the order_id
from. Then, you can pass in the order_id
into the notes
field when creating the POS API request. This would allow you to at least look up the itemization later on (by utilizing BatchRetrieveOrders
) for each of the POS API transactions.
Furthermore, if you are going further and utilizing your own database, then you wouldn't even need to pass in the order_id
to the note field, as you could just link the order_id
and transaction_id
in your own database for easy lookup later.
References:
https://docs.connect.squareup.com/more-apis/orders/overview
https://docs.connect.squareup.com/api/connect/v2#navsection-orders
thanks for the suggestion. The problem is that if I am unable to link the line items in the order to the Square sales transaction, the item detail will not be available to the Square reports and I will not be able to get itemized sales breakdowns. Is there anyway to solve that problem?
– Mike Moore
Jan 3 at 18:30
In for comments. I'm trying to pass the items DB ID from our server to the API and retrieve it on the callback to update the line item as paid. So far I'm unable to do so
– quick_learner42
Feb 17 at 5:38
add a comment |
There's no way to formally do this currently, and there's no current timeline or guarantee that it will be released for the POS API.
It's possible to link it via the Orders
API in a workaround. Basically, prior to initializing the transaction, you would call CreateOrder
with the items in the order. The response would give you an Order
object, which you can retrieve the order_id
from. Then, you can pass in the order_id
into the notes
field when creating the POS API request. This would allow you to at least look up the itemization later on (by utilizing BatchRetrieveOrders
) for each of the POS API transactions.
Furthermore, if you are going further and utilizing your own database, then you wouldn't even need to pass in the order_id
to the note field, as you could just link the order_id
and transaction_id
in your own database for easy lookup later.
References:
https://docs.connect.squareup.com/more-apis/orders/overview
https://docs.connect.squareup.com/api/connect/v2#navsection-orders
thanks for the suggestion. The problem is that if I am unable to link the line items in the order to the Square sales transaction, the item detail will not be available to the Square reports and I will not be able to get itemized sales breakdowns. Is there anyway to solve that problem?
– Mike Moore
Jan 3 at 18:30
In for comments. I'm trying to pass the items DB ID from our server to the API and retrieve it on the callback to update the line item as paid. So far I'm unable to do so
– quick_learner42
Feb 17 at 5:38
add a comment |
There's no way to formally do this currently, and there's no current timeline or guarantee that it will be released for the POS API.
It's possible to link it via the Orders
API in a workaround. Basically, prior to initializing the transaction, you would call CreateOrder
with the items in the order. The response would give you an Order
object, which you can retrieve the order_id
from. Then, you can pass in the order_id
into the notes
field when creating the POS API request. This would allow you to at least look up the itemization later on (by utilizing BatchRetrieveOrders
) for each of the POS API transactions.
Furthermore, if you are going further and utilizing your own database, then you wouldn't even need to pass in the order_id
to the note field, as you could just link the order_id
and transaction_id
in your own database for easy lookup later.
References:
https://docs.connect.squareup.com/more-apis/orders/overview
https://docs.connect.squareup.com/api/connect/v2#navsection-orders
There's no way to formally do this currently, and there's no current timeline or guarantee that it will be released for the POS API.
It's possible to link it via the Orders
API in a workaround. Basically, prior to initializing the transaction, you would call CreateOrder
with the items in the order. The response would give you an Order
object, which you can retrieve the order_id
from. Then, you can pass in the order_id
into the notes
field when creating the POS API request. This would allow you to at least look up the itemization later on (by utilizing BatchRetrieveOrders
) for each of the POS API transactions.
Furthermore, if you are going further and utilizing your own database, then you wouldn't even need to pass in the order_id
to the note field, as you could just link the order_id
and transaction_id
in your own database for easy lookup later.
References:
https://docs.connect.squareup.com/more-apis/orders/overview
https://docs.connect.squareup.com/api/connect/v2#navsection-orders
answered Jan 3 at 16:23
sjoseysjosey
64126
64126
thanks for the suggestion. The problem is that if I am unable to link the line items in the order to the Square sales transaction, the item detail will not be available to the Square reports and I will not be able to get itemized sales breakdowns. Is there anyway to solve that problem?
– Mike Moore
Jan 3 at 18:30
In for comments. I'm trying to pass the items DB ID from our server to the API and retrieve it on the callback to update the line item as paid. So far I'm unable to do so
– quick_learner42
Feb 17 at 5:38
add a comment |
thanks for the suggestion. The problem is that if I am unable to link the line items in the order to the Square sales transaction, the item detail will not be available to the Square reports and I will not be able to get itemized sales breakdowns. Is there anyway to solve that problem?
– Mike Moore
Jan 3 at 18:30
In for comments. I'm trying to pass the items DB ID from our server to the API and retrieve it on the callback to update the line item as paid. So far I'm unable to do so
– quick_learner42
Feb 17 at 5:38
thanks for the suggestion. The problem is that if I am unable to link the line items in the order to the Square sales transaction, the item detail will not be available to the Square reports and I will not be able to get itemized sales breakdowns. Is there anyway to solve that problem?
– Mike Moore
Jan 3 at 18:30
thanks for the suggestion. The problem is that if I am unable to link the line items in the order to the Square sales transaction, the item detail will not be available to the Square reports and I will not be able to get itemized sales breakdowns. Is there anyway to solve that problem?
– Mike Moore
Jan 3 at 18:30
In for comments. I'm trying to pass the items DB ID from our server to the API and retrieve it on the callback to update the line item as paid. So far I'm unable to do so
– quick_learner42
Feb 17 at 5:38
In for comments. I'm trying to pass the items DB ID from our server to the API and retrieve it on the callback to update the line item as paid. So far I'm unable to do so
– quick_learner42
Feb 17 at 5:38
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f54011244%2fis-it-possible-to-link-transaction-line-items-to-sale-transaction-in-square-pos%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown