Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Order type and sources should be cleaned up #108

Open
godsgood33 opened this issue Mar 25, 2023 · 4 comments
Open

Order type and sources should be cleaned up #108

godsgood33 opened this issue Mar 25, 2023 · 4 comments
Labels
roadmap Feature or Request is planned, and on the roadmap

Comments

@godsgood33
Copy link

Describe the bug
The order sources and tender types are confusing and difficult to code for.

Expected behavior
Clean and concise order sources and tender types

To Reproduce
Steps to reproduce the bug:

  1. Retrieve order that was processed as house account or invoice

Square SDK version
25.2.0.20230315

Additional context
Order tenders that are rung up with a "house account" display in the API as "OTHER". This should be changed to "HOUSE_ACCOUNT". When an invoice is created it too displays in the API tender type as "OTHER" and the order source is blank. When pulling from the deprecated transaction API on the API explorer the product displays "INVOICES", but that is not in the orders API. The order source should be changed to "INOVICE" and the tender type should be whatever tender was used to pay for the order "CARD", "CHECK", "ACH", etc. I'm pretty sure this affects the entire API and not just the PHP SDK, but I don't see the main API listed as publicly available.

@zenmasterjobo
Copy link
Contributor

Hi @godsgood33

You are correct in suggesting that this issue is at the API level, and not the SDK level. In the future when having questions about developing with square / improvements to the platform or if you run into other development issues, the best place to post questions is on our Developer Forums as this forum is monitored by Square employees, and you will get a response within 48 hours.

I have gone ahead and relayed this information to our API team and will let you know any updates!

Thank you 🙏

@zenmasterjobo zenmasterjobo added bug Something isn't working enhancement New feature or request and removed bug Something isn't working labels Apr 5, 2023
@godsgood33
Copy link
Author

@zenmasterjobo Thanks! I wasn't sure where to go to post a bug with the API. I will save that link and use it in the future.

@zenmasterjobo
Copy link
Contributor

Hi @godsgood33,

Just wanted to update that this issue is indeed already on the API team's radar, and they are looking to address this issue. I don't have much more update than that at this time unfortunately, but will come back to update here when I learn anything more.

Thanks again for calling this out!

@zenmasterjobo zenmasterjobo added roadmap Feature or Request is planned, and on the roadmap and removed enhancement New feature or request labels Apr 7, 2023
@godsgood33
Copy link
Author

Thanks for the update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
roadmap Feature or Request is planned, and on the roadmap
Projects
None yet
Development

No branches or pull requests

2 participants