source
stringclasses
1 value
repo
stringlengths
5
63
repo_url
stringlengths
24
82
path
stringlengths
5
167
language
stringclasses
1 value
license
stringclasses
5 values
stars
int64
10
51.4k
ref
stringclasses
23 values
size_bytes
int64
200
258k
text
stringlengths
137
258k
github
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant
lib/active_merchant/billing/gateways/ipp.rb
Ruby
mit
4,597
master
5,140
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...
github
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant
lib/active_merchant/billing/gateways/card_stream.rb
Ruby
mit
4,597
master
12,776
module ActiveMerchant # :nodoc: module Billing # :nodoc: class CardStreamGateway < Gateway THREEDSECURE_REQUIRED_DEPRECATION_MESSAGE = 'Specifying the :threeDSRequired initialization option is deprecated. Please use the `:threeds_required => true` *transaction* option instead.' self.test_url = self.l...
github
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant
lib/active_merchant/billing/gateways/paypal_ca.rb
Ruby
mit
4,597
master
513
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_...
github
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant
lib/active_merchant/billing/gateways/vanco.rb
Ruby
mit
4,597
master
8,932
require 'nokogiri' module ActiveMerchant module Billing class VancoGateway < Gateway include Empty self.test_url = 'https://uat.vancopayments.com/cgi-bin/ws2.vps' self.live_url = 'https://myvanco.vancopayments.com/cgi-bin/ws2.vps' self.supported_countries = ['US'] self.default_cur...
github
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant
lib/active_merchant/billing/gateways/payflow_express_uk.rb
Ruby
mit
4,597
master
471
require 'active_merchant/billing/gateways/payflow_express' module ActiveMerchant # :nodoc: module Billing # :nodoc: class PayflowExpressUkGateway < PayflowExpressGateway self.default_currency = 'GBP' self.partner = 'PayPalUk' self.supported_countries = ['GB'] self.homepage_url = 'https:/...
github
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant
lib/active_merchant/billing/gateways/visanet_peru.rb
Ruby
mit
4,597
master
8,757
module ActiveMerchant # :nodoc: module Billing # :nodoc: class VisanetPeruGateway < Gateway include Empty self.display_name = 'VisaNet Peru Gateway' self.homepage_url = 'http://www.visanet.com.pe' self.test_url = 'https://devapi.vnforapps.com/api.tokenization/api/v2/merchant' self.l...
github
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant
lib/active_merchant/billing/gateways/paypal_digital_goods.rb
Ruby
mit
4,597
master
1,871
require 'active_merchant/billing/gateways/paypal/paypal_common_api' require 'active_merchant/billing/gateways/paypal/paypal_express_response' require 'active_merchant/billing/gateways/paypal_express_common' module ActiveMerchant # :nodoc: module Billing # :nodoc: class PaypalDigitalGoodsGateway < PaypalExpressGa...
github
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant
lib/active_merchant/billing/gateways/braintree_blue.rb
Ruby
mit
4,597
master
46,148
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 ...
github
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant
lib/active_merchant/billing/gateways/ipg.rb
Ruby
mit
4,597
master
17,463
module ActiveMerchant # :nodoc: module Billing # :nodoc: class IpgGateway < Gateway self.test_url = 'https://test.ipg-online.com/ipgapi/services' self.live_url = 'https://www5.ipg-online.com/ipgapi/services' self.supported_countries = %w(AR) self.default_currency = 'ARS' self.suppor...
github
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant
lib/active_merchant/billing/gateways/card_connect.rb
Ruby
mit
4,597
master
12,052
module ActiveMerchant # :nodoc: module Billing # :nodoc: class CardConnectGateway < Gateway self.test_url = 'https://fts-uat.cardconnect.com/cardconnect/rest/' self.live_url = 'https://fts.cardconnect.com/cardconnect/rest/' self.supported_countries = ['US'] self.default_currency = 'USD' ...
github
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant
lib/active_merchant/billing/gateways/iats_payments.rb
Ruby
mit
4,597
master
10,052
module ActiveMerchant # :nodoc: module Billing # :nodoc: class IatsPaymentsGateway < Gateway class_attribute :live_na_url, :live_uk_url self.live_na_url = 'https://www.iatspayments.com/NetGate' self.live_uk_url = 'https://www.uk.iatspayments.com/NetGate' self.supported_countries = %w(AU ...
github
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant
lib/active_merchant/billing/gateways/creditcall.rb
Ruby
mit
4,597
master
8,302
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....
github
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant
lib/active_merchant/billing/gateways/balanced.rb
Ruby
mit
4,597
master
8,231
require 'json' module ActiveMerchant # :nodoc: module Billing # :nodoc: # For more information on Balanced visit https://www.balancedpayments.com # or visit #balanced on irc.freenode.net # # Instantiate a instance of BalancedGateway by passing through your # Balanced API key secret. # # =...
github
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant
lib/active_merchant/billing/gateways/fat_zebra.rb
Ruby
mit
4,597
master
7,939
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 =...
github
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant
lib/active_merchant/billing/gateways/reach.rb
Ruby
mit
4,597
master
10,196
module ActiveMerchant # :nodoc: module Billing # :nodoc: class ReachGateway < Gateway self.test_url = 'https://checkout.rch.how/' self.live_url = 'https://checkout.rch.io/' self.supported_countries = %w(AE AG AL AM AT AU AW AZ BA BB BD BE BF BG BH BJ BM BN BO BR BS BW BZ CA CD CF ...
github
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant
lib/active_merchant/billing/gateways/webpay.rb
Ruby
mit
4,597
master
3,322
require 'json' module ActiveMerchant # :nodoc: module Billing # :nodoc: class WebpayGateway < StripeGateway self.live_url = 'https://api.webpay.jp/v1/' self.supported_countries = ['JP'] self.default_currency = 'JPY' self.money_format = :cents self.supported_cardtypes = %i[visa mast...
github
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant
lib/active_merchant/billing/gateways/data_cash.rb
Ruby
mit
4,597
master
11,054
require 'active_support/core_ext/string/access' module ActiveMerchant module Billing class DataCashGateway < Gateway self.default_currency = 'GBP' self.supported_countries = ['GB'] self.supported_cardtypes = %i[visa master american_express discover diners_club jcb maestro] self.homepage...
github
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant
lib/active_merchant/billing/gateways/transnational.rb
Ruby
mit
4,597
master
266
module ActiveMerchant # :nodoc: module Billing # :nodoc: class TransnationalGateway < NetworkMerchantsGateway self.homepage_url = 'http://www.tnbci.com/' self.display_name = 'Transnational' self.supported_countries = ['US'] end end end
github
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant
lib/active_merchant/billing/gateways/paypal_express_common.rb
Ruby
mit
4,597
master
923
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 ...
github
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant
lib/active_merchant/billing/gateways/bank_frick.rb
Ruby
mit
4,597
master
7,533
require 'nokogiri' module ActiveMerchant # :nodoc: module Billing # :nodoc: # For more information visit {Bank Frick Acquiring Services}[http://www.bankfrickacquiring.com/merchantsolutions_en.html] # # Written by Piers Chambers (Varyonic.com) class BankFrickGateway < Gateway self.test_url = 'ht...
github
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant
lib/active_merchant/billing/gateways/telr.rb
Ruby
mit
4,597
master
7,692
require 'nokogiri' module ActiveMerchant # :nodoc: module Billing # :nodoc: class TelrGateway < Gateway self.display_name = 'Telr' self.homepage_url = 'http://www.telr.com/' self.live_url = 'https://secure.telr.com/gateway/remote.xml' self.supported_countries = %w[AE IN SA] self.d...
github
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant
lib/active_merchant/billing/gateways/cc5.rb
Ruby
mit
4,597
master
5,946
module ActiveMerchant # :nodoc: module Billing # :nodoc: # CC5 API is used by many banks in Turkey. Extend this base class to provide # concrete implementations. class CC5Gateway < Gateway self.default_currency = 'TRY' CURRENCY_CODES = { 'TRY' => 949, 'YTL' => 949, 'TR...
github
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant
lib/active_merchant/billing/gateways/money_movers.rb
Ruby
mit
4,597
master
4,751
module ActiveMerchant # :nodoc: module Billing # :nodoc: class MoneyMoversGateway < Gateway self.live_url = self.test_url = 'https://secure.mmoagateway.com/api/transact.php' APPROVED, DECLINED, ERROR = 1, 2, 3 self.homepage_url = 'http://mmoa.us/' self.display_name = 'MoneyMovers' ...
github
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant
lib/active_merchant/billing/gateways/exact.rb
Ruby
mit
4,597
master
7,285
module ActiveMerchant # :nodoc: module Billing # :nodoc: class ExactGateway < Gateway self.live_url = self.test_url = 'https://secure2.e-xact.com/vplug-in/transaction/rpc-enc/service.asmx' API_VERSION = '8.5' TEST_LOGINS = [{ login: 'A00049-01', password: 'test1' }, { logi...
github
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant
lib/active_merchant/billing/gateways/banwire.rb
Ruby
mit
4,597
master
3,447
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...
github
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant
lib/active_merchant/billing/gateways/ogone.rb
Ruby
mit
4,597
master
21,565
# 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...
github
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant
lib/active_merchant/billing/gateways/xpay.rb
Ruby
mit
4,597
master
8,374
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...
github
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant
lib/active_merchant/billing/gateways/commerce_hub.rb
Ruby
mit
4,597
master
18,007
module ActiveMerchant # :nodoc: module Billing # :nodoc: class CommerceHubGateway < Gateway version 'v1' self.test_url = 'https://connect-cert.fiservapps.com/ch' self.live_url = 'https://connect.fiservapis.com/ch' self.supported_countries = ['US'] self.default_currency = 'USD' ...
github
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant
lib/active_merchant/billing/gateways/eway.rb
Ruby
mit
4,597
master
7,580
require 'rexml/document' module ActiveMerchant # :nodoc: module Billing # :nodoc: # Public: For more information on the Eway Gateway please visit their # {Developers Area}[http://www.eway.com.au/developers/api/direct-payments] class EwayGateway < Gateway self.live_url = 'https://www.eway.com.au' ...
github
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant
lib/active_merchant/billing/gateways/payflow_uk.rb
Ruby
mit
4,597
master
630
require 'active_merchant/billing/gateways/payflow' require 'active_merchant/billing/gateways/payflow_express_uk' module ActiveMerchant # :nodoc: module Billing # :nodoc: class PayflowUkGateway < PayflowGateway self.default_currency = 'GBP' self.partner = 'PayPalUk' def express @express...
github
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant
lib/active_merchant/billing/gateways/finansbank.rb
Ruby
mit
4,597
master
717
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...
github
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant
lib/active_merchant/billing/gateways/credorax.rb
Ruby
mit
4,597
master
25,195
module ActiveMerchant # :nodoc: module Billing # :nodoc: class CredoraxGateway < Gateway class_attribute :test_url, :live_na_url, :live_eu_url self.display_name = 'Credorax Gateway' self.homepage_url = 'https://www.finaro.com/' # NOTE: the IP address you run the remote tests from will ne...
github
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant
lib/active_merchant/billing/gateways/instapay.rb
Ruby
mit
4,597
master
5,245
module ActiveMerchant # :nodoc: module Billing # :nodoc: class InstapayGateway < Gateway self.live_url = 'https://trans.instapaygateway.com/cgi-bin/process.cgi' # The countries the gateway supports merchants from as 2 digit ISO country codes self.supported_countries = ['US'] self.money_fo...
github
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant
lib/active_merchant/billing/gateways/axcessms.rb
Ruby
mit
4,597
master
6,216
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 ...
github
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant
lib/active_merchant/billing/gateways/loan_payment_pro_ach.rb
Ruby
mit
4,597
master
2,500
module ActiveMerchant # :nodoc: module Billing # :nodoc: class LoanPaymentProAchGateway < LoanPaymentProGateway self.live_url = 'https://www.checkcommerce.com/EpnPublic/ACH.aspx' self.test_url = 'https://sandbox.checkcommerce.com/EpnPublic/ACH.aspx' API_VERSION = '1.4.2.36'.freeze def in...
github
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant
lib/active_merchant/billing/gateways/flo2cash_simple.rb
Ruby
mit
4,597
master
553
module ActiveMerchant # :nodoc: module Billing # :nodoc: class Flo2cashSimpleGateway < Flo2cashGateway self.display_name = 'Flo2Cash Simple' def purchase(amount, payment_method, options = {}) post = {} add_invoice(post, amount, options) add_payment_method(post, payment_method)...
github
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant
lib/active_merchant/billing/gateways/element.rb
Ruby
mit
4,597
master
16,653
require 'nokogiri' require 'securerandom' module ActiveMerchant # :nodoc: module Billing # :nodoc: class ElementGateway < Gateway self.test_url = 'https://certtransaction.elementexpress.com/express.asmx' self.live_url = 'https://transaction.elementexpress.com/express.asmx' self.supported_count...
github
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant
lib/active_merchant/billing/gateways/ct_payment.rb
Ruby
mit
4,597
master
9,177
module ActiveMerchant # :nodoc: module Billing # :nodoc: class CtPaymentGateway < Gateway self.test_url = 'https://test.ctpaiement.ca/v1/' self.live_url = 'https://www.ctpaiement.com/v1/' self.supported_countries = %w[US CA] self.default_currency = 'CAD' self.supported_cardtypes = %...
github
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant
lib/active_merchant/billing/gateways/paysafe.rb
Ruby
mit
4,597
master
17,094
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...
github
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant
lib/active_merchant/billing/gateways/pay_gate_xml.rb
Ruby
mit
4,597
master
10,050
require 'digest/md5' module ActiveMerchant # :nodoc: module Billing # :nodoc: # This gateway accepts the following arguments: # :login => your PayJunction username # :password => your PayJunction pass # Example use: # # gateway = ActiveMerchant::Billing::Base.gateway(:pay_gate_xml).n...
github
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant
lib/active_merchant/billing/gateways/netaxept.rb
Ruby
mit
4,597
master
5,409
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...
github
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant
lib/active_merchant/billing/gateways/merchant_warrior.rb
Ruby
mit
4,597
master
8,476
require 'digest/md5' require 'rexml/document' module ActiveMerchant # :nodoc: module Billing # :nodoc: class MerchantWarriorGateway < Gateway TOKEN_TEST_URL = 'https://base.merchantwarrior.com/token/' TOKEN_LIVE_URL = 'https://api.merchantwarrior.com/token/' POST_TEST_URL = 'https://base.merch...
github
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant
lib/active_merchant/billing/gateways/safe_charge.rb
Ruby
mit
4,597
master
11,654
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 ...
github
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant
lib/active_merchant/billing/gateways/jetpay_v2.rb
Ruby
mit
4,597
master
16,286
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 ...
github
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant
lib/active_merchant/billing/gateways/rapyd.rb
Ruby
mit
4,597
master
17,698
module ActiveMerchant # :nodoc: module Billing # :nodoc: class RapydGateway < Gateway class_attribute :payment_redirect_test, :payment_redirect_live version 'v1' self.test_url = "https://sandboxapi.rapyd.net/#{fetch_version}/" self.live_url = "https://api.rapyd.net/#{fetch_version}/" ...
github
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant
lib/active_merchant/billing/gateways/hi_pay.rb
Ruby
mit
4,597
master
10,343
module ActiveMerchant # :nodoc: module Billing # :nodoc: class HiPayGateway < Gateway # to add more check => payment_product_list: https://developer.hipay.com/api-explorer/api-online-payments#/payments/generateHostedPaymentPage PAYMENT_PRODUCT = { 'visa' => 'visa', 'master' => 'masterc...
github
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant
lib/active_merchant/billing/gateways/paypal_express.rb
Ruby
mit
4,597
master
11,500
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 ...
github
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant
lib/active_merchant/billing/gateways/openpay.rb
Ruby
mit
4,597
master
8,412
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....
github
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant
lib/active_merchant/billing/gateways/payflow.rb
Ruby
mit
4,597
master
21,254
require 'nokogiri' require 'active_merchant/billing/gateways/payflow/payflow_common_api' require 'active_merchant/billing/gateways/payflow/payflow_response' require 'active_merchant/billing/gateways/payflow_express' module ActiveMerchant # :nodoc: module Billing # :nodoc: class PayflowGateway < Gateway inc...
github
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant
lib/active_merchant/billing/gateways/be2bill.rb
Ruby
mit
4,597
master
4,122
require 'digest/sha2' module ActiveMerchant # :nodoc: module Billing # :nodoc: class Be2billGateway < Gateway self.test_url = 'https://secure-test.be2bill.com/front/service/rest/process.php' self.live_url = 'https://secure-magenta1.be2bill.com/front/service/rest/process.php' self.display_name ...
github
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant
lib/active_merchant/billing/gateways/blue_snap.rb
Ruby
mit
4,597
master
23,232
require 'nokogiri' module ActiveMerchant module Billing class BlueSnapGateway < Gateway self.test_url = 'https://sandbox.bluesnap.com/services/2' self.live_url = 'https://ws.bluesnap.com/services/2' self.supported_countries = %w(US CA GB AT BE BG HR CY CZ DK EE FI FR DE GR HU IE IT LV LT LU MT ...
github
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant
lib/active_merchant/billing/gateways/shift4.rb
Ruby
mit
4,597
master
13,546
module ActiveMerchant # :nodoc: module Billing # :nodoc: class Shift4Gateway < Gateway version 'v1' self.test_url = "https://utgapi.shift4test.com/api/rest/#{fetch_version}/" self.live_url = "https://utg.shift4api.net/api/rest/#{fetch_version}/" self.supported_countries = %w(US CA CU HT ...
github
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant
lib/active_merchant/billing/gateways/netbanx.rb
Ruby
mit
4,597
master
17,407
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...
github
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant
lib/active_merchant/billing/gateways/merchant_one.rb
Ruby
mit
4,597
master
3,430
require 'cgi' module ActiveMerchant # :nodoc: module Billing # :nodoc: class MerchantOneGateway < Gateway class MerchantOneSslConnection < ActiveMerchant::Connection def configure_ssl(http) super(http) http.use_ssl = true end end BASE_URL = 'https://secure.m...
github
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant
lib/active_merchant/billing/gateways/wirecard.rb
Ruby
mit
4,597
master
16,584
require 'base64' module ActiveMerchant # :nodoc: module Billing # :nodoc: class WirecardGateway < Gateway self.test_url = 'https://c3-test.wirecard.com/secure/ssl-gateway' self.live_url = 'https://c3.wirecard.com/secure/ssl-gateway' # The Namespaces are not really needed, because it just tells...
github
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant
lib/active_merchant/billing/gateways/cams.rb
Ruby
mit
4,597
master
7,806
module ActiveMerchant # :nodoc: module Billing # :nodoc: class CamsGateway < Gateway self.live_url = 'https://secure.centralams.com/gw/api/transact.php' self.supported_countries = ['US'] self.default_currency = 'USD' self.supported_cardtypes = %i[visa master american_express discover] ...
github
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant
lib/active_merchant/billing/gateways/cardprocess.rb
Ruby
mit
4,597
master
8,287
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 ...
github
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant
lib/active_merchant/billing/gateways/bambora_apac.rb
Ruby
mit
4,597
master
6,768
require 'nokogiri' module ActiveMerchant # :nodoc: module Billing # :nodoc: class BamboraApacGateway < Gateway self.live_url = 'https://www.bambora.co.nz/interface/api' self.test_url = 'https://demo.bambora.co.nz/interface/api' self.supported_countries = %w[AU NZ] self.supported_cardtype...
github
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant
lib/active_merchant/billing/gateways/nmi.rb
Ruby
mit
4,597
master
14,313
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....
github
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant
lib/active_merchant/billing/gateways/net_registry.rb
Ruby
mit
4,597
master
6,544
module ActiveMerchant module Billing # Gateway for netregistry.com.au. # # Note that NetRegistry itself uses gateway service providers. At the # time of this writing, there are at least two (Quest and Ingenico). # This module has only been tested with Quest. # # Also note that NetRegistry...
github
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant
lib/active_merchant/billing/gateways/pro_pay.rb
Ruby
mit
4,597
master
11,467
require 'nokogiri' module ActiveMerchant # :nodoc: module Billing # :nodoc: class ProPayGateway < Gateway self.test_url = 'https://xmltest.propay.com/API/PropayAPI.aspx' self.live_url = 'https://epay.propay.com/api/propayapi.aspx' self.supported_countries = %w[US CA] self.default_currenc...
github
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant
lib/active_merchant/billing/gateways/cyber_source.rb
Ruby
mit
4,597
master
65,673
require 'nokogiri' module ActiveMerchant # :nodoc: module Billing # :nodoc: # Initial setup instructions can be found in # http://apps.cybersource.com/library/documentation/dev_guides/SOAP_Toolkits/SOAP_toolkits.pdf # # Important Notes # * For checks you can purchase and store. # * AVS and CV...
github
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant
lib/active_merchant/billing/gateways/mundipagg.rb
Ruby
mit
4,597
master
14,584
module ActiveMerchant # :nodoc: module Billing # :nodoc: class MundipaggGateway < Gateway version 'v1' self.live_url = "https://api.mundipagg.com/core/#{fetch_version}" self.supported_countries = ['US'] self.default_currency = 'USD' self.supported_cardtypes = %i[visa master america...
github
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant
lib/active_merchant/billing/gateways/checkout_v2.rb
Ruby
mit
4,597
master
36,935
module ActiveMerchant # :nodoc: module Billing # :nodoc: class CheckoutV2Gateway < Gateway self.display_name = 'Checkout.com Unified Payments' self.homepage_url = 'https://www.checkout.com/' self.live_url = 'https://api.checkout.com' self.test_url = 'https://api.sandbox.checkout.com' ...
github
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant
lib/active_merchant/billing/gateways/payflow_express.rb
Ruby
mit
4,597
master
12,328
require 'active_merchant/billing/gateways/payflow/payflow_common_api' require 'active_merchant/billing/gateways/payflow/payflow_express_response' require 'active_merchant/billing/gateways/paypal_express_common' module ActiveMerchant # :nodoc: module Billing # :nodoc: # ==General Parameters # The following pa...
github
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant
lib/active_merchant/billing/gateways/itransact.rb
Ruby
mit
4,597
master
20,791
require 'nokogiri' module ActiveMerchant # :nodoc: module Billing # :nodoc: # iTransact, Inc. is an authorized reseller of the PaymentClearing gateway. If your merchant service provider uses PaymentClearing.com to process payments, you can use this module. # # # Please note, the username and API Acce...
github
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant
lib/active_merchant/billing/gateways/first_pay.rb
Ruby
mit
4,597
master
441
require 'active_merchant/billing/gateways/first_pay/first_pay_xml' require 'active_merchant/billing/gateways/first_pay/first_pay_json' module ActiveMerchant # :nodoc: module Billing # :nodoc: class FirstPayGateway < Gateway self.abstract_class = true def self.new(options = {}) return FirstPa...
github
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant
lib/active_merchant/billing/gateways/qvalent.rb
Ruby
mit
4,597
master
10,888
module ActiveMerchant # :nodoc: module Billing # :nodoc: class QvalentGateway < Gateway self.display_name = 'Qvalent' self.homepage_url = 'https://www.qvalent.com/' self.test_url = 'https://ccapi.client.support.qvalent.com/post/CreditCardAPIReceiver' self.live_url = 'https://ccapi.client....
github
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant
lib/active_merchant/billing/gateways/micropayment.rb
Ruby
mit
4,597
master
5,852
module ActiveMerchant # :nodoc: module Billing # :nodoc: class MicropaymentGateway < Gateway self.display_name = 'micropayment' self.homepage_url = 'https://www.micropayment.de/' self.test_url = self.live_url = 'https://sipg.micropayment.de/public/creditcardpsp/v1/nvp/' self.supported_co...
github
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant
lib/active_merchant/billing/gateways/hps.rb
Ruby
mit
4,597
master
16,573
require 'nokogiri' module ActiveMerchant # :nodoc: module Billing # :nodoc: class HpsGateway < Gateway version '1.0' self.live_url = 'https://api2.heartlandportico.com/hps.exchange.posgateway/posgatewayservice.asmx' self.test_url = 'https://cert.api2.heartlandportico.com/Hps.Exchange.PosGatewa...
github
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant
lib/active_merchant/billing/gateways/ebanx.rb
Ruby
mit
4,597
master
12,997
require 'uri' module ActiveMerchant # :nodoc: module Billing # :nodoc: class EbanxGateway < Gateway self.test_url = 'https://sandbox.ebanxpay.com/ws/' self.live_url = 'https://api.ebanxpay.com/ws/' self.supported_countries = %w(BR MX CO CL AR PE BO EC CR DO GT PA PY UY) self.default_curre...
github
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant
lib/active_merchant/billing/gateways/blue_pay.rb
Ruby
mit
4,597
master
21,587
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...
github
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant
lib/active_merchant/billing/gateways/efsnet.rb
Ruby
mit
4,597
master
8,209
require 'rexml/document' module ActiveMerchant # :nodoc: module Billing # :nodoc: class EfsnetGateway < Gateway self.supported_countries = ['US'] self.supported_cardtypes = %i[visa master american_express discover] self.homepage_url = 'http://www.concordefsnet.com/' self.display_name = 'E...
github
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant
lib/active_merchant/billing/gateways/mastercard.rb
Ruby
mit
4,597
master
9,105
module ActiveMerchant module Billing module MastercardGateway def initialize(options = {}) requires!(options, :userid, :password) super end def purchase(amount, payment_method, options = {}) if options[:pay_mode] post = new_post add_invoice(post, amou...
github
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant
lib/active_merchant/billing/gateways/pay_junction_v2.rb
Ruby
mit
4,597
master
6,480
module ActiveMerchant # :nodoc: module Billing # :nodoc: class PayJunctionV2Gateway < Gateway self.display_name = 'PayJunction' self.homepage_url = 'https://www.payjunction.com/' self.test_url = 'https://api.payjunctionlabs.com/transactions' self.live_url = 'https://api.payjunction.com/tr...
github
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant
lib/active_merchant/billing/gateways/ixopay.rb
Ruby
mit
4,597
master
11,470
require 'nokogiri' module ActiveMerchant # :nodoc: module Billing # :nodoc: class IxopayGateway < Gateway self.test_url = 'https://secure.ixopay.com/transaction' self.live_url = 'https://secure.ixopay.com/transaction' self.supported_countries = %w(AO AQ AR AS AT AU AW AX AZ BA BB BD BE BF BG B...
github
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant
lib/active_merchant/billing/gateways/trexle.rb
Ruby
mit
4,597
master
7,155
module ActiveMerchant # :nodoc: module Billing # :nodoc: class TrexleGateway < Gateway self.test_url = 'https://core.trexle.com/api/v1' self.live_url = 'https://core.trexle.com/api/v1' self.default_currency = 'USD' self.money_format = :cents self.supported_countries = %w(AD AE AT AU...
github
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant
lib/active_merchant/billing/gateways/wepay.rb
Ruby
mit
4,597
master
9,316
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 = %...
github
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant
lib/active_merchant/billing/gateways/checkout.rb
Ruby
mit
4,597
master
7,247
require 'rubygems' require 'nokogiri' module ActiveMerchant # :nodoc: module Billing # :nodoc: class CheckoutGateway < Gateway self.default_currency = 'USD' self.money_format = :cents self.supported_countries = %w[AD AT BE BG CH CY CZ DE DK EE ES FO FI FR GB GI GL GR HR HU IE IS IL IT LI LT LU...
github
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant
lib/active_merchant/billing/gateways/shift4_v2.rb
Ruby
mit
4,597
master
3,940
module ActiveMerchant # :nodoc: module Billing # :nodoc: class Shift4V2Gateway < SecurionPayGateway # same endpont for testing self.live_url = 'https://api.shift4.com/' self.display_name = 'Shift4' self.homepage_url = 'https://dev.shift4.com/us/' def credit(money, payment, options =...
github
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant
lib/active_merchant/billing/gateways/inspire.rb
Ruby
mit
4,597
master
7,428
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 = %...
github
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant
lib/active_merchant/billing/gateways/eway_rapid.rb
Ruby
mit
4,597
master
26,761
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] ...
github
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant
lib/active_merchant/billing/gateways/eway_managed.rb
Ruby
mit
4,597
master
11,033
module ActiveMerchant # :nodoc: module Billing # :nodoc: class EwayManagedGateway < Gateway self.test_url = 'https://www.eway.com.au/gateway/ManagedPaymentService/test/managedCreditCardPayment.asmx' self.live_url = 'https://www.eway.com.au/gateway/ManagedPaymentService/managedCreditCardPayment.asmx' ...
github
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant
lib/active_merchant/billing/gateways/pin.rb
Ruby
mit
4,597
master
12,565
module ActiveMerchant # :nodoc: module Billing # :nodoc: class PinGateway < Gateway version '1' self.test_url = "https://test-api.pinpayments.com/#{fetch_version}" self.live_url = "https://api.pinpayments.com/#{fetch_version}" self.default_currency = 'AUD' self.money_format = :cent...
github
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant
lib/active_merchant/billing/gateways/sum_up.rb
Ruby
mit
4,597
master
7,187
module ActiveMerchant # :nodoc: module Billing # :nodoc: class SumUpGateway < Gateway version 'v0.1' self.live_url = "https://api.sumup.com/#{fetch_version}/" self.supported_countries = %w(AT BE BG BR CH CL CO CY CZ DE DK EE ES FI FR GB GR HR HU IE IT LT LU L...
github
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant
lib/active_merchant/billing/gateways/first_giving.rb
Ruby
mit
4,597
master
4,582
require 'nokogiri' module ActiveMerchant # :nodoc: module Billing # :nodoc: class FirstGivingGateway < Gateway self.test_url = 'http://usapisandbox.fgdev.net' self.live_url = 'https://api.firstgiving.com' self.supported_countries = ['US'] self.supported_cardtypes = %i[visa master america...
github
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant
lib/active_merchant/billing/gateways/authorize_net_arb.rb
Ruby
mit
4,597
master
17,952
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....
github
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant
lib/active_merchant/billing/gateways/nuvei.rb
Ruby
mit
4,597
master
21,786
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...
github
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant
lib/active_merchant/billing/gateways/paypal/paypal_common_api.rb
Ruby
mit
4,597
master
31,822
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...
github
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant
lib/active_merchant/billing/gateways/paypal/paypal_express_response.rb
Ruby
mit
4,597
master
1,709
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...
github
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant
lib/active_merchant/billing/gateways/paypal/paypal_recurring_api.rb
Ruby
mit
4,597
master
13,395
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 ...
github
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant
lib/active_merchant/billing/gateways/payflow/payflow_express_response.rb
Ruby
mit
4,597
master
1,015
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...
github
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant
lib/active_merchant/billing/gateways/payflow/payflow_response.rb
Ruby
mit
4,597
master
306
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
github
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant
lib/active_merchant/billing/gateways/payflow/payflow_common_api.rb
Ruby
mit
4,597
master
8,433
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...
github
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant
lib/active_merchant/billing/gateways/beanstream/beanstream_core.rb
Ruby
mit
4,597
master
15,866
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...
github
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant
lib/active_merchant/billing/gateways/cecabank/cecabank_json.rb
Ruby
mit
4,597
master
11,817
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...
github
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant
lib/active_merchant/billing/gateways/cecabank/cecabank_xml.rb
Ruby
mit
4,597
master
8,091
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...
github
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant
lib/active_merchant/billing/gateways/cecabank/cecabank_common.rb
Ruby
mit
4,597
master
1,204
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...
github
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant
lib/active_merchant/billing/gateways/braintree/token_nonce.rb
Ruby
mit
4,597
master
5,098
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-...
github
activemerchant/active_merchant
https://github.com/activemerchant/active_merchant
lib/active_merchant/billing/gateways/braintree/braintree_common.rb
Ruby
mit
4,597
master
1,380
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...