lib/pesapal/merchant/details.rb in pesapal-1.2.0 vs lib/pesapal/merchant/details.rb in pesapal-1.2.1

- old
+ new

@@ -1,15 +1,15 @@ module Pesapal module Details - + # set parameters required by the QueryPaymentDetails call def Details.set_parameters(consumer_key, merchant_reference, transaction_tracking_id) # parameters required by the QueryPaymentDetails call (excludes # oauth_signature parameter as per the instructions here # http://developer.pesapal.com/how-to-integrate/api-reference#QueryPaymentDetails) - + timestamp = Time.now.to_i.to_s params = { :oauth_consumer_key => consumer_key, :oauth_nonce => "#{timestamp}" + Pesapal::Oauth.generate_nonce(12), :oauth_signature_method => 'HMAC-SHA1',