When you are getting values returned back to you by SagePay's payment Gateway during a successful 3D Secure authentication your system will be hit with a POST that contains the following keys;
- PaRes
- MD
- MDX
In order to tie these back into your system you should check the order against the PaRes value that you sent to the 3D Secure provider.