This question isn’t very clear. Can you post some images of what you’re trying to do? However, there is often confusion surrounding alpha and refractions that’s associated with the “Affect Channels” setting under the advanced refraction rollout. By default this is set to only color, so does not produce transparency in the alpha. Perhaps it’s something to do with that…
Personally I think this feature has needed reworking for years as it’s confusing as hell and is missing the ability to prevent transparency in passes where you normally don’t want it.