repo
stringlengths
5
92
file_url
stringlengths
80
287
file_path
stringlengths
5
197
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 15:37:27
2026-01-04 17:58:21
truncated
bool
2 classes
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant/blob/ca45b1b063ce2e1495e1427e0a1d42dcb482d57d/lib/active_merchant/billing/gateways/trans_first.rb
lib/active_merchant/billing/gateways/trans_first.rb
module ActiveMerchant # :nodoc: module Billing # :nodoc: class TransFirstGateway < Gateway self.test_url = 'https://ws.cert.transfirst.com' self.live_url = 'https://webservices.primerchants.com' self.supported_countries = ['US'] self.supported_cardtypes = %i[visa master american_express d...
ruby
MIT
ca45b1b063ce2e1495e1427e0a1d42dcb482d57d
2026-01-04T15:45:54.027332Z
false
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant/blob/ca45b1b063ce2e1495e1427e0a1d42dcb482d57d/lib/active_merchant/billing/gateways/digitzs.rb
lib/active_merchant/billing/gateways/digitzs.rb
module ActiveMerchant # :nodoc: module Billing # :nodoc: class DigitzsGateway < Gateway include Empty self.test_url = 'https://beta.digitzsapi.com/sandbox' self.live_url = 'https://beta.digitzsapi.com/v3' self.supported_countries = ['US'] self.default_currency = 'USD' self.su...
ruby
MIT
ca45b1b063ce2e1495e1427e0a1d42dcb482d57d
2026-01-04T15:45:54.027332Z
false
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant/blob/ca45b1b063ce2e1495e1427e0a1d42dcb482d57d/lib/active_merchant/billing/gateways/cecabank.rb
lib/active_merchant/billing/gateways/cecabank.rb
require 'active_merchant/billing/gateways/cecabank/cecabank_xml' require 'active_merchant/billing/gateways/cecabank/cecabank_json' module ActiveMerchant # :nodoc: module Billing # :nodoc: class CecabankGateway < Gateway self.abstract_class = true def self.new(options = {}) return CecabankJso...
ruby
MIT
ca45b1b063ce2e1495e1427e0a1d42dcb482d57d
2026-01-04T15:45:54.027332Z
false
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant/blob/ca45b1b063ce2e1495e1427e0a1d42dcb482d57d/lib/active_merchant/billing/gateways/pay_arc.rb
lib/active_merchant/billing/gateways/pay_arc.rb
module ActiveMerchant # :nodoc: module Billing # :nodoc: class PayArcGateway < Gateway version 'v1' self.test_url = "https://testapi.payarc.net/#{fetch_version}" self.live_url = "https://api.payarc.net/#{fetch_version}" self.supported_countries = ['US'] self.default_currency = 'usd...
ruby
MIT
ca45b1b063ce2e1495e1427e0a1d42dcb482d57d
2026-01-04T15:45:54.027332Z
false
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant/blob/ca45b1b063ce2e1495e1427e0a1d42dcb482d57d/lib/active_merchant/billing/gateways/maxipago.rb
lib/active_merchant/billing/gateways/maxipago.rb
require 'nokogiri' module ActiveMerchant # :nodoc: module Billing # :nodoc: class MaxipagoGateway < Gateway API_VERSION = '3.1.1.15' self.live_url = 'https://api.maxipago.net/UniversalAPI/postXML' self.test_url = 'https://testapi.maxipago.net/UniversalAPI/postXML' self.supported_countri...
ruby
MIT
ca45b1b063ce2e1495e1427e0a1d42dcb482d57d
2026-01-04T15:45:54.027332Z
false
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant/blob/ca45b1b063ce2e1495e1427e0a1d42dcb482d57d/lib/active_merchant/billing/gateways/barclays_epdq_extra_plus.rb
lib/active_merchant/billing/gateways/barclays_epdq_extra_plus.rb
module ActiveMerchant # :nodoc: module Billing # :nodoc: class BarclaysEpdqExtraPlusGateway < OgoneGateway self.test_url = 'https://mdepayments.epdq.co.uk/ncol/test/' self.live_url = 'https://payments.epdq.co.uk/ncol/prod/' self.display_name = 'Barclays ePDQ Extra Plus' self.homepage_url ...
ruby
MIT
ca45b1b063ce2e1495e1427e0a1d42dcb482d57d
2026-01-04T15:45:54.027332Z
false
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant/blob/ca45b1b063ce2e1495e1427e0a1d42dcb482d57d/lib/active_merchant/billing/gateways/paysafe.rb
lib/active_merchant/billing/gateways/paysafe.rb
module ActiveMerchant # :nodoc: module Billing # :nodoc: class PaysafeGateway < Gateway version 'v1' self.test_url = 'https://api.test.paysafe.com' self.live_url = 'https://api.paysafe.com' self.supported_countries = %w(AL AT BE BA BG CA HR CY CZ DK EE FI FR DE GR HU IS IE IT LV LI LT LU...
ruby
MIT
ca45b1b063ce2e1495e1427e0a1d42dcb482d57d
2026-01-04T15:45:54.027332Z
false
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant/blob/ca45b1b063ce2e1495e1427e0a1d42dcb482d57d/lib/active_merchant/billing/gateways/worldpay_online_payments.rb
lib/active_merchant/billing/gateways/worldpay_online_payments.rb
module ActiveMerchant # :nodoc: module Billing # :nodoc: class WorldpayOnlinePaymentsGateway < Gateway self.live_url = 'https://api.worldpay.com/v1/' self.default_currency = 'GBP' self.money_format = :cents self.supported_countries = %w(HK US GB BE CH CZ DE DK ES FI FR GR HU IE IT LU MT...
ruby
MIT
ca45b1b063ce2e1495e1427e0a1d42dcb482d57d
2026-01-04T15:45:54.027332Z
false
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant/blob/ca45b1b063ce2e1495e1427e0a1d42dcb482d57d/lib/active_merchant/billing/gateways/axcessms.rb
lib/active_merchant/billing/gateways/axcessms.rb
module ActiveMerchant # :nodoc: module Billing # :nodoc: class AxcessmsGateway < Gateway self.test_url = 'https://test.ctpe.io/payment/ctpe' self.live_url = 'https://ctpe.io/payment/ctpe' self.supported_countries = %w(AD AT BE BG BR CA CH CY CZ DE DK EE ES FI FO FR GB ...
ruby
MIT
ca45b1b063ce2e1495e1427e0a1d42dcb482d57d
2026-01-04T15:45:54.027332Z
false
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant/blob/ca45b1b063ce2e1495e1427e0a1d42dcb482d57d/lib/active_merchant/billing/gateways/paypal_ca.rb
lib/active_merchant/billing/gateways/paypal_ca.rb
require 'active_merchant/billing/gateways/paypal' module ActiveMerchant # :nodoc: module Billing # :nodoc: # The PayPal gateway for PayPal Website Payments Pro Canada only supports Visa and MasterCard class PaypalCaGateway < PaypalGateway self.supported_cardtypes = %i[visa master] self.supported_...
ruby
MIT
ca45b1b063ce2e1495e1427e0a1d42dcb482d57d
2026-01-04T15:45:54.027332Z
false
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant/blob/ca45b1b063ce2e1495e1427e0a1d42dcb482d57d/lib/active_merchant/billing/gateways/xpay.rb
lib/active_merchant/billing/gateways/xpay.rb
module ActiveMerchant # :nodoc: module Billing # :nodoc: class XpayGateway < Gateway self.display_name = 'XPay Gateway' self.homepage_url = 'https://developer.nexi.it/en' version 'v1' self.test_url = "https://xpaysandbox.nexigroup.com/api/phoenix-0.0/psp/api/#{fetch_version}/" self...
ruby
MIT
ca45b1b063ce2e1495e1427e0a1d42dcb482d57d
2026-01-04T15:45:54.027332Z
false
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant/blob/ca45b1b063ce2e1495e1427e0a1d42dcb482d57d/lib/active_merchant/billing/gateways/openpay.rb
lib/active_merchant/billing/gateways/openpay.rb
module ActiveMerchant # :nodoc: module Billing # :nodoc: class OpenpayGateway < Gateway class_attribute :mx_live_url, :mx_test_url class_attribute :co_live_url, :co_test_url self.co_live_url = 'https://api.openpay.co/v1/' self.co_test_url = 'https://sandbox-api.openpay.co/v1/' self....
ruby
MIT
ca45b1b063ce2e1495e1427e0a1d42dcb482d57d
2026-01-04T15:45:54.027332Z
false
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant/blob/ca45b1b063ce2e1495e1427e0a1d42dcb482d57d/lib/active_merchant/billing/gateways/usa_epay.rb
lib/active_merchant/billing/gateways/usa_epay.rb
module ActiveMerchant # :nodoc: module Billing # :nodoc: ## # Delegates to the appropriate gateway, either the Transaction or Advanced # depending on options passed to new. # class UsaEpayGateway < Gateway self.abstract_class = true ## # Creates an instance of UsaEpayTransaction...
ruby
MIT
ca45b1b063ce2e1495e1427e0a1d42dcb482d57d
2026-01-04T15:45:54.027332Z
false
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant/blob/ca45b1b063ce2e1495e1427e0a1d42dcb482d57d/lib/active_merchant/billing/gateways/viaklix.rb
lib/active_merchant/billing/gateways/viaklix.rb
module ActiveMerchant # :nodoc: module Billing # :nodoc: class ViaklixGateway < Gateway class_attribute :test_url, :live_url, :delimiter, :actions self.test_url = 'https://demo.viaklix.com/process.asp' self.live_url = 'https://www.viaklix.com/process.asp' self.delimiter = "\r\n" se...
ruby
MIT
ca45b1b063ce2e1495e1427e0a1d42dcb482d57d
2026-01-04T15:45:54.027332Z
false
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant/blob/ca45b1b063ce2e1495e1427e0a1d42dcb482d57d/lib/active_merchant/billing/gateways/finansbank.rb
lib/active_merchant/billing/gateways/finansbank.rb
require 'active_merchant/billing/gateways/cc5' module ActiveMerchant # :nodoc: module Billing # :nodoc: class FinansbankGateway < CC5Gateway self.live_url = 'https://www.fbwebpos.com/servlet/cc5ApiServer' self.test_url = 'https://entegrasyon.asseco-see.com.tr/fim/api' # The countries the gatew...
ruby
MIT
ca45b1b063ce2e1495e1427e0a1d42dcb482d57d
2026-01-04T15:45:54.027332Z
false
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant/blob/ca45b1b063ce2e1495e1427e0a1d42dcb482d57d/lib/active_merchant/billing/gateways/culqi.rb
lib/active_merchant/billing/gateways/culqi.rb
require 'digest/md5' module ActiveMerchant # :nodoc: module Billing # :nodoc: # Important note: # === # Culqi merchant accounts are configured for either purchase or auth/capture # modes. This is configured by Culqi when setting up a merchant account and # largely depends on the transaction acqui...
ruby
MIT
ca45b1b063ce2e1495e1427e0a1d42dcb482d57d
2026-01-04T15:45:54.027332Z
false
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant/blob/ca45b1b063ce2e1495e1427e0a1d42dcb482d57d/lib/active_merchant/billing/gateways/netaxept.rb
lib/active_merchant/billing/gateways/netaxept.rb
require 'digest/md5' module ActiveMerchant # :nodoc: module Billing # :nodoc: class NetaxeptGateway < Gateway self.test_url = 'https://epayment-test.bbs.no/' self.live_url = 'https://epayment.bbs.no/' # The countries the gateway supports merchants from as 2 digit ISO country codes self.s...
ruby
MIT
ca45b1b063ce2e1495e1427e0a1d42dcb482d57d
2026-01-04T15:45:54.027332Z
false
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant/blob/ca45b1b063ce2e1495e1427e0a1d42dcb482d57d/lib/active_merchant/billing/gateways/cardprocess.rb
lib/active_merchant/billing/gateways/cardprocess.rb
module ActiveMerchant # :nodoc: module Billing # :nodoc: class CardprocessGateway < Gateway self.test_url = 'https://test.vr-pay-ecommerce.de/v1/payments' self.live_url = 'https://vr-pay-ecommerce.de/v1/payments' self.supported_countries = %w[ BE BG CZ DK DE EE IE ES FR HR IT CY LV LT LU ...
ruby
MIT
ca45b1b063ce2e1495e1427e0a1d42dcb482d57d
2026-01-04T15:45:54.027332Z
false
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant/blob/ca45b1b063ce2e1495e1427e0a1d42dcb482d57d/lib/active_merchant/billing/gateways/worldpay.rb
lib/active_merchant/billing/gateways/worldpay.rb
require 'nokogiri' module ActiveMerchant # :nodoc: module Billing # :nodoc: class WorldpayGateway < Gateway self.test_url = 'https://secure-test.worldpay.com/jsp/merchant/xml/paymentService.jsp' self.live_url = 'https://secure.worldpay.com/jsp/merchant/xml/paymentService.jsp' self.default_curr...
ruby
MIT
ca45b1b063ce2e1495e1427e0a1d42dcb482d57d
2026-01-04T15:45:54.027332Z
true
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant/blob/ca45b1b063ce2e1495e1427e0a1d42dcb482d57d/lib/active_merchant/billing/gateways/bpoint.rb
lib/active_merchant/billing/gateways/bpoint.rb
require 'nokogiri' module ActiveMerchant # :nodoc: module Billing # :nodoc: class BpointGateway < Gateway self.live_url = 'https://www.bpoint.com.au/evolve/service_1_4_4.asmx' self.supported_countries = ['AU'] self.default_currency = 'AUD' self.supported_cardtypes = %i[visa master americ...
ruby
MIT
ca45b1b063ce2e1495e1427e0a1d42dcb482d57d
2026-01-04T15:45:54.027332Z
false
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant/blob/ca45b1b063ce2e1495e1427e0a1d42dcb482d57d/lib/active_merchant/billing/gateways/pay_secure.rb
lib/active_merchant/billing/gateways/pay_secure.rb
module ActiveMerchant # :nodoc: module Billing # :nodoc: class PaySecureGateway < Gateway self.live_url = self.test_url = 'https://clearance.commsecure.com.au/cgi-bin/PSDirect' self.money_format = :cents # Currently Authorization and Capture is not implemented because # capturing require...
ruby
MIT
ca45b1b063ce2e1495e1427e0a1d42dcb482d57d
2026-01-04T15:45:54.027332Z
false
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant/blob/ca45b1b063ce2e1495e1427e0a1d42dcb482d57d/lib/active_merchant/billing/gateways/psl_card.rb
lib/active_merchant/billing/gateways/psl_card.rb
module ActiveMerchant module Billing # # ActiveMerchant PSL Card Gateway # # Notes: # -To be able to use the capture function, the IP address of the machine must be # registered with PSL # -ESALE_KEYED should only be used in situations where the cardholder perceives the # tra...
ruby
MIT
ca45b1b063ce2e1495e1427e0a1d42dcb482d57d
2026-01-04T15:45:54.027332Z
false
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant/blob/ca45b1b063ce2e1495e1427e0a1d42dcb482d57d/lib/active_merchant/billing/gateways/paystation.rb
lib/active_merchant/billing/gateways/paystation.rb
module ActiveMerchant # :nodoc: module Billing # :nodoc: class PaystationGateway < Gateway self.live_url = self.test_url = 'https://www.paystation.co.nz/direct/paystation.dll' # an "error code" of "0" means "No error - transaction successful" SUCCESSFUL_RESPONSE_CODE = '0' # an "error co...
ruby
MIT
ca45b1b063ce2e1495e1427e0a1d42dcb482d57d
2026-01-04T15:45:54.027332Z
false
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant/blob/ca45b1b063ce2e1495e1427e0a1d42dcb482d57d/lib/active_merchant/billing/gateways/trans_first_transaction_express.rb
lib/active_merchant/billing/gateways/trans_first_transaction_express.rb
require 'nokogiri' module ActiveMerchant # :nodoc: module Billing # :nodoc: class TransFirstTransactionExpressGateway < Gateway self.display_name = 'TransFirst Transaction Express' self.homepage_url = 'http://transactionexpress.com/' self.test_url = 'https://ws.cert.transactionexpress.com/port...
ruby
MIT
ca45b1b063ce2e1495e1427e0a1d42dcb482d57d
2026-01-04T15:45:54.027332Z
false
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant/blob/ca45b1b063ce2e1495e1427e0a1d42dcb482d57d/lib/active_merchant/billing/gateways/usa_epay_transaction.rb
lib/active_merchant/billing/gateways/usa_epay_transaction.rb
module ActiveMerchant # :nodoc: module Billing # :nodoc: class UsaEpayTransactionGateway < Gateway self.live_url = 'https://www.usaepay.com/gate' self.test_url = 'https://sandbox.usaepay.com/gate' self.supported_cardtypes = %i[visa master american_express] self.supported_countries = ['U...
ruby
MIT
ca45b1b063ce2e1495e1427e0a1d42dcb482d57d
2026-01-04T15:45:54.027332Z
false
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant/blob/ca45b1b063ce2e1495e1427e0a1d42dcb482d57d/lib/active_merchant/billing/gateways/tns.rb
lib/active_merchant/billing/gateways/tns.rb
module ActiveMerchant module Billing class TnsGateway < Gateway include MastercardGateway class_attribute :live_na_url, :live_ap_url, :live_eu_url, :test_na_url, :test_ap_url, :test_eu_url VERSION = '52' self.live_na_url = "https://secure.na.tnspayments.com/api/rest/version/#{VERSION}/"...
ruby
MIT
ca45b1b063ce2e1495e1427e0a1d42dcb482d57d
2026-01-04T15:45:54.027332Z
false
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant/blob/ca45b1b063ce2e1495e1427e0a1d42dcb482d57d/lib/active_merchant/billing/gateways/netbilling.rb
lib/active_merchant/billing/gateways/netbilling.rb
module ActiveMerchant # :nodoc: module Billing # :nodoc: # To perform PCI Compliant Repeat Billing # # Ensure that PCI Compliant Repeat Billing is enabled on your merchant account: # "Enable PCI Compliant Repeat Billing, Up-selling and Cross-selling" in Step 6 of the Credit Cards setup page #...
ruby
MIT
ca45b1b063ce2e1495e1427e0a1d42dcb482d57d
2026-01-04T15:45:54.027332Z
false
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant/blob/ca45b1b063ce2e1495e1427e0a1d42dcb482d57d/lib/active_merchant/billing/gateways/nuvei.rb
lib/active_merchant/billing/gateways/nuvei.rb
module ActiveMerchant module Billing class NuveiGateway < Gateway version 'v1' self.test_url = "https://ppp-test.nuvei.com/ppp/api/#{fetch_version}" self.live_url = "https://secure.safecharge.com/ppp/api/#{fetch_version}" self.supported_countries = %w[US CA IN NZ GB AU US] self.def...
ruby
MIT
ca45b1b063ce2e1495e1427e0a1d42dcb482d57d
2026-01-04T15:45:54.027332Z
false
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant/blob/ca45b1b063ce2e1495e1427e0a1d42dcb482d57d/lib/active_merchant/billing/gateways/bogus.rb
lib/active_merchant/billing/gateways/bogus.rb
module ActiveMerchant # :nodoc: module Billing # :nodoc: # Bogus Gateway class BogusGateway < Gateway AUTHORIZATION = '53433' AUTHORIZATION_EMV_SUCCESS = '8A023030' AUTHORIZATION_EMV_DECLINE = '8A023035' SUCCESS_MESSAGE = 'Bogus Gateway: Forced success' FAILURE_MESSAGE = 'Bogus...
ruby
MIT
ca45b1b063ce2e1495e1427e0a1d42dcb482d57d
2026-01-04T15:45:54.027332Z
false
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant/blob/ca45b1b063ce2e1495e1427e0a1d42dcb482d57d/lib/active_merchant/billing/gateways/merchant_ware.rb
lib/active_merchant/billing/gateways/merchant_ware.rb
module ActiveMerchant # :nodoc: module Billing # :nodoc: class MerchantWareGateway < Gateway class_attribute :v4_live_url self.live_url = self.test_url = 'https://ps1.merchantware.net/MerchantWARE/ws/RetailTransaction/TXRetail.asmx' self.v4_live_url = 'https://ps1.merchantware.net/Merchantware/...
ruby
MIT
ca45b1b063ce2e1495e1427e0a1d42dcb482d57d
2026-01-04T15:45:54.027332Z
false
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant/blob/ca45b1b063ce2e1495e1427e0a1d42dcb482d57d/lib/active_merchant/billing/gateways/jetpay_v2.rb
lib/active_merchant/billing/gateways/jetpay_v2.rb
module ActiveMerchant # :nodoc: module Billing # :nodoc: class JetpayV2Gateway < Gateway self.test_url = 'https://test1.jetpay.com/jetpay' self.live_url = 'https://gateway20.jetpay.com/jetpay' self.money_format = :cents self.default_currency = 'USD' self.supported_countries = %w[US ...
ruby
MIT
ca45b1b063ce2e1495e1427e0a1d42dcb482d57d
2026-01-04T15:45:54.027332Z
false
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant/blob/ca45b1b063ce2e1495e1427e0a1d42dcb482d57d/lib/active_merchant/billing/gateways/stripe.rb
lib/active_merchant/billing/gateways/stripe.rb
require 'active_support/core_ext/hash/slice' module ActiveMerchant # :nodoc: module Billing # :nodoc: # This gateway uses an older version of the Stripe API. # To utilize the updated {Payment Intents API}[https://stripe.com/docs/api/payment_intents], integrate with the StripePaymentIntents gateway class ...
ruby
MIT
ca45b1b063ce2e1495e1427e0a1d42dcb482d57d
2026-01-04T15:45:54.027332Z
true
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant/blob/ca45b1b063ce2e1495e1427e0a1d42dcb482d57d/lib/active_merchant/billing/gateways/safe_charge.rb
lib/active_merchant/billing/gateways/safe_charge.rb
require 'nokogiri' module ActiveMerchant # :nodoc: module Billing # :nodoc: class SafeChargeGateway < Gateway self.test_url = 'https://process.sandbox.safecharge.com/service.asmx/Process' self.live_url = 'https://process.safecharge.com/service.asmx/Process' self.supported_countries = %w[AT AU ...
ruby
MIT
ca45b1b063ce2e1495e1427e0a1d42dcb482d57d
2026-01-04T15:45:54.027332Z
false
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant/blob/ca45b1b063ce2e1495e1427e0a1d42dcb482d57d/lib/active_merchant/billing/gateways/banwire.rb
lib/active_merchant/billing/gateways/banwire.rb
module ActiveMerchant # :nodoc: module Billing # :nodoc: class BanwireGateway < Gateway URL = 'https://banwire.com/api.pago_pro' self.supported_countries = ['MX'] self.supported_cardtypes = %i[visa master american_express] self.homepage_url = 'http://www.banwire.com/' self.display_n...
ruby
MIT
ca45b1b063ce2e1495e1427e0a1d42dcb482d57d
2026-01-04T15:45:54.027332Z
false
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant/blob/ca45b1b063ce2e1495e1427e0a1d42dcb482d57d/lib/active_merchant/billing/gateways/nmi.rb
lib/active_merchant/billing/gateways/nmi.rb
module ActiveMerchant # :nodoc: module Billing # :nodoc: class NmiGateway < Gateway include Empty DUP_WINDOW_DEPRECATION_MESSAGE = 'The class-level duplicate_window variable is deprecated. Please use the :dup_seconds transaction option instead.' self.test_url = self.live_url = 'https://secure....
ruby
MIT
ca45b1b063ce2e1495e1427e0a1d42dcb482d57d
2026-01-04T15:45:54.027332Z
false
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant/blob/ca45b1b063ce2e1495e1427e0a1d42dcb482d57d/lib/active_merchant/billing/gateways/latitude19.rb
lib/active_merchant/billing/gateways/latitude19.rb
module ActiveMerchant # :nodoc: module Billing # :nodoc: class Latitude19Gateway < Gateway self.display_name = 'Latitude19 Gateway' self.homepage_url = 'http://www.l19tech.com' self.live_url = 'https://gateway.l19tech.com/payments/' self.test_url = 'https://gateway-sb.l19tech.com/payments...
ruby
MIT
ca45b1b063ce2e1495e1427e0a1d42dcb482d57d
2026-01-04T15:45:54.027332Z
false
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant/blob/ca45b1b063ce2e1495e1427e0a1d42dcb482d57d/lib/active_merchant/billing/gateways/airwallex.rb
lib/active_merchant/billing/gateways/airwallex.rb
module ActiveMerchant # :nodoc: module Billing # :nodoc: class AirwallexGateway < Gateway self.test_url = 'https://api-demo.airwallex.com/api/v1' self.live_url = 'https://pci-api.airwallex.com/api/v1' # per https://www.airwallex.com/docs/online-payments__overview, cards are accepted in all EU c...
ruby
MIT
ca45b1b063ce2e1495e1427e0a1d42dcb482d57d
2026-01-04T15:45:54.027332Z
false
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant/blob/ca45b1b063ce2e1495e1427e0a1d42dcb482d57d/lib/active_merchant/billing/gateways/netbanx.rb
lib/active_merchant/billing/gateways/netbanx.rb
module ActiveMerchant # :nodoc: module Billing # :nodoc: class NetbanxGateway < Gateway # Netbanx is the new REST based API for Optimal Payments / Paysafe self.test_url = 'https://api.test.netbanx.com/' self.live_url = 'https://api.netbanx.com/' self.supported_countries = %w(AF AX AL DZ A...
ruby
MIT
ca45b1b063ce2e1495e1427e0a1d42dcb482d57d
2026-01-04T15:45:54.027332Z
false
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant/blob/ca45b1b063ce2e1495e1427e0a1d42dcb482d57d/lib/active_merchant/billing/gateways/ipp.rb
lib/active_merchant/billing/gateways/ipp.rb
require 'nokogiri' module ActiveMerchant # :nodoc: module Billing # :nodoc: class IppGateway < Gateway self.live_url = 'https://www.ippayments.com.au/interface/api/dts.asmx' self.test_url = 'https://demo.ippayments.com.au/interface/api/dts.asmx' self.supported_countries = ['AU'] self.sup...
ruby
MIT
ca45b1b063ce2e1495e1427e0a1d42dcb482d57d
2026-01-04T15:45:54.027332Z
false
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant/blob/ca45b1b063ce2e1495e1427e0a1d42dcb482d57d/lib/active_merchant/billing/gateways/authorize_net_arb.rb
lib/active_merchant/billing/gateways/authorize_net_arb.rb
module ActiveMerchant # :nodoc: module Billing # :nodoc: # For more information on the Authorize.Net Gateway please visit their {Integration Center}[http://developer.authorize.net/] # # The login and password are not the username and password you use to # login to the Authorize.Net Merchant Interface....
ruby
MIT
ca45b1b063ce2e1495e1427e0a1d42dcb482d57d
2026-01-04T15:45:54.027332Z
false
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant/blob/ca45b1b063ce2e1495e1427e0a1d42dcb482d57d/lib/active_merchant/billing/gateways/creditcall.rb
lib/active_merchant/billing/gateways/creditcall.rb
require 'nokogiri' module ActiveMerchant # :nodoc: module Billing # :nodoc: class CreditcallGateway < Gateway include Empty self.test_url = 'https://test.cardeasexml.com/generic.cex' self.live_url = 'https://live.cardeasexml.com/generic.cex' self.supported_countries = ['US'] self....
ruby
MIT
ca45b1b063ce2e1495e1427e0a1d42dcb482d57d
2026-01-04T15:45:54.027332Z
false
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant/blob/ca45b1b063ce2e1495e1427e0a1d42dcb482d57d/lib/active_merchant/billing/gateways/loan_payment_pro.rb
lib/active_merchant/billing/gateways/loan_payment_pro.rb
module ActiveMerchant # :nodoc: module Billing # :nodoc: class LoanPaymentProGateway < Gateway self.live_url = 'https://gateway.loanpaymentpro.com' self.test_url = 'https://gateway.loanpaymentpro.com' self.supported_countries = ['US'] self.default_currency = 'USD' self.supported_car...
ruby
MIT
ca45b1b063ce2e1495e1427e0a1d42dcb482d57d
2026-01-04T15:45:54.027332Z
false
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant/blob/ca45b1b063ce2e1495e1427e0a1d42dcb482d57d/lib/active_merchant/billing/gateways/spreedly_core.rb
lib/active_merchant/billing/gateways/spreedly_core.rb
require 'nokogiri' module ActiveMerchant # :nodoc: module Billing # :nodoc: # Public: This gateway allows you to interact with any gateway you've # created in Spreedly (https://spreedly.com). It's an adapter which can be # particularly useful if you already have code interacting with # ActiveMerchan...
ruby
MIT
ca45b1b063ce2e1495e1427e0a1d42dcb482d57d
2026-01-04T15:45:54.027332Z
false
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant/blob/ca45b1b063ce2e1495e1427e0a1d42dcb482d57d/lib/active_merchant/billing/gateways/paybox_direct.rb
lib/active_merchant/billing/gateways/paybox_direct.rb
module ActiveMerchant # :nodoc: module Billing # :nodoc: class PayboxDirectGateway < Gateway class_attribute :live_url_backup self.test_url = 'https://preprod-ppps.paybox.com/PPPS.php' self.live_url = 'https://ppps.paybox.com/PPPS.php' self.live_url_backup = 'https://ppps1.paybox.com/...
ruby
MIT
ca45b1b063ce2e1495e1427e0a1d42dcb482d57d
2026-01-04T15:45:54.027332Z
false
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant/blob/ca45b1b063ce2e1495e1427e0a1d42dcb482d57d/lib/active_merchant/billing/gateways/plugnpay.rb
lib/active_merchant/billing/gateways/plugnpay.rb
module ActiveMerchant module Billing class PlugnpayGateway < Gateway class PlugnpayPostData < PostData # Fields that will be sent even if they are blank self.required_fields = %i[publisher_name publisher_password card_amount card_name card_number card_exp or...
ruby
MIT
ca45b1b063ce2e1495e1427e0a1d42dcb482d57d
2026-01-04T15:45:54.027332Z
false
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant/blob/ca45b1b063ce2e1495e1427e0a1d42dcb482d57d/lib/active_merchant/billing/gateways/paypal_express.rb
lib/active_merchant/billing/gateways/paypal_express.rb
require 'active_merchant/billing/gateways/paypal/paypal_common_api' require 'active_merchant/billing/gateways/paypal/paypal_express_response' require 'active_merchant/billing/gateways/paypal/paypal_recurring_api' require 'active_merchant/billing/gateways/paypal_express_common' module ActiveMerchant # :nodoc: module ...
ruby
MIT
ca45b1b063ce2e1495e1427e0a1d42dcb482d57d
2026-01-04T15:45:54.027332Z
false
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant/blob/ca45b1b063ce2e1495e1427e0a1d42dcb482d57d/lib/active_merchant/billing/gateways/braintree_blue.rb
lib/active_merchant/billing/gateways/braintree_blue.rb
require 'active_merchant/billing/gateways/braintree/braintree_common' require 'active_merchant/billing/gateways/braintree/token_nonce' require 'active_support/core_ext/array/extract_options' begin require 'braintree' rescue LoadError raise 'Could not load the braintree gem. Use `gem install braintree` to install ...
ruby
MIT
ca45b1b063ce2e1495e1427e0a1d42dcb482d57d
2026-01-04T15:45:54.027332Z
true
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant/blob/ca45b1b063ce2e1495e1427e0a1d42dcb482d57d/lib/active_merchant/billing/gateways/pay_conex.rb
lib/active_merchant/billing/gateways/pay_conex.rb
module ActiveMerchant # :nodoc: module Billing # :nodoc: class PayConexGateway < Gateway include Empty version '3.8' self.test_url = "https://cert.payconex.net/api/qsapi/#{fetch_version}/" self.live_url = "https://secure.payconex.net/api/qsapi/#{fetch_version}/" self.supported_cou...
ruby
MIT
ca45b1b063ce2e1495e1427e0a1d42dcb482d57d
2026-01-04T15:45:54.027332Z
false
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant/blob/ca45b1b063ce2e1495e1427e0a1d42dcb482d57d/lib/active_merchant/billing/gateways/transact_pro.rb
lib/active_merchant/billing/gateways/transact_pro.rb
module ActiveMerchant # :nodoc: module Billing # :nodoc: # For more information visit {Transact Pro Services}[https://www.transactpro.lv/business/] # # This gateway was formerly associated with www.1stpayments.net # # Written by Piers Chambers (Varyonic.com) class TransactProGateway < Gateway ...
ruby
MIT
ca45b1b063ce2e1495e1427e0a1d42dcb482d57d
2026-01-04T15:45:54.027332Z
false
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant/blob/ca45b1b063ce2e1495e1427e0a1d42dcb482d57d/lib/active_merchant/billing/gateways/verifi.rb
lib/active_merchant/billing/gateways/verifi.rb
require 'rexml/document' module ActiveMerchant # :nodoc: module Billing # :nodoc: class VerifiGateway < Gateway class VerifiPostData < PostData # Fields that will be sent even if they are blank self.required_fields = %i[amount type ccnumber ccexp firstname lastname ...
ruby
MIT
ca45b1b063ce2e1495e1427e0a1d42dcb482d57d
2026-01-04T15:45:54.027332Z
false
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant/blob/ca45b1b063ce2e1495e1427e0a1d42dcb482d57d/lib/active_merchant/billing/gateways/eway_rapid.rb
lib/active_merchant/billing/gateways/eway_rapid.rb
require 'json' module ActiveMerchant # :nodoc: module Billing # :nodoc: class EwayRapidGateway < Gateway self.test_url = 'https://api.sandbox.ewaypayments.com/' self.live_url = 'https://api.ewaypayments.com/' self.money_format = :cents self.supported_countries = %w[AU NZ GB SG MY HK] ...
ruby
MIT
ca45b1b063ce2e1495e1427e0a1d42dcb482d57d
2026-01-04T15:45:54.027332Z
false
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant/blob/ca45b1b063ce2e1495e1427e0a1d42dcb482d57d/lib/active_merchant/billing/gateways/federated_canada.rb
lib/active_merchant/billing/gateways/federated_canada.rb
module ActiveMerchant # :nodoc: module Billing # :nodoc: class FederatedCanadaGateway < Gateway # Same URL for both test and live, testing is done by using the test username (demo) and password (password). self.live_url = self.test_url = 'https://secure.federatedgateway.com/api/transact.php' AP...
ruby
MIT
ca45b1b063ce2e1495e1427e0a1d42dcb482d57d
2026-01-04T15:45:54.027332Z
false
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant/blob/ca45b1b063ce2e1495e1427e0a1d42dcb482d57d/lib/active_merchant/billing/gateways/optimal_payment.rb
lib/active_merchant/billing/gateways/optimal_payment.rb
module ActiveMerchant # :nodoc: module Billing # :nodoc: class OptimalPaymentGateway < Gateway version 'v1' self.test_url = "https://webservices.test.optimalpayments.com/creditcardWS/CreditCardServlet/#{fetch_version}" self.live_url = "https://webservices.optimalpayments.com/creditcardWS/Credit...
ruby
MIT
ca45b1b063ce2e1495e1427e0a1d42dcb482d57d
2026-01-04T15:45:54.027332Z
false
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant/blob/ca45b1b063ce2e1495e1427e0a1d42dcb482d57d/lib/active_merchant/billing/gateways/ogone.rb
lib/active_merchant/billing/gateways/ogone.rb
# coding: utf-8 require 'rexml/document' module ActiveMerchant # :nodoc: module Billing # :nodoc: # = Ogone DirectLink Gateway # # DirectLink is the API version of the Ogone Payment Platform. It allows server to server # communication between Ogone systems and your e-commerce website. # # Th...
ruby
MIT
ca45b1b063ce2e1495e1427e0a1d42dcb482d57d
2026-01-04T15:45:54.027332Z
false
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant/blob/ca45b1b063ce2e1495e1427e0a1d42dcb482d57d/lib/active_merchant/billing/gateways/conekta.rb
lib/active_merchant/billing/gateways/conekta.rb
module ActiveMerchant # :nodoc: module Billing # :nodoc: class ConektaGateway < Gateway self.live_url = 'https://api.conekta.io/' self.supported_countries = ['MX'] self.supported_cardtypes = %i[visa master american_express carnet] self.homepage_url = 'https://conekta.io/' self.displ...
ruby
MIT
ca45b1b063ce2e1495e1427e0a1d42dcb482d57d
2026-01-04T15:45:54.027332Z
false
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant/blob/ca45b1b063ce2e1495e1427e0a1d42dcb482d57d/lib/active_merchant/billing/gateways/authorize_net.rb
lib/active_merchant/billing/gateways/authorize_net.rb
require 'nokogiri' module ActiveMerchant module Billing class AuthorizeNetGateway < Gateway include Empty self.test_url = 'https://apitest.authorize.net/xml/v1/request.api' self.live_url = 'https://api2.authorize.net/xml/v1/request.api' self.supported_countries = %w(AU CA US) self...
ruby
MIT
ca45b1b063ce2e1495e1427e0a1d42dcb482d57d
2026-01-04T15:45:54.027332Z
true
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant/blob/ca45b1b063ce2e1495e1427e0a1d42dcb482d57d/lib/active_merchant/billing/gateways/global_transport.rb
lib/active_merchant/billing/gateways/global_transport.rb
require 'nokogiri' module ActiveMerchant # :nodoc: module Billing # :nodoc: class GlobalTransportGateway < Gateway self.test_url = 'https://certapia.globalpay.com/GlobalPay/transact.asmx/ProcessCreditCard' self.live_url = 'https://api.globalpay.com/GlobalPay/transact.asmx/ProcessCreditCard' se...
ruby
MIT
ca45b1b063ce2e1495e1427e0a1d42dcb482d57d
2026-01-04T15:45:54.027332Z
false
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant/blob/ca45b1b063ce2e1495e1427e0a1d42dcb482d57d/lib/active_merchant/billing/gateways/skip_jack.rb
lib/active_merchant/billing/gateways/skip_jack.rb
# encoding: utf-8 module ActiveMerchant # :nodoc: module Billing # :nodoc: class SkipJackGateway < Gateway API_VERSION = '?.?' self.live_url = 'https://www.skipjackic.com' self.test_url = 'https://developer.skipjackic.com' BASIC_PATH = '/scripts/evolvcc.dll' ADVANCED_PATH = '/evol...
ruby
MIT
ca45b1b063ce2e1495e1427e0a1d42dcb482d57d
2026-01-04T15:45:54.027332Z
false
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant/blob/ca45b1b063ce2e1495e1427e0a1d42dcb482d57d/lib/active_merchant/billing/gateways/inspire.rb
lib/active_merchant/billing/gateways/inspire.rb
require File.join(File.dirname(__FILE__), '..', 'check.rb') module ActiveMerchant # :nodoc: module Billing # :nodoc: class InspireGateway < Gateway self.live_url = self.test_url = 'https://secure.inspiregateway.net/api/transact.php' self.supported_countries = ['US'] self.supported_cardtypes = %...
ruby
MIT
ca45b1b063ce2e1495e1427e0a1d42dcb482d57d
2026-01-04T15:45:54.027332Z
false
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant/blob/ca45b1b063ce2e1495e1427e0a1d42dcb482d57d/lib/active_merchant/billing/gateways/qbms.rb
lib/active_merchant/billing/gateways/qbms.rb
module ActiveMerchant # :nodoc: module Billing # :nodoc: class QbmsGateway < Gateway API_VERSION = '4.0' class_attribute :test_url, :live_url self.test_url = 'https://webmerchantaccount.ptc.quickbooks.com/j/AppGateway' self.live_url = 'https://webmerchantaccount.quickbooks.com/j/AppGatew...
ruby
MIT
ca45b1b063ce2e1495e1427e0a1d42dcb482d57d
2026-01-04T15:45:54.027332Z
false
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant/blob/ca45b1b063ce2e1495e1427e0a1d42dcb482d57d/lib/active_merchant/billing/gateways/fat_zebra.rb
lib/active_merchant/billing/gateways/fat_zebra.rb
require 'json' module ActiveMerchant # :nodoc: module Billing # :nodoc: class FatZebraGateway < Gateway version 'v1.0' self.live_url = "https://gateway.fatzebra.com.au/#{fetch_version}" self.test_url = "https://gateway.sandbox.fatzebra.com.au/#{fetch_version}" self.supported_countries =...
ruby
MIT
ca45b1b063ce2e1495e1427e0a1d42dcb482d57d
2026-01-04T15:45:54.027332Z
false
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant/blob/ca45b1b063ce2e1495e1427e0a1d42dcb482d57d/lib/active_merchant/billing/gateways/evo_ca.rb
lib/active_merchant/billing/gateways/evo_ca.rb
module ActiveMerchant # :nodoc: module Billing # :nodoc: # === EVO Canada payment gateway. # # EVO returns two different identifiers for most transactions, the # +authcode+ and the +transactionid+. Since +transactionid+ is used more # often (i.e. for {#capture}, {#refund}, {#void} and {#update}) ...
ruby
MIT
ca45b1b063ce2e1495e1427e0a1d42dcb482d57d
2026-01-04T15:45:54.027332Z
false
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant/blob/ca45b1b063ce2e1495e1427e0a1d42dcb482d57d/lib/active_merchant/billing/gateways/beanstream_interac.rb
lib/active_merchant/billing/gateways/beanstream_interac.rb
require 'active_merchant/billing/gateways/beanstream/beanstream_core' module ActiveMerchant # :nodoc: module Billing # :nodoc: class BeanstreamInteracResponse < Response def redirect params['pageContents'] end end class BeanstreamInteracGateway < Gateway include BeanstreamCore ...
ruby
MIT
ca45b1b063ce2e1495e1427e0a1d42dcb482d57d
2026-01-04T15:45:54.027332Z
false
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant/blob/ca45b1b063ce2e1495e1427e0a1d42dcb482d57d/lib/active_merchant/billing/gateways/blue_pay.rb
lib/active_merchant/billing/gateways/blue_pay.rb
require 'digest/md5' module ActiveMerchant # :nodoc: module Billing # :nodoc: class BluePayGateway < Gateway class_attribute :rebilling_url, :ignore_http_status self.live_url = 'https://secure.bluepay.com/interfaces/bp20post' self.rebilling_url = 'https://secure.bluepay.com/interfaces/bp2...
ruby
MIT
ca45b1b063ce2e1495e1427e0a1d42dcb482d57d
2026-01-04T15:45:54.027332Z
false
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant/blob/ca45b1b063ce2e1495e1427e0a1d42dcb482d57d/lib/active_merchant/billing/gateways/wepay.rb
lib/active_merchant/billing/gateways/wepay.rb
module ActiveMerchant # :nodoc: module Billing # :nodoc: class WepayGateway < Gateway version 'v2' self.test_url = "https://stage.wepayapi.com/#{fetch_version}" self.live_url = "https://wepayapi.com/#{fetch_version}" self.supported_countries = %w[US CA] self.supported_cardtypes = %...
ruby
MIT
ca45b1b063ce2e1495e1427e0a1d42dcb482d57d
2026-01-04T15:45:54.027332Z
false
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant/blob/ca45b1b063ce2e1495e1427e0a1d42dcb482d57d/lib/active_merchant/billing/gateways/orbital.rb
lib/active_merchant/billing/gateways/orbital.rb
require 'active_merchant/billing/gateways/orbital/orbital_soft_descriptors' require 'rexml/document' require 'active_merchant/billing/gateways/orbital/orbital_codes' module ActiveMerchant # :nodoc: module Billing # :nodoc: # For more information on Orbital, visit the {integration center}[http://download.chasepay...
ruby
MIT
ca45b1b063ce2e1495e1427e0a1d42dcb482d57d
2026-01-04T15:45:54.027332Z
true
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant/blob/ca45b1b063ce2e1495e1427e0a1d42dcb482d57d/lib/active_merchant/billing/gateways/citrus_pay.rb
lib/active_merchant/billing/gateways/citrus_pay.rb
module ActiveMerchant module Billing class CitrusPayGateway < Gateway include MastercardGateway class_attribute :live_na_url, :live_ap_url, :test_na_url, :test_ap_url self.test_na_url = 'https://test-gateway.mastercard.com/api/rest/version/39/' self.test_ap_url = 'https://test-gateway.ma...
ruby
MIT
ca45b1b063ce2e1495e1427e0a1d42dcb482d57d
2026-01-04T15:45:54.027332Z
false
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant/blob/ca45b1b063ce2e1495e1427e0a1d42dcb482d57d/lib/active_merchant/billing/gateways/decidir_plus.rb
lib/active_merchant/billing/gateways/decidir_plus.rb
module ActiveMerchant # :nodoc: module Billing # :nodoc: class DecidirPlusGateway < Gateway self.test_url = 'https://developers.decidir.com/api/v2' self.live_url = 'https://live.decidir.com/api/v2' self.supported_countries = ['AR'] self.default_currency = 'ARS' self.supported_cardty...
ruby
MIT
ca45b1b063ce2e1495e1427e0a1d42dcb482d57d
2026-01-04T15:45:54.027332Z
false
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant/blob/ca45b1b063ce2e1495e1427e0a1d42dcb482d57d/lib/active_merchant/billing/gateways/paypal_express_common.rb
lib/active_merchant/billing/gateways/paypal_express_common.rb
module ActiveMerchant module Billing module PaypalExpressCommon def self.included(base) if base.respond_to?(:class_attribute) base.class_attribute :test_redirect_url base.class_attribute :live_redirect_url else base.class_inheritable_accessor :test_redirect_url ...
ruby
MIT
ca45b1b063ce2e1495e1427e0a1d42dcb482d57d
2026-01-04T15:45:54.027332Z
false
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant/blob/ca45b1b063ce2e1495e1427e0a1d42dcb482d57d/lib/active_merchant/billing/gateways/cecabank/cecabank_json.rb
lib/active_merchant/billing/gateways/cecabank/cecabank_json.rb
require 'active_merchant/billing/gateways/cecabank/cecabank_common' module ActiveMerchant module Billing class CecabankJsonGateway < Gateway include CecabankCommon CECA_ACTIONS_DICTIONARY = { purchase: :REST_AUTORIZACION, authorize: :REST_PREAUTORIZACION, capture: :REST_COBRO...
ruby
MIT
ca45b1b063ce2e1495e1427e0a1d42dcb482d57d
2026-01-04T15:45:54.027332Z
false
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant/blob/ca45b1b063ce2e1495e1427e0a1d42dcb482d57d/lib/active_merchant/billing/gateways/cecabank/cecabank_common.rb
lib/active_merchant/billing/gateways/cecabank/cecabank_common.rb
module CecabankCommon #### CECA's MAGIC NUMBERS CECA_ENCRIPTION = 'SHA2' CECA_CURRENCIES_DICTIONARY = { 'EUR' => 978, 'USD' => 840, 'GBP' => 826 } def self.included(base) base.supported_countries = ['ES'] base.supported_cardtypes = %i[visa master american_express] base.homepage_url = 'http://www.ce...
ruby
MIT
ca45b1b063ce2e1495e1427e0a1d42dcb482d57d
2026-01-04T15:45:54.027332Z
false
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant/blob/ca45b1b063ce2e1495e1427e0a1d42dcb482d57d/lib/active_merchant/billing/gateways/cecabank/cecabank_xml.rb
lib/active_merchant/billing/gateways/cecabank/cecabank_xml.rb
require 'active_merchant/billing/gateways/cecabank/cecabank_common' module ActiveMerchant module Billing class CecabankXmlGateway < Gateway include CecabankCommon self.test_url = 'https://tpv.ceca.es' self.live_url = 'https://pgw.ceca.es' #### CECA's MAGIC NUMBERS CECA_NOTIFICATIO...
ruby
MIT
ca45b1b063ce2e1495e1427e0a1d42dcb482d57d
2026-01-04T15:45:54.027332Z
false
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant/blob/ca45b1b063ce2e1495e1427e0a1d42dcb482d57d/lib/active_merchant/billing/gateways/orbital/orbital_soft_descriptors.rb
lib/active_merchant/billing/gateways/orbital/orbital_soft_descriptors.rb
module ActiveMerchant # :nodoc: module Billing # :nodoc: class OrbitalSoftDescriptors < Model PHONE_FORMAT_1 = /\A\d{3}-\d{3}-\d{4}\z/ PHONE_FORMAT_2 = /\A\d{3}-\w{7}\z/ # ==== Tampa PNS Soft Descriptors # The support for Soft Descriptors via the PNS Host is only for customers processing ...
ruby
MIT
ca45b1b063ce2e1495e1427e0a1d42dcb482d57d
2026-01-04T15:45:54.027332Z
false
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant/blob/ca45b1b063ce2e1495e1427e0a1d42dcb482d57d/lib/active_merchant/billing/gateways/orbital/orbital_codes.rb
lib/active_merchant/billing/gateways/orbital/orbital_codes.rb
module ActiveMerchant module Billing module OrbitalCodes CURRENCY_CODES = { 'DZD' => '012', # Algerian Dinar 'ARS' => '032', # Argentine Peso 'AMD' => '051', # Armenian Dram 'AWG' => '533', # Aruban Guilder 'AUD' => '036', # Australian Dollar 'AZN' =...
ruby
MIT
ca45b1b063ce2e1495e1427e0a1d42dcb482d57d
2026-01-04T15:45:54.027332Z
false
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant/blob/ca45b1b063ce2e1495e1427e0a1d42dcb482d57d/lib/active_merchant/billing/gateways/payflow/payflow_common_api.rb
lib/active_merchant/billing/gateways/payflow/payflow_common_api.rb
require 'nokogiri' module ActiveMerchant # :nodoc: module Billing # :nodoc: module PayflowCommonAPI def self.included(base) base.default_currency = 'USD' base.class_attribute :partner # Set the default partner to PayPal base.partner = 'PayPal' base.supported_countr...
ruby
MIT
ca45b1b063ce2e1495e1427e0a1d42dcb482d57d
2026-01-04T15:45:54.027332Z
false
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant/blob/ca45b1b063ce2e1495e1427e0a1d42dcb482d57d/lib/active_merchant/billing/gateways/payflow/payflow_express_response.rb
lib/active_merchant/billing/gateways/payflow/payflow_express_response.rb
module ActiveMerchant # :nodoc: module Billing # :nodoc: class PayflowExpressResponse < Response def email @params['e_mail'] end def full_name "#{@params['name']} #{@params['lastname']}" end def token @params['token'] end def payer_id @p...
ruby
MIT
ca45b1b063ce2e1495e1427e0a1d42dcb482d57d
2026-01-04T15:45:54.027332Z
false
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant/blob/ca45b1b063ce2e1495e1427e0a1d42dcb482d57d/lib/active_merchant/billing/gateways/payflow/payflow_response.rb
lib/active_merchant/billing/gateways/payflow/payflow_response.rb
module ActiveMerchant # :nodoc: module Billing # :nodoc: class PayflowResponse < Response def profile_id @params['profile_id'] end def payment_history @payment_history ||= @params['rp_payment_result'].collect(&:stringify_keys) rescue [] end end end end
ruby
MIT
ca45b1b063ce2e1495e1427e0a1d42dcb482d57d
2026-01-04T15:45:54.027332Z
false
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant/blob/ca45b1b063ce2e1495e1427e0a1d42dcb482d57d/lib/active_merchant/billing/gateways/cyber_source/cyber_source_common.rb
lib/active_merchant/billing/gateways/cyber_source/cyber_source_common.rb
module ActiveMerchant # :nodoc: module Billing # :nodoc: module CyberSourceCommon def check_billing_field_value(default, submitted) if submitted.nil? nil elsif submitted.blank? default else submitted end end def address_names(address...
ruby
MIT
ca45b1b063ce2e1495e1427e0a1d42dcb482d57d
2026-01-04T15:45:54.027332Z
false
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant/blob/ca45b1b063ce2e1495e1427e0a1d42dcb482d57d/lib/active_merchant/billing/gateways/braintree/braintree_common.rb
lib/active_merchant/billing/gateways/braintree/braintree_common.rb
module BraintreeCommon def self.included(base) base.supported_countries = %w(US CA AD AT BE BG HR CY CZ DK EE FI FR GI DE GR GG HU IS IM IE IT JE LV LI LT LU MT MC NL NO PL PT RO SM SK SI ES SE CH TR GB SG HK MY AU NZ) base.supported_cardtypes = %i[visa master american_express discover jcb diners_club maestro...
ruby
MIT
ca45b1b063ce2e1495e1427e0a1d42dcb482d57d
2026-01-04T15:45:54.027332Z
false
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant/blob/ca45b1b063ce2e1495e1427e0a1d42dcb482d57d/lib/active_merchant/billing/gateways/braintree/token_nonce.rb
lib/active_merchant/billing/gateways/braintree/token_nonce.rb
module ActiveMerchant # :nodoc: module Billing # :nodoc: class TokenNonce # :nodoc: include PostsData # This class emulates the behavior of the front-end js library to # create token nonce for a bank account base on the docs: # https://developer.paypal.com/braintree/docs/guides/ach/client-...
ruby
MIT
ca45b1b063ce2e1495e1427e0a1d42dcb482d57d
2026-01-04T15:45:54.027332Z
false
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant/blob/ca45b1b063ce2e1495e1427e0a1d42dcb482d57d/lib/active_merchant/billing/gateways/first_pay/first_pay_json.rb
lib/active_merchant/billing/gateways/first_pay/first_pay_json.rb
require 'active_merchant/billing/gateways/first_pay/first_pay_common' module ActiveMerchant # :nodoc: module Billing # :nodoc: class FirstPayJsonGateway < Gateway include FirstPayCommon ACTIONS = { purchase: 'Sale', authorize: 'Auth', capture: 'Settle', refund: 'Refun...
ruby
MIT
ca45b1b063ce2e1495e1427e0a1d42dcb482d57d
2026-01-04T15:45:54.027332Z
false
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant/blob/ca45b1b063ce2e1495e1427e0a1d42dcb482d57d/lib/active_merchant/billing/gateways/first_pay/first_pay_xml.rb
lib/active_merchant/billing/gateways/first_pay/first_pay_xml.rb
require 'active_merchant/billing/gateways/first_pay/first_pay_common' require 'nokogiri' module ActiveMerchant # :nodoc: module Billing # :nodoc: class FirstPayXmlGateway < Gateway include FirstPayCommon self.live_url = 'https://secure.goemerchant.com/secure/gateway/xmlgateway.aspx' # Creates...
ruby
MIT
ca45b1b063ce2e1495e1427e0a1d42dcb482d57d
2026-01-04T15:45:54.027332Z
false
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant/blob/ca45b1b063ce2e1495e1427e0a1d42dcb482d57d/lib/active_merchant/billing/gateways/first_pay/first_pay_common.rb
lib/active_merchant/billing/gateways/first_pay/first_pay_common.rb
module FirstPayCommon def self.included(base) base.supported_countries = ['US'] base.default_currency = 'USD' base.money_format = :dollars base.supported_cardtypes = %i[visa master american_express discover] base.homepage_url = 'http://1stpaygateway.net/' base.display_name = '1stPayGateway.Ne...
ruby
MIT
ca45b1b063ce2e1495e1427e0a1d42dcb482d57d
2026-01-04T15:45:54.027332Z
false
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant/blob/ca45b1b063ce2e1495e1427e0a1d42dcb482d57d/lib/active_merchant/billing/gateways/migs/migs_codes.rb
lib/active_merchant/billing/gateways/migs/migs_codes.rb
module ActiveMerchant module Billing module MigsCodes TXN_RESPONSE_CODES = { '?' => 'Response Unknown', '0' => 'Transaction Successful', '1' => 'Transaction Declined - Bank Error', '2' => 'Bank Declined Transaction', '3' => 'Transaction Declined - No Reply from Bank',...
ruby
MIT
ca45b1b063ce2e1495e1427e0a1d42dcb482d57d
2026-01-04T15:45:54.027332Z
false
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant/blob/ca45b1b063ce2e1495e1427e0a1d42dcb482d57d/lib/active_merchant/billing/gateways/quickpay/quickpay_v4to7.rb
lib/active_merchant/billing/gateways/quickpay/quickpay_v4to7.rb
require 'rexml/document' require 'digest/md5' require 'active_merchant/billing/gateways/quickpay/quickpay_common' module ActiveMerchant # :nodoc: module Billing # :nodoc: class QuickpayV4to7Gateway < Gateway include QuickpayCommon self.live_url = self.test_url = 'https://secure.quickpay.dk/api' ...
ruby
MIT
ca45b1b063ce2e1495e1427e0a1d42dcb482d57d
2026-01-04T15:45:54.027332Z
false
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant/blob/ca45b1b063ce2e1495e1427e0a1d42dcb482d57d/lib/active_merchant/billing/gateways/quickpay/quickpay_common.rb
lib/active_merchant/billing/gateways/quickpay/quickpay_common.rb
module QuickpayCommon MD5_CHECK_FIELDS = { 3 => { authorize: %w(protocol msgtype merchant ordernumber amount currency autocapture cardnumber expirationdate cvd cardtypelock testmode), capture: %w(protocol msgtype merchant amount finalize transaction), ca...
ruby
MIT
ca45b1b063ce2e1495e1427e0a1d42dcb482d57d
2026-01-04T15:45:54.027332Z
false
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant/blob/ca45b1b063ce2e1495e1427e0a1d42dcb482d57d/lib/active_merchant/billing/gateways/quickpay/quickpay_v10.rb
lib/active_merchant/billing/gateways/quickpay/quickpay_v10.rb
require 'json' require 'active_merchant/billing/gateways/quickpay/quickpay_common' module ActiveMerchant module Billing class QuickpayV10Gateway < Gateway include QuickpayCommon API_VERSION = 10 self.live_url = self.test_url = 'https://api.quickpay.net' def initialize(options = {}) ...
ruby
MIT
ca45b1b063ce2e1495e1427e0a1d42dcb482d57d
2026-01-04T15:45:54.027332Z
false
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant/blob/ca45b1b063ce2e1495e1427e0a1d42dcb482d57d/lib/active_merchant/billing/gateways/paypal/paypal_recurring_api.rb
lib/active_merchant/billing/gateways/paypal/paypal_recurring_api.rb
require 'active_merchant/billing/gateways/paypal/paypal_common_api' module ActiveMerchant # :nodoc: module Billing # :nodoc: # This module is included in both PaypalGateway and PaypalExpressGateway module PaypalRecurringApi PAYPAL_NAMESPACE = ActiveMerchant::Billing::PaypalCommonAPI::PAYPAL_NAMESPACE ...
ruby
MIT
ca45b1b063ce2e1495e1427e0a1d42dcb482d57d
2026-01-04T15:45:54.027332Z
false
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant/blob/ca45b1b063ce2e1495e1427e0a1d42dcb482d57d/lib/active_merchant/billing/gateways/paypal/paypal_common_api.rb
lib/active_merchant/billing/gateways/paypal/paypal_common_api.rb
module ActiveMerchant # :nodoc: module Billing # :nodoc: # This module is included in both PaypalGateway and PaypalExpressGateway module PaypalCommonAPI include Empty API_VERSION = '124' API_VERSION_3DS2 = '214.0' PAYPAL_NAMESPACE = 'urn:ebay:api:PayPalAPI' EBAY_NAMESPACE = 'ur...
ruby
MIT
ca45b1b063ce2e1495e1427e0a1d42dcb482d57d
2026-01-04T15:45:54.027332Z
false
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant/blob/ca45b1b063ce2e1495e1427e0a1d42dcb482d57d/lib/active_merchant/billing/gateways/paypal/paypal_express_response.rb
lib/active_merchant/billing/gateways/paypal/paypal_express_response.rb
module ActiveMerchant # :nodoc: module Billing # :nodoc: class PaypalExpressResponse < Response def email info['Payer'] end def info (@params['PayerInfo']||{}) end def details (@params['PaymentDetails']||{}) end def checkout_status (@par...
ruby
MIT
ca45b1b063ce2e1495e1427e0a1d42dcb482d57d
2026-01-04T15:45:54.027332Z
false
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant/blob/ca45b1b063ce2e1495e1427e0a1d42dcb482d57d/lib/active_merchant/billing/gateways/beanstream/beanstream_core.rb
lib/active_merchant/billing/gateways/beanstream/beanstream_core.rb
module ActiveMerchant # :nodoc: module Billing # :nodoc: module BeanstreamCore include Empty RECURRING_URL = 'https://www.beanstream.com/scripts/recurring_billing.asp' SECURE_PROFILE_URL = 'https://www.beanstream.com/scripts/payment_profile.asp' SP_SERVICE_VERSION = '1.1' TRANSACT...
ruby
MIT
ca45b1b063ce2e1495e1427e0a1d42dcb482d57d
2026-01-04T15:45:54.027332Z
false
stringer-rss/stringer
https://github.com/stringer-rss/stringer/blob/9b7a95c9c5b8aaec6ab87359583e3ee49279422c/app/tasks/remove_old_stories.rb
app/tasks/remove_old_stories.rb
# frozen_string_literal: true module RemoveOldStories class << self def call(number_of_days) stories = old_stories(number_of_days) feeds = pruned_feeds(stories) stories.delete_all feeds.each { |feed| FeedRepository.update_last_fetched(feed, Time.now) } end private def old_s...
ruby
MIT
9b7a95c9c5b8aaec6ab87359583e3ee49279422c
2026-01-04T15:47:22.789280Z
false
stringer-rss/stringer
https://github.com/stringer-rss/stringer/blob/9b7a95c9c5b8aaec6ab87359583e3ee49279422c/app/jobs/application_job.rb
app/jobs/application_job.rb
# frozen_string_literal: true class ApplicationJob < ActiveJob::Base end
ruby
MIT
9b7a95c9c5b8aaec6ab87359583e3ee49279422c
2026-01-04T15:47:22.789280Z
false
stringer-rss/stringer
https://github.com/stringer-rss/stringer/blob/9b7a95c9c5b8aaec6ab87359583e3ee49279422c/app/jobs/callable_job.rb
app/jobs/callable_job.rb
# frozen_string_literal: true class CallableJob < ApplicationJob def perform(callable, *, **) callable.call(*, **) end end
ruby
MIT
9b7a95c9c5b8aaec6ab87359583e3ee49279422c
2026-01-04T15:47:22.789280Z
false
stringer-rss/stringer
https://github.com/stringer-rss/stringer/blob/9b7a95c9c5b8aaec6ab87359583e3ee49279422c/app/helpers/url_helpers.rb
app/helpers/url_helpers.rb
# frozen_string_literal: true module UrlHelpers def expand_absolute_urls(content, base_url) doc = Nokogiri::HTML.fragment(content) [["a", "href"], ["img", "src"], ["video", "src"]].each do |tag, attr| doc.css("#{tag}[#{attr}]").each do |node| url = node.get_attribute(attr) next if url ...
ruby
MIT
9b7a95c9c5b8aaec6ab87359583e3ee49279422c
2026-01-04T15:47:22.789280Z
false
stringer-rss/stringer
https://github.com/stringer-rss/stringer/blob/9b7a95c9c5b8aaec6ab87359583e3ee49279422c/app/commands/fever_api.rb
app/commands/fever_api.rb
# frozen_string_literal: true module FeverAPI API_VERSION = 3 PARAMS = [ :as, :before, :favicons, :feeds, :groups, :id, :items, :links, :mark, :saved_item_ids, :since_id, :unread_item_ids, :with_ids ].freeze end
ruby
MIT
9b7a95c9c5b8aaec6ab87359583e3ee49279422c
2026-01-04T15:47:22.789280Z
false
stringer-rss/stringer
https://github.com/stringer-rss/stringer/blob/9b7a95c9c5b8aaec6ab87359583e3ee49279422c/app/commands/cast_boolean.rb
app/commands/cast_boolean.rb
# frozen_string_literal: true module CastBoolean TRUE_VALUES = Set.new(["true", true, "1"]).freeze FALSE_VALUES = Set.new(["false", false, "0"]).freeze def self.call(boolean) if (TRUE_VALUES + FALSE_VALUES).exclude?(boolean) raise(ArgumentError, "cannot cast to boolean: #{boolean.inspect}") end ...
ruby
MIT
9b7a95c9c5b8aaec6ab87359583e3ee49279422c
2026-01-04T15:47:22.789280Z
false
stringer-rss/stringer
https://github.com/stringer-rss/stringer/blob/9b7a95c9c5b8aaec6ab87359583e3ee49279422c/app/commands/user/sign_in_user.rb
app/commands/user/sign_in_user.rb
# frozen_string_literal: true module SignInUser def self.call(username, submitted_password) user = User.find_by(username:) return unless user user_password = BCrypt::Password.new(user.password_digest) user if user_password == submitted_password end end
ruby
MIT
9b7a95c9c5b8aaec6ab87359583e3ee49279422c
2026-01-04T15:47:22.789280Z
false
stringer-rss/stringer
https://github.com/stringer-rss/stringer/blob/9b7a95c9c5b8aaec6ab87359583e3ee49279422c/app/commands/fever_api/authentication.rb
app/commands/fever_api/authentication.rb
# frozen_string_literal: true module FeverAPI::Authentication def self.call(authorization:, **_params) feeds = authorization.scope(Feed) last_refreshed_on_time = (feeds.maximum(:last_fetched) || 0).to_i { auth: 1, last_refreshed_on_time: } end end
ruby
MIT
9b7a95c9c5b8aaec6ab87359583e3ee49279422c
2026-01-04T15:47:22.789280Z
false
stringer-rss/stringer
https://github.com/stringer-rss/stringer/blob/9b7a95c9c5b8aaec6ab87359583e3ee49279422c/app/commands/fever_api/read_links.rb
app/commands/fever_api/read_links.rb
# frozen_string_literal: true module FeverAPI::ReadLinks def self.call(params) if params.key?(:links) { links: [] } else {} end end end
ruby
MIT
9b7a95c9c5b8aaec6ab87359583e3ee49279422c
2026-01-04T15:47:22.789280Z
false