app/models/piggybak/payment_calculator/authorize_net.rb in piggybak-0.1.1 vs app/models/piggybak/payment_calculator/authorize_net.rb in piggybak-0.2.0

- old
+ new

@@ -1,6 +1,10 @@ module Piggybak class PaymentCalculator::AuthorizeNet < PaymentCalculator KEYS = ["login", "password"] KLASS = ::ActiveMerchant::Billing::AuthorizeNetGateway + + def self.transaction_id(gateway_response) + gateway_response.params["transaction_id"] + end end end