# Get Fast Payment Buttons, help setting values?

**URL:** <https://forum.sambapos.com/t/get-fast-payment-buttons-help-setting-values/552>\
**Category:** V4 Question\
**Created:** [February 12, 2014, 1:46pm UTC](https://forum.sambapos.com/t/get-fast-payment-buttons-help-setting-values/552 "2014-02-12T13:46:58Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![JohnS](https://forum.sambapos.com/user_avatar/forum.sambapos.com/johns/32/24916_2.png) [@JohnS](https://forum.sambapos.com/u/JohnS)\
**Post date:** [February 12, 2014, 3:51pm UTC](https://forum.sambapos.com/t/get-fast-payment-buttons-help-setting-values/552/8 "2014-02-12T15:51:32Z")

</div>

Ok, here we go.  
Set your automation button names like `$10 Fast Payment`, set Value to `10` and map to under ticket. Repeat for all denominations.

Create Action Name - Update Program Setting  
Action Type - Update Program Setting  
Setting Name - [:SettingName]  
Setting Value - [:SettingValue]  
Update Type - Update  
IsLocal - True

Create Action Name - Fast Payment  
Action Type - Pay Ticket  
Payment Type Name - Cash

Create Action Name - Display Message  
Action Type - Show Message  
Message - [:Message]

Create Rule Name - Fast Payment  
Event Name - Automation Command Exeucted  
Custom Constraint - AutomationCommandName - Contains - Fast Payment  
Actions

- Fast Payment
- Update Program Setting, SettingName = FastPayment, SettingValue = [:CommandValue]
- Close Tciket

Create Rule Name - Fast Payment Ticket Closing (make sure this rule is above Ticket Payment Check)  
Event Name - Before Ticket Closing  
Custom Constraint - {:FastPayment} - Is Not Null  
Actions

- Display Message, Message = Change - $[=F(TN(’{:FastPayment}’)-TN(’[:TotalAmount]’))]
- Update Program Setting, SettingName = FastPayment, SettingValue = leave blank

 ![](https://forum.sambapos.com/uploads/default/original/3X/6/9/693ee034819cc03746a4d189f0b2a28dc3b5158c.png) 

$20 was selected.

---

_[View the full topic](https://forum.sambapos.com/t/get-fast-payment-buttons-help-setting-values/552)._
