Paypal IPN: Divide Copsub actions in different functions