Sadly this is what happens. At least you didnt pay like $40 to $50 or more.
Bike parts are very simple. You can mix and match nearly anything.
Too many shops out there have no idea on cycling and end up passing mis information. I know. My buddy hired this excellent mechanic from Helens Cyclery. A huge bike chain in Southern California and this guy barely knows how to fix a flat tire. We are always having to ansewr his questions and re check his work. It is amazing.
He has learned a lot here and is amazed on the information he use to pass to his customers.
Derailleurs are very simple beasts. Shimano and shops want you to think they are super hard so they can charge you like $10 to twist a screw.
Derailleurs functions are simple - to go up and down. Triples tend to have more throw so it may be hard to get a double to go all 3 but it can be done in some cases. All the click spacing and such is made in the shifter.
People argue this with me but all you have to do is walk in our shop here and see out personal bikes and you wil lsee. The impossible is done everyday.
In a few months to win the battle over light machines here I will slap on an older 80s Mavic RD to my older Campy 9s sytem and it will work perfect. Of course online many will tell you it is impossible and send you pages of technical data.
I hate to say it but as I tell many. I am here most of the time. Have a question or concern, give me a quick call. That simple.