1. Refactoring the paypal integration.