Class: ActiveMerchant::Billing::Integrations::TwoCheckout::Return

Inherits:
Return
  • Object
show all
Defined in:
lib/active_merchant/billing/integrations/two_checkout/return.rb

Instance Attribute Summary

Attributes inherited from Return

#notification, #params

Instance Method Summary collapse

Methods inherited from Return

#initialize, #parse

Constructor Details

This class inherits a constructor from ActiveMerchant::Billing::Integrations::Return

Instance Method Details

#messageObject



10
11
12
# File 'lib/active_merchant/billing/integrations/two_checkout/return.rb', line 10

def message
  
end

#success?Boolean

Returns:

  • (Boolean)


6
7
8
# File 'lib/active_merchant/billing/integrations/two_checkout/return.rb', line 6

def success?
  params['credit_card_processed'] == 'Y'
end