paypal: remove class from signal approach. Using pure functions