Fixed warnings in the payment gateway.
PayPal REST API things. General cleanup.