defined select function for paypal model
defined select_where function for paypal model