defined delete function for paypal model