Refactors PayPal config keys
Adds api log option
Adds API logging