[stripe] cleanup capture action, move some logic to other actions.