module OffsitePayments
Constants
- CURRENCIES_WITHOUT_FRACTIONS
- VERSION
Public Class Methods
integration(name)
click to toggle source
Return
the matching integration module You can then get the notification from the module
-
bogus
: Bogus - Does nothing (for testing) -
chronopay
: Chronopay -
paypal
: Paypalchronopay =
OffsitePayments.integration
('chronopay') notification = chronopay.notification(raw_post)
# File lib/offsite_payments.rb, line 35 def self.integration(name) Integrations.const_get("#{name.to_s.downcase}".camelize) end
test?()
click to toggle source
A check to see if we're in test mode
# File lib/offsite_payments.rb, line 43 def self.test? self.mode == :test end