[Skip to main content](#vessel-content)

#   Square Payment &amp; Stock Levels

##

- **[davec](/forum/user/7092-davec "View davec's Profile")**
- [![davec's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/7092-davec "View davec's Profile") Topic Author
- [ Offline](/forum/user/7092-davec)

Less More

- Posts: 447
- Thank you received: 20
-
-

1 year 3 months ago [\#368224](#368224) by [davec](/forum/user/7092-davec "View davec's Profile")  *[Square Payment &amp; Stock Levels](/forum/29-payment-methods/909653-square-payment-stock-levels#368224 "Hi  I have a client using Square to accept payments. They use the Square system to manage stock. If an item is sold on the Joomla based site can it reduce the stock on the Square system or does it require custom development?  Thanks  David")* was created by *[davec](/forum/user/7092-davec "View davec's Profile")*

Hi

I have a client using Square to accept payments. They use the Square system to manage stock. If an item is sold on the Joomla based site can it reduce the stock on the Square system or does it require custom development?

Thanks

David

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy85MDk2NTMtc3F1YXJlLXBheW1lbnQtc3RvY2stbGV2ZWxzP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86584
- Thank you received: 14325
-
-

1 year 3 months ago [\#368225](#368225) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Square Payment &amp; Stock Levels](/forum/29-payment-methods/909653-square-payment-stock-levels#368225 "Hi  I have a client using Square to accept payments. They use the Square system to manage stock. If an item is sold on the Joomla based site can it reduce the stock on the Square system or does it require custom development?  Thanks  David")*

Hi,

Based on [ developer.squareup.com/docs/orders-api/what-it-does](https://developer.squareup.com/docs/orders-api/what-it-does) the Square API provides a way to update/read "catalog objects" . And when the Square plugin sends the data of the order to Square's API, it could potentially provide a reference to a catalog object for each product in the order. And then, Square would update the stock of the catalog object after the payment accordingly.
So for this to happen, it would require:
- that the Square plugin adds an input field for each product, so that you could provide the corresponding catalog object id. Or, if you can't easily get the catalog object id in your Square system, it would require implementing some extra endpoints of the Square API to get it, based on the product code (SKU) for example: [ stackoverflow.com/questions/62849375/how...ory-by-sku-using-php](https://stackoverflow.com/questions/62849375/how-to-fetch-square-inventory-by-sku-using-php)
- Once you have a way to link products in HikaShop with products in Square, you would have to edit each product to fill the catalog object id, unless it's possible to match them automatically (based on the product code, as I was saying).
Then, the plugin would have to add that information to the order when initiating the payment.

So, basically, with the current version of the Square plugin, this is not possible. But there is a way to do it with extra development in the Square plugin. If that's something you need, I would recommend checking with the developer of the plugin, TsukiDev, first to see what's possible: [ tsukidev.com/](https://tsukidev.com/)

The following user(s) said Thank You: [davec](/forum/user/7092-davec "View davec's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy85MDk2NTMtc3F1YXJlLXBheW1lbnQtc3RvY2stbGV2ZWxzP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.045 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
