ive got it set up so that when a customer card is swiped and barcode scanned they are added to the ticket. I have two rules set up one for customers to receive 10% discount and another just to add them to the ticket.
If i just wat to add customer to the ticket i swipe the card/scan barcode and customer is added and everything is good. However if i swipe\scan a card to 10% discount everything works, discount is added, ticket type updates BUT the customer doesnt get added to the ticket and therefore the details do not print on the receipt.
My rule for non discount customer is set for numbers between 1000000000 and 9999999999 (10 digit numbers) swiped\scanned these customer are added and this works as below
1234567890 is scanned/swiped
and customer is added to ticket at the top “Customers: Test Customer Non Discount”
this works fine and i know my change ticket entity works fine as it has added the customer here
My rule for discount customers numbers are set between 100000000 and 999999999 (9 digit numbers)
Now the issue, an item has to be added to the ticket then swipe/scan a discount related number to automatically deduct 10%, my discount number here is 123456789
You can now see the discount has been applied, the ticket state has updated to DISCOUNT: Customer Discount BUT the customer has NOT been loaded onto the ticket
I cant work out why the customer will not load, like i said before rules use the same change entity action so i know that action works, however even when i delete all other actions in the rule to test if the customer loads it does not, for some reason the action to load the customer does not work in this rule, but it does in another.
I have a similar setup for staff discount, the swipe their card at the end of a transaction and it will deduct 10% automatically, I have another staff discount setup for a different % using the same actions and this works perfect. in this case 10% staff discount numbers are 6 digits long and my other staff discount % are 7 digits long
so i dont know why the same “Load Customer” action wont work in my two different rules any ideas?
Here the rule for non customer discount
the rule for customer discount
my load customer action
and my customers entity screens, you will see customer numbers of 123456789 and 1234567890
Any thoughts would be appreciated ive been at the for hours now and cant figure it out. ive even deleted the rule and started again and tested all the “bits” and its definitely the load customer action that does not word on the discount rule