module OffsitePayments::Integrations::PayuIn

Public Class Methods

checksum(merchant_id, secret_key, payload_items ) click to toggle source
# File lib/offsite_payments/integrations/payu_in.rb, line 22
def self.checksum(merchant_id, secret_key, payload_items )
  Digest::SHA512.hexdigest([merchant_id, *payload_items, secret_key].join("|"))
end
notification(post, options = {}) click to toggle source
# File lib/offsite_payments/integrations/payu_in.rb, line 14
def self.notification(post, options = {})
  Notification.new(post, options)
end
return(post, options = {}) click to toggle source
# File lib/offsite_payments/integrations/payu_in.rb, line 18
def self.return(post, options = {})
  Return.new(post, options)
end
service_url() click to toggle source
# File lib/offsite_payments/integrations/payu_in.rb, line 10
def self.service_url
  OffsitePayments.mode == :production ? self.production_url : self.test_url
end