Ticket Tags - Tendered, Change, Payment Type, CCinfo

That would probably help @emre.

The reason this setup is written this way is because theoretically someone could pay with multiple types, multiple times before the Ticket is fully paid. Ideally, we would want to be able to store all tenders separately, something like this:

TOT: Amount
TND: Amount
CHG [currency] Amount
PMT CC [type] [digits] (date/time) Amount
PMT CC [type] [digits] (date/time) Amount
PMT CC [type] [digits] (date/time) Amount
PMT Cash [currency] (date/time) Amount
PMT Cash [currency] (date/time) Amount
PMT Cash [currency] (date/time) Amount

I know it might look ridiculous to use so many Payment Types on a single Ticket, but it does happen, even if only rarely. So it would equate to this (or similar):

TOT: 2300.00
TND: 2400.00
CHG [LMP] 100.00
PMT CC [MAST] [1111] (2014-12-01_09.58.22) 500.00
PMT CC [VISA] [1234] (2014-12-01_09.59.05) 300.00
PMT CC [VISA] [5678] (2014-12-01_09.59.30) 800.00
PMT Cash [LMP] (2014-12-01_11.00.11) 230.00
PMT Cash [LMP] (2014-12-01_11.00.47) 170.00
PMT Cash [USD] (2014-12-01_11.01.15) 400.00

so is there any tag in report to check for tag name ?
like ticket tag name contains Credit Card!

I am not well-versed in Custom Report Tags, so I can’t really comment - you would need the ability to check the Tag name to see if it “contains” certain characters, similar to the LIKE %name% function in SQL.

Using SQL, you could theoretically parse out the Tags using LIKE and SUBSTRING() functions, but I haven’t looked into it - plus the Tags are stored in JSON format which makes things much more difficult… this is where Custom Report Tags excels over SQL, because @emre has designed it in such a way that it makes reading Tags fairly simple in comparison.

Hello @QMcKay

I have followed this setup. I have one problem but it can be solved as well.

The problem is

When I print the receipt, I do not want to print the tendered and change for mom cash payments and CC info for Cash Payments

One way to solve is to use the separate print job but is there anyway to define that in the Print Template ?

Please let me know

Printer Template formatting allows for printing a line only when a value is present. Simply enclose them in square brackets in the Template, as such:

[<L00>CC Info: {TICKET TAG:CCtype} ({TICKET TAG:CCdigits})]

So for example, if you paid with Cash, the Ticket Tags for CCtype and CCdigits would have no value, and when you use the square brackets, the entire line will not print.

The same would apply for Change due - if the value is 0, nothing will print when enclosed in square brackets:

[<J00>CHANGE:|[=F(TN('{CHANGE TOTAL}'))]]

You won’t be able to avoid printing the Tendered Amount however, since it will always have a value.

Is there a way to add text when there is no value? For example if change was zero and tag was in sqaure brackets so it didnt print could the words NO CHANGE DUE be added instead?

is there a way to group the type of payment in custom report

like it show total of visa , master

The thing is custom reports are custom. We do not know what your report syntax looks like unless you show us. You can do anything with custom reports. Show us what syntax you used and I can show you options for results you wanted. I can also explain why your report turned out like that when you wanted it to look different.

its ok i have done:

[Payment Detail:2, 2]
Type|Total
CashTotal|{REPORT PAYMENT TOTAL:(PT=Cash)}

Credit Card
VISA|{REPORT PAYMENT TOTAL:(PT=Credit Card)and (TT.CCtype=VISA)}
MASTER CARD|{REPORT PAYMENT TOTAL:(PT=Credit Card)and (TT.CCtype=MASTER)}
NETS|{REPORT PAYMENT TOTAL:(PT=Credit Card)and (TT.CCtype=NETS)}
AMEX|{REPORT PAYMENT TOTAL:(PT=Credit Card)and (TT.CCtype=AMEX)}
DINERS|{REPORT PAYMENT TOTAL:(PT=Credit Card)and (TT.CCtype=DINERS)}
OTHER|{REPORT PAYMENT TOTAL:(PT=Credit Card)and (TT.CCtype=OTHER)}
Total|{REPORT PAYMENT TOTAL:(PT=Credit Card)}
Grand Total|{REPORT PAYMENT TOTAL:(PT=Cash) OR (PT=Credit Card)}

4 Likes

How would you add a cancel button to the keypad in case the cashier accidentally chooses the credit card button but meant to press cash?

Manage > Tickets > Payment Types > Credit Card > Payment Processors

Add a Payment Processor of the type: Ask Payment Confirmation


3 Likes

@QMcKay Thankyou!.. that is perfect!

i have to get the custom reports seems to be very effective

1 Like

i have set up everything according to the tutorial, but just one question, the ticket tags at the start, wat is the setup for them?? and the mappings? i removed the mappings and now the whole POS freezes.
i have added the mappings to each of the ticket tags, but it still freezes when i want to make a Credit Card Payment. and it doesn’t even ask for the CCinfo at all

  1. What ticket tags at the start? What do you mean? All ticket tags appear UNDER the ticket

  2. What mappings have you removed? From what rules or buttons?

  3. If it freezes and doesnt ask for CC info you have configured things incorrectly. Im not at my pc but i suggest you go through step by step and check everything again to find your error. This will also help you learn about samba :slight_smile: and since we dont know what youve changed and how going through the tutorial and checking your setup will help

if i want to change the mode of payment from CC to Cash after settling the ticket with CC first. How will i be able to clear the tendered type tag (PMT ) from ticket.

Reopen closed ticket, cancel payments, remove ticket tag will do trick then just resettle with cash.

oh ok just remove the previous settlement but then i should have a button for reopen closed ticket for payment settlement only right

You have to reopen closed ticket first to do anything to it even cancel payments

PS I have you a good order to do it

this is what i did:

button:


mapping:

action:


rule:

result:

1 Like