fixed paypal connection code