Our Payment Gateway service provider recently launched a new platform with some nice-to-have features. We wanted those features and so we decided to migrate. Being one of the earliest adopters of the new platform, there was no integration kit available. We had to build it ourselves. Not a problem. Since we are a Ruby On Rails shop, we built our own Ruby integration kit. All went well and we pushed it to production.
This is a companion discussion topic for the original entry at https://www.elitmus.com/blog/technology/gotchas-while-syntactically-translating-aes-encryption-logic-from-php-to-ruby/