Class: PaymentCalculator::AuthorizeNet

Inherits:
Object
  • Object
show all
Defined in:
app/models/piggybak/payment_calculator/authorize_net.rb

Constant Summary collapse

KEYS =
["login", "password"]
KLASS =
::ActiveMerchant::Billing::AuthorizeNetGateway

Class Method Summary collapse

Class Method Details

.transaction_id(gateway_response) ⇒ Object



6
7
8
# File 'app/models/piggybak/payment_calculator/authorize_net.rb', line 6

def self.transaction_id(gateway_response)
  gateway_response.params["transaction_id"]
end