# (Self Service )Customer Order food and settle payment at cashier

**URL:** <https://forum.sambapos.com/t/self-service-customer-order-food-and-settle-payment-at-cashier/7493>\
**Category:** V5 Question\
**Created:** [October 6, 2015, 3:24pm UTC](https://forum.sambapos.com/t/self-service-customer-order-food-and-settle-payment-at-cashier/7493 "2015-10-06T15:24:24Z")\
**Posts on this page:** 1\
**Showing post:** 90

<div class="post-metadata">

**Author:** ![QMcKay](https://forum.sambapos.com/user_avatar/forum.sambapos.com/qmckay/32/27925_2.png) [@QMcKay](https://forum.sambapos.com/u/QMcKay)\
**Post date:** [October 29, 2015, 8:54pm UTC](https://forum.sambapos.com/t/self-service-customer-order-food-and-settle-payment-at-cashier/7493/90 "2015-10-29T20:54:17Z")

</div>

I always lose this link and forget about it, so here it is again after digging through old posts…

> [@Help is needed with Set Widget Value action](https://forum.sambapos.com/t/help-is-needed-with-set-widget-value-action/2789/81):
>
> … I’ve added three js functions that can be run inside Browser Widget so your webapps can execute SambaPOS functions.

```auto
window.external.ExecuteAutomationCommand(<CommandName>,<CommandValue>);
window.external.GetSettingValue(<SettingName>);
window.external.SetSettingValue(<SettingName>,<SettingValue>);

```

That may help somewhat with web integration. The question is: do we have, or will we have in the future, _more_ of these functions?

More info…

> [@Execute SambaPOS function from HTML Viewer Widget](http://forum.sambapos.com/t/execute-sambapos-function-from-html-viewer-widget/7880):
>
> I always lose this link and forget about it, so here it is again after digging through old posts… window.external.ExecuteAutomationCommand(\<CommandName\>,\<CommandValue\>); window.external.GetSettingValue(\<SettingName\>); window.external.SetSettingValue(\<SettingName\>,\<SettingValue\>); That may help somewhat with web integration. The question is: do we have, or will we have in the future, more of these functions? ##Example ###HTML File \<button onclick="window.external.ExecuteAutomationComman…

---

_[View the full topic](https://forum.sambapos.com/t/self-service-customer-order-food-and-settle-payment-at-cashier/7493)._
