implemented most of paypal and did some adjustments