PaymentButtonDevice.SetPaymentEnabled
Skip to content
mnscript
PaymentButtonDevice.SetPaymentEnabled(bool) 

Description ​

Sets whether the button has payment enabled

Arguments ​

bool - The payment enabled value to set

Example ​

msc
using Device;

PaymentButtonDevice device = Device.FindPaymentButton("MyButton");
device.SetPaymentEnabled(true);