Fix PaymentConfig with better naming and use of TimeSpan
Add error log for runtime exception in processPayment