my personal enhancement to the official paypal php rest api sdk