Tech Articles‎ > ‎Point of Sale‎ > ‎

Creating cash drop / payout buttons

Use the compose command

[

{
Command:'CloudRetailer.Pos.Sales.AddLineItem',
Parameter:{ProductCode: '400000004488', CanAddNonSearchable: true}
},

{
Command: 'SetLineItemComment'
},

{
Command: 'CloudRetailer.Pos.Sales.TakePayment',
Parameter: "{PaymentCode: 'Cash', Amount: ActiveTransaction.Total}"
}

]
Comments