updated onPaypalExit method