Any Zip file for sambacard?

Hello Guys
I would like to ask you if someone uploaded a working sambacard module (Zip File) . because the one that uploaede by @emre did a crash when i came to settle
thanks in advance

the crash file below :slight_smile:

[General Info]

Application: SambaPOS
Version: 5.1.59
Region: en
DB: SQ
Machine: PC
User: 313
Date: 17/06/2016
Time: 04:49 م

User Explanation:

313 said “”

[Exception Info 1]

Top-level Exception
Type: System.NullReferenceException
Message: Object reference not set to an instance of an object.
Source: Samba.Domain
Stack Trace: at Samba.Domain.Models.Accounts.AccountTransaction.Create(AccountTransactionType template, DateTime date)
at Samba.Domain.Models.Accounts.AccountTransactionDocument.AddNewTransaction(AccountTransactionType template, IEnumerable1 accountDataList, Decimal amount, Decimal exchangeRate) at Samba.Domain.Models.Tickets.Ticket.AddPayment(PaymentType paymentType, Account account, Decimal amount, Decimal tenderedAmount, Decimal exchangeRate, Int32 userId, Int32 departmentId, Int32 terminalId, String description) at Samba.Presentation.Services.Implementations.TicketModule.TicketService.AddPayment(Ticket ticket, PaymentType paymentType, Account account, Decimal amount, Decimal tenderedAmount, String description) at Samba.Modules.PaymentModule.PaymentEditor.UpdateTicketPayment(PaymentType paymentType, ChangePaymentType changeTemplate, Account paymentAccount, Decimal paymentDueAmount, Decimal paidAmount, Decimal tenderedAmount, String description) at Samba.Modules.PaymentModule.PaymentEditorViewModel.SubmitPaymentAmount(PaymentType paymentType, ChangePaymentType changeTemplate, Account paymentAccount, Decimal paymentDueAmount, Decimal tenderedAmount, String description) at Samba.Modules.PaymentModule.PaymentEditorViewModel.SubmitPayment(PaymentType paymentType) at Samba.Modules.PaymentModule.PaymentEditorViewModel.OnMakePayment(PaymentType paymentType) at Microsoft.Practices.Prism.Commands.DelegateCommand1.<>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.Primitives.ToggleButton.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 MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
at System.Windows.Threading.Dispatcher.Run()
at System.Windows.Application.RunDispatcher(Object ignore)
at System.Windows.Application.RunInternal(Window window)
at System.Windows.Application.Run(Window window)
at Samba.Presentation.App.Main()


[Assembly Info]

mscorlib, Version=4.0.0.0
DevExpress.Xpf.LayoutControl.v14.1, Version=14.1.11.0
System.Xml, Version=4.0.0.0
DevExpress.Xpf.Grid.v14.1, Version=14.1.11.0
System, Version=4.0.0.0
DevExpress.Xpf.Grid.v14.1.Core, Version=14.1.11.0
WindowsBase, Version=4.0.0.0
System.Xaml, Version=4.0.0.0
Samba.Domain, Version=1.0.0.0
System.Core, Version=4.0.0.0
PresentationFramework, Version=4.0.0.0
Samba.Infrastructure, Version=1.0.0.0
Microsoft.Practices.Prism, Version=4.0.0.0
System.Runtime.Serialization, Version=4.0.0.0
Microsoft.Practices.Prism.MefExtensions, Version=4.0.0.0
System.ComponentModel.Composition, Version=4.0.0.0
PresentationCore, Version=4.0.0.0
DevExpress.Xpf.Core.v14.1, Version=14.1.11.0
Samba.Services, Version=1.0.0.0
Samba.Presentation.Services, Version=1.0.0.0
System.Windows.Forms, Version=4.0.0.0
System.Drawing, Version=4.0.0.0
Stateless, Version=1.0.0.0
Samba.Persistance, Version=1.0.0.0
PropertyTools, Version=2012.4.14.1
Samba.Localization, Version=1.0.0.0
ReachFramework, Version=4.0.0.0
Samba.Infrastructure.Data, Version=1.0.0.0
EntityFramework, Version=6.0.0.0
FluentValidation, Version=3.4.0.0
Omu.ValueInjecter, Version=2.3.0.0
Microsoft.Practices.ServiceLocation, Version=1.0.0.0
Microsoft.CSharp, Version=4.0.0.0


[System Info]

Operating System
-Microsoft Windows 8.1 Pro
–CodeSet = 1256
–CSDVersion =
–CurrentTimeZone = 180
–FreePhysicalMemory = 2143828
–OSArchitecture = 64-bit
–OSLanguage = 1033
–ServicePackMajorVersion = 0
–ServicePackMinorVersion = 0
–Version = 6.3.9600

Machine
-PC
–Manufacturer = LENOVO
–Model = Lenovo C320
–TotalPhysicalMemory = 4274409472
–UserName = pc\313


It wont be the zip itself, emre is developer of SambaPOS and if its crashing it will be something else in your system conflicting and causing a crash.
SambaPOS is not like other software where you just install modules and patch together a system, its highly customisable meaning that files like that are fine for a blank system to look at and learn from but often they may not work once you have customised your setup.

Looks like the problem is with payment types and transaction document.

and how can i pass this problem ? actually i am preparing this software for my friend and now i reached the final part which is the Samba card .
now , would you send me a discount package ? :slight_smile:

1 Like

To avoid that issue you should probably follow the tutorial and build it yourself instead of rely on a file.

ahh , i meant that i have followed the delivery tutorial about 10 times , now i will try to follow the discount tutorial :wink:

well even microsoft have bugs and errors and maybe if i claimed that i use windows 8.1 will help ? :smirk:

Your error is due to a configuration mistake with SambaPOS and from the error you posted it looks like its happening on payment so it has something to do with your Account Transactions. I would start there, look at your setup for the transactions and compare to the tutorial. Look at the actual transactions and maybe provide a screenshot…

Start showing us some screenshots of your setup and maybe we can spot some mistakes.

sounds great , would you please send me right tutorial link and i will compare my transactions before i start next step :

As you can see there are a lot of discussion on loyalty system. I recommend you use the search function and read as much as you can from past discussions. Loyalty and Sambacard is one of the top discussed topics

4 Likes

thanks Bro that worked :smiley:

another thing bro , i want when i open to add funds to card I want to display in "Default Amount’ instead of [balance] a certain calculation example : 100000-[balance]

Can you elaborate on that?

You may find some useful info under this discussion.