SambaPOS 5.3.6 Release

For the memory of Emre Eren 1976 - ∞

:arrow_down: Download:

:warning: Don’t forget to create a backup before installing new releases. You’ll need a working backup if you need to roll back to the previous version.

What’s new in 5.3.6

  • Samba Go Menu added to Management Screen
    With this product, you will be able to provide your customers , ready-made websites that can be accessed with QR. You can do all your operations very quickly and simply from this menu. Detailed information will be shared.
  • CreatedUser field added to Tickets table
  • Change CreatedUser action added
  • CanViewAllTicketsInPaymentOperations permission added
  • CanFinalizeTip permission added
  • Showing portions in split ticket added
  • New Paymentsense and Dojo PAC integrations are inside setup (for UK)
  • Search field added to payment operations screen
  • A scrollable ask question screen added. If you have more than 5 question in an askQuestion dialog, new screen appears

Does that mean we won’t need the PAC app for Payment Sense Integration?

Yes true, now its a module in SambaPOS.



Just done the upgrade to 5.3.6 but can’t work out who to enable the payment sense integration in the new version?

You can use this document

1 Like

@VehbiEmiroglu where it says Default PDQ is this the terminal id of the card machine?

Yes. You can select from list

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.

Sir this is amazing feature so please share more information about given quote like how to configure and do I need one license per database?

You can find details how to use and setup here:

Yes, one license per database. License is annual and can be purchased from


could the customers place order after scanning QR Code. ?

Not for now. Its only show your menu.

Can you help me with this error it? when i log out this error pop up

User Explanation:

User said “”

[Exception Info 1]

Top-level Exception
Type: System.NullReferenceException
Message: Object reference not set to an instance of an object.
Source: Samba.Services
Stack Trace: at Samba.Services.ActionProcessors.PrinterModule.ExecutePrintJob.Process(ActionData actionData, RuleExecutionContext context) in C:\Users\Vehbi\Documents\Source\Repos\sambapos-v5-pro\Samba.Services\ActionProcessors\PrinterModule\ExecutePrintJob.cs:line 46
at Samba.Services.Common.RuleActionTypeRegistry.ProcessAction(String actionType, ActionData actionData, RuleExecutionContext context) in C:\Users\Vehbi\Documents\Source\Repos\sambapos-v5-pro\Samba.Services\Common\RuleActionTypeRegistry.cs:line 39
at Samba.Services.Implementations.AutomationModule.AutomationService.ProcessAction(String actionType, ActionData actionData, RuleExecutionContext context) in C:\Users\Vehbi\Documents\Source\Repos\sambapos-v5-pro\Samba.Services\Implementations\AutomationModule\AutomationService.cs:line 42
at Samba.Services.Implementations.AutomationModule.ActionDataBuilder.<>c__DisplayClass13_0.b__0() in C:\Users\Vehbi\Documents\Source\Repos\sambapos-v5-pro\Samba.Services\Implementations\AutomationModule\ActionDataBuilder.cs:line 76
at System.Windows.Threading.Dispatcher.Invoke(Action callback, DispatcherPriority priority, CancellationToken cancellationToken, TimeSpan timeout)
at System.Windows.Threading.Dispatcher.Invoke(Action callback)
at Samba.Services.Implementations.AutomationModule.ActionDataBuilder.InvokeWith(AppState appState, RuleExecutionContext context) in C:\Users\Vehbi\Documents\Source\Repos\sambapos-v5-pro\Samba.Services\Implementations\AutomationModule\ActionDataBuilder.cs:line 84
at Samba.Services.Implementations.AutomationModule.RuleExecutor.ExecuteWithoutLogging(Object ruleData) in C:\Users\Vehbi\Documents\Source\Repos\sambapos-v5-pro\Samba.Services\Implementations\AutomationModule\RuleExecutor.cs:line 125
at Samba.Services.Implementations.AutomationModule.RuleExecutor.ExecuteWith(Object dataParameter) in C:\Users\Vehbi\Documents\Source\Repos\sambapos-v5-pro\Samba.Services\Implementations\AutomationModule\RuleExecutor.cs:line 62
at Samba.Services.Implementations.AutomationModule.NotificationService.NotifyEvent(String eventName, Object dataParameter, AppState appState) in C:\Users\Vehbi\Documents\Source\Repos\sambapos-v5-pro\Samba.Services\Implementations\AutomationModule\NotificationService.cs:line 26
at Samba.Presentation.Services.Implementations.AutomationModule.NotificationClient.NotifyEvent(String eventName, Object dataObject)
at Samba.Presentation.Services.Implementations.UserModule.UserService.LogoutUser(Boolean resetCache)
at Samba.Presentation.ClientLibrary.Modules.LoginModule.LoginModule.OnNavigate(String parameterName) in C:\Users\Vehbi\Documents\Source\Repos\sambapos-v5-pro\Samba.Presentation.ClientLibrary\Modules\LoginModule\LoginModule.cs:line 55
at Microsoft.Practices.Prism.Commands.DelegateCommand`1.<>c__DisplayClass6.<.ctor>b__2(Object o)
at Microsoft.Practices.Prism.Commands.DelegateCommandBase.Execute(Object parameter)
at Microsoft.Practices.Prism.Commands.DelegateCommandBase.System.Windows.Input.ICommand.Execute(Object parameter)
at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)
at System.Windows.Controls.Primitives.ButtonBase.OnClick()
at System.Windows.Controls.Button.OnClick()
at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
at System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e)
at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
at System.Windows.Input.InputManager.ProcessStagingArea()
at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

[Assembly Info]

mscorlib, Version=
System, Version=
Samba.Services, Version=5.3.7816.39267
Samba.Domain, Version=5.3.7816.39266
Samba.Infrastructure.Data, Version=5.3.7816.39266
System.ComponentModel.Composition, Version=
Samba.Presentation.Services, Version=5.3.7816.39270
System.Core, Version=
PresentationCore, Version=
WindowsBase, Version=
PresentationFramework, Version=
DevExpress.Xpf.LayoutControl.v17.2, Version=
System.Xml, Version=
DevExpress.Xpf.Grid.v17.2, Version=
DevExpress.Xpf.Grid.v17.2.Core, Version=
System.Xaml, Version=
Samba.Infrastructure, Version=5.3.7816.39262
Microsoft.Practices.Prism, Version=
System.Runtime.Serialization, Version=
Microsoft.Practices.Prism.MefExtensions, Version=
DevExpress.Xpf.Core.v17.2, Version=
System.Windows.Forms, Version=
System.Drawing, Version=
Samba.Persistance, Version=5.3.7816.39267
Stateless, Version=
PropertyTools, Version=2012.4.14.1
Samba.Localization, Version=5.3.7816.39263
ReachFramework, Version=
EntityFramework, Version=
FluentValidation, Version=
NCalc, Version=
Microsoft.CSharp, Version=
Omu.ValueInjecter, Version=
Microsoft.Practices.ServiceLocation, Version=
DevExpress.Data.v17.2, Version=
WindowsInput, Version=

[System Info]

Operating System
-Microsoft Windows 10 Pro
–CodeSet = 1251
–CSDVersion =
–CurrentTimeZone = 180
–FreePhysicalMemory = 12977216
–OSArchitecture = 64-bit
–OSLanguage = 1049
–ServicePackMajorVersion = 0
–ServicePackMinorVersion = 0
–Version = 10.0.18363

–Manufacturer = Acer
–Model = Veriton X4630G
–TotalPhysicalMemory = 17029283840
–UserName = PABLO\User

Can you please send db backup to

I’ve updated from 5.3.0 to 5.3.6 and my scripts stopped working.

If try to run the script using the “test” command in the script window (handler.functionname + parameters), it always says “XXX is not defined” where XXX is the handler.

Is there any solution please?

Thank you

We would need to see your script. To test you don’t use handler. You just use function.

It is just a script that duplicates a task. I would like to show you that it works great in 5.3.0 but I cant download the older version (I’m having 5.3.4 on my laptop and the script does not work here either). This is what I get:
How can I download an older version of sambapos please? Thank you

It would be good if we could see the script inside sambapos.

Ok, here it is:
It should duplicate a task. It is executed like this:

But the task is not duplicated, although it works great in 5.3.0. Here is the script:

function getTaskbyIdentifier(taskType,ident,field) {
  taskType = typeof taskType==='undefined' ? '' : taskType;
  ident    = typeof ident==='undefined' ? '' : ident;
  field    = typeof field==='undefined' ? 'name' : field;

  if (taskType=='' || ident=='') {
   return false;
  var qry = '{task:getTask(taskType:"'+taskType+'",identifier:"'+ident+'"){customData{name,value},content,id,name,identifier}}';
  var r = gql.Exec(qry);
  r = JSON.parse(r);
  var task =;

  return task[field];

function addTask(taskType,name,content,ident,color,taskTypeOld) {
  taskType  = typeof taskType==='undefined' ? '' : taskType;
  taskTypeOld = typeof taskTypeOld==='undefined' ? '' : taskTypeOld;
  taskTypeOld = taskTypeOld=='' ? 'KD Task GUI - Food' : taskTypeOld;
  ident    = typeof ident==='undefined' ? '' : ident;
  name     = typeof name==='undefined' || name=='' ? getTaskbyIdentifier(taskTypeOld,ident,'name') : name;
  color    = typeof color==='undefined' ? '' : color;

  var oldContent = getTaskbyIdentifier(taskTypeOld,ident,'content');
  var customData = getTaskbyIdentifier(taskTypeOld,ident,'customData');

  oldContent = oldContent.replace(/"/g,"'"); // replace double-quotes so they do not make GQL error
  oldContent = oldContent.replace(/\r\n/g,'<br/>'); // replace linefeeds so they do not make GQL error
  content = oldContent + '<br/>' + content;

  if (taskType=='' || name=='') {
    return false;
  var qry='mutation m {addTask (task:{taskType:"'+taskType+'",name:"'+name+'",content:"'+content+'",isCompleted:false,identifier:"'+ident+'"';
  qry+= ',customData:[';
            if (customData) {
                for (var d=0; d<customData.length; d++) {
                    qry+= (d==0 ? '' : ',');
                    qry+= '{name:"'+customData[d].name+'",value:"'+customData[d].value+'"}';
            qry+= ']';
  //return qry;
  var r = gql.Exec(qry);
  r = JSON.parse(r);
  var task =;

This is what I get when I try to test the script:

You were right that handler shall not be used in the test command but it still returns an error which says that data.addTask is null or is not an object.

Thank you