Values returned to ActiveMerchant by SagePayGateway during 3d secure

How to tie back values returned to ActiveMerchant by SagePayGateway

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.

 


Recent posts View all

Ruby

Iterate over indexed params in Rails

When your API isn't Rails-shaped, sometimes you need to handle input differently

Web Dev Jekyll

Running Jekyll from inside VS Code

How to set up your VS Code to run Jekyll without needing extra extensions