Class: GenesisRuby::Utils::Threeds::V2
- Inherits:
-
Object
- Object
- GenesisRuby::Utils::Threeds::V2
- Defined in:
- lib/genesis_ruby/utils/threeds/v2.rb
Overview
Threeds V2 Utils
Class Method Summary collapse
-
.generate_signature(unique_id:, amount:, timestamp:, merchant_password:) ⇒ Object
Generate 3DSV2 signature.
Class Method Details
.generate_signature(unique_id:, amount:, timestamp:, merchant_password:) ⇒ Object
Generate 3DSV2 signature
14 15 16 |
# File 'lib/genesis_ruby/utils/threeds/v2.rb', line 14 def generate_signature(unique_id:, amount:, timestamp:, merchant_password:) Digest::SHA512.hexdigest "#{unique_id}#{amount}#{}#{merchant_password}" end |