status == ‘successful’) { # code… // TIP: you may still verify the transaction // before giving value. } exit();