Class: ActiveMerchant::Billing::Integrations::Bill99::Helper
- Inherits:
-
Helper
- Object
- Helper
- ActiveMerchant::Billing::Integrations::Bill99::Helper
- Defined in:
- lib/active_merchant/billing/integrations/bill99/helper.rb
Instance Method Summary collapse
Instance Method Details
#sign ⇒ Object
23 24 25 26 27 28 29 |
# File 'lib/active_merchant/billing/integrations/bill99/helper.rb', line 23 def sign add_field('mac', Digest::MD5.hexdigest("merchant_id=#{ACCOUNT}&orderid=#{order}&amount=#{amount}&merchant_url=#{return_url}" + "&merchant_key=#{KEY}").upcase ) nil end |