The simplest test is to try to use something the upgrade unlocks. If the new content is accessible, the payment went through.
For The Burning Crusade, that meant being able to create Blood Elf and Draenei characters. For Wrath of the Lich King, it was the Death Knight hero class. If neither is available, the upgrade has not applied to your account yet.
Occasionally there is a delay between payment and entitlement, so give it a little time and then check your account's subscription or order history page, which shows exactly what is active. If the payment cleared but the content is still locked, that is a support ticket rather than something you can fix client-side.