Module: ActiveMerchant

Defined in:
lib/active_merchant.rb,
lib/active_merchant/empty.rb,
lib/active_merchant/errors.rb,
lib/active_merchant/country.rb,
lib/active_merchant/version.rb,
lib/active_merchant/billing/base.rb,
lib/active_merchant/billing/check.rb,
lib/active_merchant/billing/model.rb,
lib/active_merchant/billing/gateway.rb,
lib/active_merchant/billing/response.rb,
lib/active_merchant/billing/gateways.rb,
lib/active_merchant/billing/cvv_result.rb,
lib/active_merchant/billing/avs_result.rb,
lib/active_merchant/billing/credit_card.rb,
lib/active_merchant/billing/gateways/pin.rb,
lib/active_merchant/billing/gateways/cc5.rb,
lib/active_merchant/billing/gateways/nmi.rb,
lib/active_merchant/billing/gateways/hps.rb,
lib/active_merchant/billing/gateways/tns.rb,
lib/active_merchant/billing/gateways/qbms.rb,
lib/active_merchant/billing/gateways/epay.rb,
lib/active_merchant/offsite_payments_shim.rb,
lib/active_merchant/billing/gateways/hdfc.rb,
lib/active_merchant/billing/gateways/sage.rb,
lib/active_merchant/billing/gateways/eway.rb,
lib/active_merchant/billing/compatibility.rb,
lib/active_merchant/billing/compatibility.rb,
lib/active_merchant/billing/gateways/migs.rb,
lib/active_merchant/billing/payment_token.rb,
lib/active_merchant/billing/gateways/payex.rb,
lib/active_merchant/billing/gateways/litle.rb,
lib/active_merchant/billing/gateways/wepay.rb,
lib/active_merchant/billing/gateways/ogone.rb,
lib/active_merchant/billing/gateways/exact.rb,
lib/active_merchant/billing/gateways/adyen.rb,
lib/active_merchant/billing/gateways/app55.rb,
lib/active_merchant/billing/gateways/bogus.rb,
lib/active_merchant/billing/gateways/webpay.rb,
lib/active_merchant/billing/gateways/realex.rb,
lib/active_merchant/billing/gateways/evo_ca.rb,
lib/active_merchant/billing/gateways/netpay.rb,
lib/active_merchant/billing/gateways/paypal.rb,
lib/active_merchant/billing/gateways/redsys.rb,
lib/active_merchant/billing/gateways/payway.rb,
lib/active_merchant/billing/gateways/efsnet.rb,
lib/active_merchant/billing/gateways/stripe.rb,
lib/active_merchant/billing/gateways/borgun.rb,
lib/active_merchant/billing/gateways/elavon.rb,
lib/active_merchant/billing/gateways/jetpay.rb,
lib/active_merchant/billing/gateways/verifi.rb,
lib/active_merchant/billing/gateways/payflow.rb,
lib/active_merchant/billing/gateways/be2bill.rb,
lib/active_merchant/billing/gateways/paymill.rb,
lib/active_merchant/billing/gateways/openpay.rb,
lib/active_merchant/billing/gateways/garanti.rb,
lib/active_merchant/billing/gateways/viaklix.rb,
lib/active_merchant/billing/gateways/psigate.rb,
lib/active_merchant/billing/gateways/orbital.rb,
lib/active_merchant/billing/gateways/conekta.rb,
lib/active_merchant/billing/gateways/cashnet.rb,
lib/active_merchant/billing/gateways/quantum.rb,
lib/active_merchant/billing/gateways/transax.rb,
lib/active_merchant/billing/gateways/inspire.rb,
lib/active_merchant/billing/gateways/moneris.rb,
lib/active_merchant/billing/gateways/mercury.rb,
lib/active_merchant/billing/gateways/iridium.rb,
lib/active_merchant/billing/gateways/banwire.rb,
lib/active_merchant/billing/gateways/usa_epay.rb,
lib/active_merchant/billing/gateways/plugnpay.rb,
lib/active_merchant/billing/gateways/netaxept.rb,
lib/active_merchant/billing/gateways/instapay.rb,
lib/active_merchant/billing/gateways/smart_ps.rb,
lib/active_merchant/billing/gateways/payscout.rb,
lib/active_merchant/billing/gateways/wirecard.rb,
lib/active_merchant/billing/gateways/worldpay.rb,
lib/active_merchant/billing/gateways/sage_pay.rb,
lib/active_merchant/billing/gateways/blue_pay.rb,
lib/active_merchant/billing/gateways/vindicia.rb,
lib/active_merchant/billing/gateways/maxipago.rb,
lib/active_merchant/billing/gateways/psl_card.rb,
lib/active_merchant/billing/gateways/cecabank.rb,
lib/active_merchant/billing/gateways/checkout.rb,
lib/active_merchant/billing/gateways/balanced.rb,
lib/active_merchant/billing/gateways/quickpay.rb,
lib/active_merchant/billing/gateways/paypal_ca.rb,
lib/active_merchant/billing/gateways/skip_jack.rb,
lib/active_merchant/billing/gateways/first_pay.rb,
lib/active_merchant/billing/gateways/itransact.rb,
lib/active_merchant/billing/gateways/linkpoint.rb,
lib/active_merchant/billing/gateways/braintree.rb,
lib/active_merchant/billing/gateways/fat_zebra.rb,
lib/active_merchant/billing/gateways/card_save.rb,
lib/active_merchant/billing/gateways/data_cash.rb,
lib/active_merchant/billing/gateways/secure_pay.rb,
lib/active_merchant/billing/gateways/beanstream.rb,
lib/active_merchant/billing/gateways/finansbank.rb,
lib/active_merchant/billing/gateways/bank_frick.rb,
lib/active_merchant/billing/gateways/moneris_us.rb,
lib/active_merchant/billing/gateways/eway_rapid.rb,
lib/active_merchant/billing/gateways/pago_facil.rb,
lib/active_merchant/billing/gateways/pay_secure.rb,
lib/active_merchant/billing/gateways/paystation.rb,
lib/active_merchant/billing/gateways/sallie_mae.rb,
lib/active_merchant/billing/gateways/bridge_pay.rb,
lib/active_merchant/billing/credit_card_methods.rb,
lib/active_merchant/billing/gateways/secure_net.rb,
lib/active_merchant/billing/gateways/payflow_uk.rb,
lib/active_merchant/billing/gateways/netbilling.rb,
lib/active_merchant/billing/gateways/so_easy_pay.rb,
lib/active_merchant/billing/gateways/card_stream.rb,
lib/active_merchant/billing/gateways/trans_first.rb,
lib/active_merchant/billing/gateways/worldpay_us.rb,
lib/active_merchant/billing/gateways/nab_transact.rb,
lib/active_merchant/billing/gateways/cyber_source.rb,
lib/active_merchant/billing/gateways/commercegate.rb,
lib/active_merchant/billing/gateways/pay_junction.rb,
lib/active_merchant/billing/gateways/firstdata_e4.rb,
lib/active_merchant/billing/gateways/merchant_one.rb,
lib/active_merchant/billing/gateways/money_movers.rb,
lib/active_merchant/billing/gateways/certo_direct.rb,
lib/active_merchant/billing/gateways/net_registry.rb,
lib/active_merchant/billing/gateways/first_giving.rb,
lib/active_merchant/billing/gateways/pay_gate_xml.rb,
lib/active_merchant/billing/gateways/eway_managed.rb,
lib/active_merchant/billing/gateways/iats_payments.rb,
lib/active_merchant/billing/gateways/secure_pay_au.rb,
lib/active_merchant/billing/gateways/spreedly_core.rb,
lib/active_merchant/billing/gateways/pac_net_raven.rb,
lib/active_merchant/billing/gateways/merchant_ware.rb,
lib/active_merchant/billing/gateways/paybox_direct.rb,
lib/active_merchant/billing/credit_card_formatting.rb,
lib/active_merchant/billing/gateways/authorize_net.rb,
lib/active_merchant/billing/gateways/transnational.rb,
lib/active_merchant/billing/gateways/barclays_epdq.rb,
lib/active_merchant/billing/gateways/trust_commerce.rb,
lib/active_merchant/billing/gateways/sage/sage_core.rb,
lib/active_merchant/billing/gateways/ideal_rabobank.rb,
lib/active_merchant/billing/apple_pay_payment_token.rb,
lib/active_merchant/billing/gateways/braintree_blue.rb,
lib/active_merchant/billing/gateways/paypal_express.rb,
lib/active_merchant/billing/gateways/swipe_checkout.rb,
lib/active_merchant/billing/gateways/metrics_global.rb,
lib/active_merchant/billing/gateways/payflow_express.rb,
lib/active_merchant/billing/gateways/payment_express.rb,
lib/active_merchant/billing/gateways/migs/migs_codes.rb,
lib/active_merchant/billing/gateways/secure_pay_tech.rb,
lib/active_merchant/billing/gateways/optimal_payment.rb,
lib/active_merchant/billing/gateways/modern_payments.rb,
lib/active_merchant/billing/gateways/sage/sage_vault.rb,
lib/active_merchant/billing/gateways/merchant_warrior.rb,
lib/active_merchant/billing/gateways/federated_canada.rb,
lib/active_merchant/billing/gateways/global_transport.rb,
lib/active_merchant/billing/gateways/ideal/ideal_base.rb,
lib/active_merchant/billing/gateways/braintree_orange.rb,
lib/active_merchant/billing/gateways/authorize_net_cim.rb,
lib/active_merchant/billing/gateways/authorize_net_arb.rb,
lib/active_merchant/billing/gateways/network_merchants.rb,
lib/active_merchant/billing/gateways/usa_epay_advanced.rb,
lib/active_merchant/billing/gateways/payflow_express_uk.rb,
lib/active_merchant/billing/gateways/sage/sage_bankcard.rb,
lib/active_merchant/billing/gateways/beanstream_interac.rb,
lib/active_merchant/billing/gateways/modern_payments_cim.rb,
lib/active_merchant/billing/gateways/paypal_digital_goods.rb,
lib/active_merchant/billing/gateways/ideal/ideal_response.rb,
lib/active_merchant/billing/gateways/usa_epay_transaction.rb,
lib/active_merchant/billing/gateways/merchant_e_solutions.rb,
lib/active_merchant/billing/gateways/paypal_express_common.rb,
lib/active_merchant/billing/gateways/sage/sage_virtual_check.rb,
lib/active_merchant/billing/gateways/payflow/payflow_response.rb,
lib/active_merchant/billing/gateways/paypal/paypal_common_api.rb,
lib/active_merchant/billing/gateways/barclays_epdq_extra_plus.rb,
lib/active_merchant/billing/gateways/payflow/payflow_common_api.rb,
lib/active_merchant/billing/gateways/beanstream/beanstream_core.rb,
lib/active_merchant/billing/gateways/merchant_ware_version_four.rb,
lib/active_merchant/billing/gateways/paypal/paypal_recurring_api.rb,
lib/active_merchant/billing/gateways/paypal/paypal_express_response.rb,
lib/active_merchant/billing/gateways/orbital/orbital_soft_descriptors.rb,
lib/active_merchant/billing/gateways/payflow/payflow_express_response.rb

Overview

:nodoc:

Defined Under Namespace

Modules: Billing, Empty, OffsitePaymentsShim Classes: ActiveMerchantError, ClientCertificateError, ConnectionError, Country, CountryCode, CountryCodeFormatError, InvalidCountryCodeError, InvalidResponseError, ResponseError, RetriableConnectionError

Constant Summary

OFFSITE_PAYMENT_EXTRACTION_MESSAGE =
"Integrations have been extracted into a separate gem (https://github.com/Shopify/offsite_payments) and will no longer be loaded by ActiveMerchant 2.x."
VERSION =
"1.45.0"

Class Method Summary collapse

Class Method Details

.deprecated(message, caller = Kernel.caller[1]) ⇒ Object



100
101
102
103
104
105
106
107
# File 'lib/active_merchant.rb', line 100

def self.deprecated(message, caller=Kernel.caller[1])
  warning = caller + ": " + message
  if(respond_to?(:logger) && logger.present?)
    logger.warn(warning)
  else
    warn(warning)
  end
end