- Revert some parts of commit c437f78f610e5950b33635f87eb097c41baeab3c

Fix "Cannot access payment gateway" warning due to $fd