Check if  is empty in edd_update_payment_status() and clean up missing brackets
Set  to empty string initially in paypal gateway