Phase 2 of Paypal integration