I have system where I am charging clients. After every successful payment I take them to receipt page using
history.push(\'/receipt/:orderid\')