Pass gateway from  to edd_purchase_data_before_gateway