What the Transparent trait means:
Normally, a creature cannot hide in plain sight. The transparent trait allows the creature to be hidden "even when" in plain sight.
What Passive Perception means:
DMs can use passive perception when they want to secretly determine whether the characters succeed at noticing a hidden monster.
If a DM wants to secretly determine whether a character notices a hidden gelatinous cube, then apply passive perception. If the DM is not secretly determining whether a character notices a hidden gelatinous cube, then dice are being rolled to see if the character notices the hidden gelatinous cube, because there is still a chance the character notices the cube even if he is not searching.
Crux of the Question:
Of course, a player character can choose to use an action to actively search for signs of the presence of a gelatinous cube. But the question here is whether a player character needs to spend an action to notice the cube.
Answer to the Question:
The answer is: no, not necessarily, meaning that a player character gets an initial chance to notice the cube without having to spend an action. A player character could use passive perception to notice a gelatinous cube. By RAW, the DM uses passive perception to replace a roll, meaning that if the DM is not using passive perception, then the DM is using a roll (that does not require an action) to give the player character a chance to notice the cube without searching for it.
Example:
Player character Apdog has +5 perception.
Player character Dojomon has +2 perception.
Player chracter Merkle has a -1 perception.
Merkle is following Apdog as he walks down an open corrodor containing a gelatinous cube.
The DM wants to secretly determine if Apdog notices the gelatinous cube. Apdog's passive perception is 15 which is enough to pass the DC 15 check to notice the gelatinous cube. Apdog notices the cube and opts not to walk into it. Merkle's passive perception is 9, so Merkle fails to notice the cube... however, since Merkle is following Apdog, Merkle stops and also does not walk into the cube.
The cube does not move or attack, and Merkle still can't see the cube. Apdog tells Merkle something is there and Merkle decides to actively search for it. Merkle uses an action and rolls 13-1 = 12. Still not enough. Merkle can't see the cube!
But wait... Dojomon is walking down the same open corrodor but from the opposite direction, traveling to meet up with Apdog and Merkle. Dojomon is not searching.
The DM decides to roll openly to see if Dojomon notices the cube instead of secretly determining if Dojomon notices the cube using passive perception (because reasons, suffice it to say the DM wants this roll to be made openly for all the players to see).
The DM calls for an open roll and if Dojomon rolls high enough he will notice the cube and not walk into it, but if Dojomon rolls low enough he will fail to notice the cube and walk into it.
Dojomon rolls a 12 +2 = 14, which is not enough to beat the DC of 15. Dojomon walks into the cube!