checkPaymentStatus(); $settlement->checkSucceededPaymentStatus(); // it always must call finished method at the end $this->finished(); } }