I am developing a online order receiving application using clover android sdk.
I am able to create order with detail like title, notes and menu item details.. etc and view in order app.
In some cases need to change the order status to paid instead of open programatically. How i can add the payment type and change payment status using order sdk.
I see the order.setPayments()
, but i dnt know how add payment using it.