Extracted the paypal button rendering so it could be shared.