Paypal refactor service