# Admin pin for discount Button

**URL:** <https://forum.sambapos.com/t/admin-pin-for-discount-button/3058>\
**Category:** V4 Question\
**Created:** [October 18, 2014, 12:15pm UTC](https://forum.sambapos.com/t/admin-pin-for-discount-button/3058 "2014-10-18T12:15:31Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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 18, 2014, 12:51pm UTC](https://forum.sambapos.com/t/admin-pin-for-discount-button/3058/2 "2014-10-18T12:51:59Z")

</div>

To get Admin PIN confirmation, you would need to create your own Automation Command button to perform the discount using an Update Ticket Calculation Action and the Ticket Calculation Type.

The method currently in use is a Calculation _ **Selector** _ and you can lock it down by Role, but this is not the same as Admin PIN confirmation. Essentially, you would be replacing the Selector with an Automation Command.

![](https://forum.sambapos.com/uploads/default/original/3X/3/6/3624c0be8ab4b006f66d04b3297bb3a3a5c8a440.png)

For basic details, you can look at this Tutorial, and instead of using Fixed amount, use a Percent.

> [@DISCOUNT - Ticket Total - Ask Fixed Amount](http://forum.sambapos.com/t/discount-ticket-total-ask-fixed-amount/1905):
>
> This method allows for a Discount to be applied to the Ticket Total, based on a choice of 5 different fixed amounts.&nbsp; It uses an Ask/Apply approach using the Ask Question Action to let the user choose an amount, then applies the Discount using a Update Calculation Action. Operational Flow: Calculation Type: [image] Automation Command - Ask: Automation Command - Apply: Action - Ask Question: [image] Action - Update Ticket Calculation: [image] Rule - …

---

_[View the full topic](https://forum.sambapos.com/t/admin-pin-for-discount-button/3058)._
