How do I testfor/scoreboard a Player in a MinecartRideable (1.9)?

//ads -- adsterra.com -- native banner
?>
I am attempting to create a Minecart mechanic where once the player is in the Minecart it starts moving in a certain direction. I am not a beginner with command blocks, so in your answer you can talk technical with me. I am just not familiar with the new 1.9 tags.
I have attempted (on an active 20hz or repeating clock)
I.
1. /scoreboard players set @a ridingCart 0
2. /scoreboard players set @a ridingCart 1 {Passengers:[{id:"MinecartRideable"}]}
II.
1. /scoreboard players set @e[type=MinecartRideable] ridingCart 0
2. /scoreboard players set @e[type=MinecartRideable] ridingCart 1 {Passengers:[{id:"Player"}]}
Neither of these two separate attempts have worked. I am unsure if this is a bug with the game to where you cannot /testfor with the Passengers tag or if it is a mistake on my end. Thanks!
Pictures about "How do I testfor/scoreboard a Player in a MinecartRideable (1.9)?"



How do you use the scoreboard Testfor in Minecraft?
The correct syntax for score selectors is /testfor (player)[scores={objective=number}] . However that command only selects one number. To select a minimum number you need to use a scoreboard test. You can select a range of numbers in target selectors, for example, 0..How do you test players for blocks in Minecraft?
Type the command in the chat window and press the Enter key to run the command. Once the cheat has been entered, the testfor command will check for mooshrooms. You will see the message "Found Mooshroom" appear in the lower left corner of the game window for each mooshroom found within 50 blocks of you./execute if score // Minecraft 1.19 Command Tutorial
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: cottonbro, ramiz haider, Kindel Media, Mark Milbert