lib/payanyway/helpers/signature_generator.rb in payanyway-2.0.0 vs lib/payanyway/helpers/signature_generator.rb in payanyway-2.0.1
- old
+ new
@@ -2,11 +2,11 @@
module Payanyway
module Helpers
class SignatureGenerate
BASE_KEYS = %w(
- moneta_id
+ MNT_ID
MNT_TRANSACTION_ID
MNT_OPERATION_ID
MNT_AMOUNT
MNT_CURRENCY_CODE
MNT_SUBSCRIBER_ID
@@ -36,11 +36,9 @@
end
def get_value(params, key)
if key == 'MNT_AMOUNT' && params[key].present?
'%.2f' % params[key]
- elsif key == 'moneta_id'
- Payanyway::Gateway.config['moneta_id'].to_s
else
params[key]
end
end
\ No newline at end of file