How should I encode 'Crypt' field to make it valid with protocol 3.00 in Ruby? Currently my string looks as follow:
=hidden_field_tag 'Crypt', Base64.encode64('VendorTxCode=406227821909&Amount=32.00&Currency=GBP&Description=Test&SuccessURL=http://example.com/success.php&FailureURL=http://example.com/fail.php&BillingSurname=Smith&BillingFirstnames=John&BillingAddress1=123 Main Street&BillingCity=Anywhere&BillingPostCode=29555&BillingCountry=UK&DeliverySurname=Smith&DeliveryFirstnames=John&DeliverAddress1=123 Main Street&DeliveryCity=Anywhere&DeliveryPostCode=29555&DeliveryCountry=UK')
But each time I get this error as response:
Status Detail: 5068 : The encryption method is not supported by this protocol version.
Thanks in advance, Oskar