# 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:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pizzaeilat4](https://forum.sambapos.com/user_avatar/forum.sambapos.com/pizzaeilat4/32/461_2.png) [@pizzaeilat4](https://forum.sambapos.com/u/pizzaeilat4)\
**Post date:** [October 18, 2014, 12:15pm UTC](https://forum.sambapos.com/t/admin-pin-for-discount-button/3058/1 "2014-10-18T12:15:31Z")

</div>

hi guys,  
Can anyone tell me how to force admin pin for discount Button on payment screen?  
Thanks.

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

---

<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 - …

---

<div class="post-metadata">

**Author:** ![pizzaeilat4](https://forum.sambapos.com/user_avatar/forum.sambapos.com/pizzaeilat4/32/461_2.png) [@pizzaeilat4](https://forum.sambapos.com/u/pizzaeilat4)\
**Post date:** [October 18, 2014, 1:11pm UTC](https://forum.sambapos.com/t/admin-pin-for-discount-button/3058/3 "2014-10-18T13:11:41Z")

</div>

Okay, this I know how to do But I thought maybe ther is a way not to use automation command  
Thenks.
