Opayo Form Integration C# Crypt Field Encryption Whilst integrating Opayo (Formerly Sage Pay) using C# with .Net, I was having some issues with getting a payment registered using the "Form Integration" method, this included finding a definitive way to encrypt the "Crypt" field. With the help of the Opayo tech support, who are refreshingly responsive, who supplied an example encoded string, and looking at many code examples, we fixed all the issues. We are using the Opayo Form Integration, using the Version 4.00 protocol, Here are some things to check (and double check) 1) Ensure the correct Form value names are supplied when posting the form to register the payment. Form Name/Values VPSProtocol=4.00 (must be "4.00") TxType="PAYMENT" (for standard single payments) Vendor="YourVendorName" (the test account or live account vendor name) Crypt="@ENCRYPTED_NAME_VALUES" 2) The encryption algorithm. The encryption where ENCRYPTED_NAM...
Ideas, Observations and useful things