Fixed some issues in PayPal connector