POS-93 added logic to select payment provider, confirm and cancel payments