Clone from /triworks/paypal-full-sdk-php