Module: OffsitePayments
- Defined in:
- lib/offsite_payments/helper.rb,
lib/offsite_payments.rb,
lib/offsite_payments/return.rb,
lib/offsite_payments/version.rb,
lib/offsite_payments/integrations.rb,
lib/offsite_payments/notification.rb,
lib/offsite_payments/integrations/doku.rb,
lib/offsite_payments/integrations/epay.rb,
lib/offsite_payments/action_view_helper.rb,
lib/offsite_payments/integrations/bogus.rb,
lib/offsite_payments/integrations/paxum.rb,
lib/offsite_payments/integrations/paytm.rb,
lib/offsite_payments/integrations/pxpay.rb,
lib/offsite_payments/integrations/citrus.rb,
lib/offsite_payments/integrations/dotpay.rb,
lib/offsite_payments/integrations/dwolla.rb,
lib/offsite_payments/integrations/ipay88.rb,
lib/offsite_payments/integrations/klarna.rb,
lib/offsite_payments/integrations/liqpay.rb,
lib/offsite_payments/integrations/mollie.rb,
lib/offsite_payments/integrations/molpay.rb,
lib/offsite_payments/integrations/nochex.rb,
lib/offsite_payments/integrations/paypal.rb,
lib/offsite_payments/integrations/bit_pay.rb,
lib/offsite_payments/integrations/gestpay.rb,
lib/offsite_payments/integrations/paysbuy.rb,
lib/offsite_payments/integrations/payu_in.rb,
lib/offsite_payments/integrations/platron.rb,
lib/offsite_payments/integrations/valitor.rb,
lib/offsite_payments/integrations/web_pay.rb,
lib/offsite_payments/integrations/coinbase.rb,
lib/offsite_payments/integrations/easy_pay.rb,
lib/offsite_payments/integrations/hi_trust.rb,
lib/offsite_payments/integrations/pay_fast.rb,
lib/offsite_payments/integrations/quickpay.rb,
lib/offsite_payments/integrations/rbkmoney.rb,
lib/offsite_payments/integrations/webmoney.rb,
lib/offsite_payments/integrations/chronopay.rb,
lib/offsite_payments/integrations/direc_pay.rb,
lib/offsite_payments/integrations/paydollar.rb,
lib/offsite_payments/integrations/robokassa.rb,
lib/offsite_payments/integrations/universal.rb,
lib/offsite_payments/integrations/world_pay.rb,
lib/offsite_payments/integrations/first_data.rb,
lib/offsite_payments/integrations/maksuturva.rb,
lib/offsite_payments/integrations/pag_seguro.rb,
lib/offsite_payments/integrations/a1agregator.rb,
lib/offsite_payments/integrations/mollie_ideal.rb,
lib/offsite_payments/integrations/moneybookers.rb,
lib/offsite_payments/integrations/payflow_link.rb,
lib/offsite_payments/integrations/quickpay_v10.rb,
lib/offsite_payments/integrations/two_checkout.rb,
lib/offsite_payments/integrations/verkkomaksut.rb,
lib/offsite_payments/integrations/payu_in_paisa.rb,
lib/offsite_payments/integrations/sage_pay_form.rb,
lib/offsite_payments/integrations/directebanking.rb,
lib/offsite_payments/integrations/realex_offsite.rb,
lib/offsite_payments/integrations/e_payment_plans.rb,
lib/offsite_payments/integrations/checkout_finland.rb,
lib/offsite_payments/integrations/authorize_net_sim.rb,
lib/offsite_payments/integrations/mollie_mistercash.rb,
lib/offsite_payments/integrations/wirecard_checkout_page.rb,
lib/offsite_payments/integrations/paypal_payments_advanced.rb
Overview
:nodoc:
Defined Under Namespace
Modules: ActionViewHelper, Integrations, MoneyCompatibility Classes: Helper, Notification, Return
Constant Summary collapse
- CURRENCIES_WITHOUT_FRACTIONS =
[ 'BIF', 'BYR', 'CLP', 'CVE', 'DJF', 'GNF', 'ISK', 'JPY', 'KMF', 'KRW', 'PYG', 'RWF', 'TWD', 'UGX', 'VND', 'VUV', 'XAF', 'XOF', 'XPF' ]
- VERSION =
"3.0.1"
- ActionViewHelperError =
Class.new(StandardError)
Class Method Summary collapse
-
.integration(name) ⇒ Object
Return the matching integration module You can then get the notification from the module *
bogus
: Bogus - Does nothing (for testing) *chronopay
: Chronopay *paypal
: Paypal. -
.test? ⇒ Boolean
A check to see if we’re in test mode.
Class Method Details
.integration(name) ⇒ Object
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)
31 32 33 |
# File 'lib/offsite_payments.rb', line 31 def self.integration(name) Integrations.const_get("#{name.to_s.downcase}".camelize) end |
.test? ⇒ Boolean
A check to see if we’re in test mode
39 40 41 |
# File 'lib/offsite_payments.rb', line 39 def self.test? self.mode == :test end |