activemerchant 1.38.0 → 1.78.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/CHANGELOG +1344 -3
- data/CONTRIBUTORS +154 -0
- data/README.md +157 -144
- data/lib/active_merchant/billing/apple_pay_payment_token.rb +22 -0
- data/lib/active_merchant/billing/base.rb +21 -17
- data/lib/active_merchant/billing/check.rb +32 -22
- data/lib/active_merchant/billing/compatibility.rb +120 -0
- data/lib/active_merchant/billing/credit_card.rb +215 -67
- data/lib/active_merchant/billing/credit_card_formatting.rb +4 -1
- data/lib/active_merchant/billing/credit_card_methods.rb +149 -52
- data/lib/active_merchant/billing/cvv_result.rb +15 -15
- data/lib/active_merchant/billing/gateway.rb +170 -24
- data/lib/active_merchant/billing/gateways/adyen.rb +284 -0
- data/lib/active_merchant/billing/gateways/allied_wallet.rb +206 -0
- data/lib/active_merchant/billing/gateways/authorize_net.rb +899 -606
- data/lib/active_merchant/billing/gateways/authorize_net_arb.rb +417 -0
- data/lib/active_merchant/billing/gateways/authorize_net_cim.rb +43 -18
- data/lib/active_merchant/billing/gateways/axcessms.rb +181 -0
- data/lib/active_merchant/billing/gateways/balanced.rb +134 -346
- data/lib/active_merchant/billing/gateways/bank_frick.rb +225 -0
- data/lib/active_merchant/billing/gateways/banwire.rb +13 -2
- data/lib/active_merchant/billing/gateways/barclaycard_smartpay.rb +325 -0
- data/lib/active_merchant/billing/gateways/be2bill.rb +131 -0
- data/lib/active_merchant/billing/gateways/beanstream/beanstream_core.rb +96 -15
- data/lib/active_merchant/billing/gateways/beanstream.rb +52 -9
- data/lib/active_merchant/billing/gateways/beanstream_interac.rb +12 -8
- data/lib/active_merchant/billing/gateways/blue_pay.rb +520 -501
- data/lib/active_merchant/billing/gateways/blue_snap.rb +343 -0
- data/lib/active_merchant/billing/gateways/bogus.rb +94 -50
- data/lib/active_merchant/billing/gateways/borgun.rb +222 -0
- data/lib/active_merchant/billing/gateways/bpoint.rb +277 -0
- data/lib/active_merchant/billing/gateways/braintree/braintree_common.rb +14 -2
- data/lib/active_merchant/billing/gateways/braintree.rb +2 -2
- data/lib/active_merchant/billing/gateways/braintree_blue.rb +372 -137
- data/lib/active_merchant/billing/gateways/braintree_orange.rb +4 -4
- data/lib/active_merchant/billing/gateways/bridge_pay.rb +245 -0
- data/lib/active_merchant/billing/gateways/cams.rb +230 -0
- data/lib/active_merchant/billing/gateways/card_connect.rb +286 -0
- data/lib/active_merchant/billing/gateways/card_stream.rb +269 -118
- data/lib/active_merchant/billing/gateways/cardknox.rb +328 -0
- data/lib/active_merchant/billing/gateways/cardprocess.rb +254 -0
- data/lib/active_merchant/billing/gateways/cashnet.rb +219 -0
- data/lib/active_merchant/billing/gateways/cc5.rb +45 -0
- data/lib/active_merchant/billing/gateways/cecabank.rb +239 -0
- data/lib/active_merchant/billing/gateways/cenpos.rb +327 -0
- data/lib/active_merchant/billing/gateways/checkout.rb +214 -0
- data/lib/active_merchant/billing/gateways/checkout_v2.rb +226 -0
- data/lib/active_merchant/billing/gateways/citrus_pay.rb +23 -0
- data/lib/active_merchant/billing/gateways/clearhaus.rb +222 -0
- data/lib/active_merchant/billing/gateways/commercegate.rb +143 -0
- data/lib/active_merchant/billing/gateways/conekta.rb +224 -0
- data/lib/active_merchant/billing/gateways/creditcall.rb +272 -0
- data/lib/active_merchant/billing/gateways/credorax.rb +345 -0
- data/lib/active_merchant/billing/gateways/culqi.rb +279 -0
- data/lib/active_merchant/billing/gateways/cyber_source.rb +228 -98
- data/lib/active_merchant/billing/gateways/data_cash.rb +41 -314
- data/lib/active_merchant/billing/gateways/dibs.rb +205 -0
- data/lib/active_merchant/billing/gateways/digitzs.rb +292 -0
- data/lib/active_merchant/billing/gateways/ebanx.rb +296 -0
- data/lib/active_merchant/billing/gateways/efsnet.rb +3 -14
- data/lib/active_merchant/billing/gateways/elavon.rb +143 -142
- data/lib/active_merchant/billing/gateways/element.rb +356 -0
- data/lib/active_merchant/billing/gateways/epay.rb +23 -12
- data/lib/active_merchant/billing/gateways/eway.rb +12 -12
- data/lib/active_merchant/billing/gateways/eway_managed.rb +1 -1
- data/lib/active_merchant/billing/gateways/eway_rapid.rb +417 -204
- data/lib/active_merchant/billing/gateways/exact.rb +10 -1
- data/lib/active_merchant/billing/gateways/ezic.rb +196 -0
- data/lib/active_merchant/billing/gateways/fat_zebra.rb +65 -37
- data/lib/active_merchant/billing/gateways/federated_canada.rb +1 -8
- data/lib/active_merchant/billing/gateways/finansbank.rb +3 -2
- data/lib/active_merchant/billing/gateways/first_giving.rb +143 -0
- data/lib/active_merchant/billing/gateways/first_pay.rb +109 -124
- data/lib/active_merchant/billing/gateways/firstdata_e4.rb +155 -29
- data/lib/active_merchant/billing/gateways/flo2cash.rb +215 -0
- data/lib/active_merchant/billing/gateways/flo2cash_simple.rb +20 -0
- data/lib/active_merchant/billing/gateways/forte.rb +256 -0
- data/lib/active_merchant/billing/gateways/garanti.rb +11 -5
- data/lib/active_merchant/billing/gateways/global_collect.rb +334 -0
- data/lib/active_merchant/billing/gateways/global_transport.rb +194 -0
- data/lib/active_merchant/billing/gateways/hps.rb +305 -0
- data/lib/active_merchant/billing/gateways/iats_payments.rb +271 -16
- data/lib/active_merchant/billing/gateways/ideal/ideal_base.rb +2 -5
- data/lib/active_merchant/billing/gateways/ideal/ideal_rabobank.pem +0 -0
- data/lib/active_merchant/billing/gateways/ideal_rabobank.rb +1 -1
- data/lib/active_merchant/billing/gateways/in_context_paypal_express.rb +15 -0
- data/lib/active_merchant/billing/gateways/inspire.rb +8 -10
- data/lib/active_merchant/billing/gateways/instapay.rb +0 -0
- data/lib/active_merchant/billing/gateways/ipp.rb +175 -0
- data/lib/active_merchant/billing/gateways/iridium.rb +210 -4
- data/lib/active_merchant/billing/gateways/iveri.rb +251 -0
- data/lib/active_merchant/billing/gateways/jetpay.rb +176 -49
- data/lib/active_merchant/billing/gateways/jetpay_v2.rb +437 -0
- data/lib/active_merchant/billing/gateways/komoju.rb +115 -0
- data/lib/active_merchant/billing/gateways/kushki.rb +227 -0
- data/lib/active_merchant/billing/gateways/latitude19.rb +416 -0
- data/lib/active_merchant/billing/gateways/linkpoint.rb +17 -13
- data/lib/active_merchant/billing/gateways/litle.rb +329 -439
- data/lib/active_merchant/billing/gateways/mastercard.rb +268 -0
- data/lib/active_merchant/billing/gateways/maxipago.rb +220 -0
- data/lib/active_merchant/billing/gateways/mercado_pago.rb +262 -0
- data/lib/active_merchant/billing/gateways/merchant_e_solutions.rb +15 -7
- data/lib/active_merchant/billing/gateways/merchant_one.rb +0 -1
- data/lib/active_merchant/billing/gateways/merchant_partners.rb +245 -0
- data/lib/active_merchant/billing/gateways/merchant_ware.rb +12 -15
- data/lib/active_merchant/billing/gateways/merchant_ware_version_four.rb +24 -13
- data/lib/active_merchant/billing/gateways/merchant_warrior.rb +21 -14
- data/lib/active_merchant/billing/gateways/mercury.rb +74 -29
- data/lib/active_merchant/billing/gateways/metrics_global.rb +2 -21
- data/lib/active_merchant/billing/gateways/micropayment.rb +185 -0
- data/lib/active_merchant/billing/gateways/migs.rb +74 -13
- data/lib/active_merchant/billing/gateways/modern_payments.rb +1 -1
- data/lib/active_merchant/billing/gateways/modern_payments_cim.rb +1 -3
- data/lib/active_merchant/billing/gateways/monei.rb +307 -0
- data/lib/active_merchant/billing/gateways/moneris.rb +119 -36
- data/lib/active_merchant/billing/gateways/moneris_us.rb +146 -45
- data/lib/active_merchant/billing/gateways/money_movers.rb +152 -0
- data/lib/active_merchant/billing/gateways/nab_transact.rb +78 -53
- data/lib/active_merchant/billing/gateways/ncr_secure_pay.rb +165 -0
- data/lib/active_merchant/billing/gateways/net_registry.rb +8 -3
- data/lib/active_merchant/billing/gateways/netbanx.rb +289 -0
- data/lib/active_merchant/billing/gateways/netbilling.rb +61 -26
- data/lib/active_merchant/billing/gateways/netpay.rb +1 -1
- data/lib/active_merchant/billing/gateways/network_merchants.rb +242 -0
- data/lib/active_merchant/billing/gateways/nmi.rb +265 -10
- data/lib/active_merchant/billing/gateways/ogone.rb +85 -27
- data/lib/active_merchant/billing/gateways/omise.rb +324 -0
- data/lib/active_merchant/billing/gateways/openpay.rb +227 -0
- data/lib/active_merchant/billing/gateways/opp.rb +372 -0
- data/lib/active_merchant/billing/gateways/optimal_payment.rb +59 -28
- data/lib/active_merchant/billing/gateways/orbital/orbital_soft_descriptors.rb +22 -21
- data/lib/active_merchant/billing/gateways/orbital.rb +346 -56
- data/lib/active_merchant/billing/gateways/pac_net_raven.rb +207 -0
- data/lib/active_merchant/billing/gateways/pagarme.rb +248 -0
- data/lib/active_merchant/billing/gateways/pago_facil.rb +122 -0
- data/lib/active_merchant/billing/gateways/pay_conex.rb +246 -0
- data/lib/active_merchant/billing/gateways/pay_gate_xml.rb +30 -14
- data/lib/active_merchant/billing/gateways/pay_hub.rb +213 -0
- data/lib/active_merchant/billing/gateways/pay_junction.rb +19 -25
- data/lib/active_merchant/billing/gateways/pay_junction_v2.rb +190 -0
- data/lib/active_merchant/billing/gateways/pay_secure.rb +0 -7
- data/lib/active_merchant/billing/gateways/paybox_direct.rb +16 -12
- data/lib/active_merchant/billing/gateways/payeezy.rb +386 -0
- data/lib/active_merchant/billing/gateways/payex.rb +412 -0
- data/lib/active_merchant/billing/gateways/payflow/payflow_common_api.rb +38 -17
- data/lib/active_merchant/billing/gateways/payflow.rb +100 -19
- data/lib/active_merchant/billing/gateways/payflow_express.rb +22 -22
- data/lib/active_merchant/billing/gateways/payflow_express_uk.rb +2 -2
- data/lib/active_merchant/billing/gateways/payflow_uk.rb +6 -6
- data/lib/active_merchant/billing/gateways/payment_express.rb +15 -3
- data/lib/active_merchant/billing/gateways/paymentez.rb +283 -0
- data/lib/active_merchant/billing/gateways/paymill.rb +237 -48
- data/lib/active_merchant/billing/gateways/paypal/paypal_common_api.rb +41 -8
- data/lib/active_merchant/billing/gateways/paypal/paypal_express_response.rb +4 -0
- data/lib/active_merchant/billing/gateways/paypal/paypal_recurring_api.rb +18 -4
- data/lib/active_merchant/billing/gateways/paypal.rb +49 -20
- data/lib/active_merchant/billing/gateways/paypal_ca.rb +1 -1
- data/lib/active_merchant/billing/gateways/paypal_digital_goods.rb +6 -5
- data/lib/active_merchant/billing/gateways/paypal_express.rb +32 -4
- data/lib/active_merchant/billing/gateways/paypal_express_common.rb +3 -3
- data/lib/active_merchant/billing/gateways/payscout.rb +162 -0
- data/lib/active_merchant/billing/gateways/paystation.rb +22 -24
- data/lib/active_merchant/billing/gateways/payu_in.rb +248 -0
- data/lib/active_merchant/billing/gateways/payu_latam.rb +440 -0
- data/lib/active_merchant/billing/gateways/pin.rb +68 -13
- data/lib/active_merchant/billing/gateways/plugnpay.rb +1 -12
- data/lib/active_merchant/billing/gateways/pro_pay.rb +326 -0
- data/lib/active_merchant/billing/gateways/psigate.rb +3 -14
- data/lib/active_merchant/billing/gateways/psl_card.rb +3 -3
- data/lib/active_merchant/billing/gateways/qbms.rb +1 -1
- data/lib/active_merchant/billing/gateways/quantum.rb +2 -2
- data/lib/active_merchant/billing/gateways/quickbooks.rb +290 -0
- data/lib/active_merchant/billing/gateways/quickpay/quickpay_common.rb +188 -0
- data/lib/active_merchant/billing/gateways/quickpay/quickpay_v10.rb +299 -0
- data/lib/active_merchant/billing/gateways/quickpay/quickpay_v4to7.rb +227 -0
- data/lib/active_merchant/billing/gateways/quickpay.rb +10 -319
- data/lib/active_merchant/billing/gateways/qvalent.rb +236 -0
- data/lib/active_merchant/billing/gateways/realex.rb +27 -25
- data/lib/active_merchant/billing/gateways/redsys.rb +212 -80
- data/lib/active_merchant/billing/gateways/s5.rb +247 -0
- data/lib/active_merchant/billing/gateways/safe_charge.rb +258 -0
- data/lib/active_merchant/billing/gateways/sage.rb +412 -119
- data/lib/active_merchant/billing/gateways/sage_pay.rb +176 -59
- data/lib/active_merchant/billing/gateways/secure_net.rb +35 -29
- data/lib/active_merchant/billing/gateways/secure_pay.rb +182 -9
- data/lib/active_merchant/billing/gateways/secure_pay_au.rb +21 -7
- data/lib/active_merchant/billing/gateways/secure_pay_tech.rb +0 -7
- data/lib/active_merchant/billing/gateways/securion_pay.rb +267 -0
- data/lib/active_merchant/billing/gateways/skip_jack.rb +1 -3
- data/lib/active_merchant/billing/gateways/smart_ps.rb +13 -2
- data/lib/active_merchant/billing/gateways/so_easy_pay.rb +194 -0
- data/lib/active_merchant/billing/gateways/spreedly_core.rb +36 -11
- data/lib/active_merchant/billing/gateways/stripe.rb +461 -82
- data/lib/active_merchant/billing/gateways/swipe_checkout.rb +156 -0
- data/lib/active_merchant/billing/gateways/telr.rb +275 -0
- data/lib/active_merchant/billing/gateways/tns.rb +22 -0
- data/lib/active_merchant/billing/gateways/trans_first.rb +142 -28
- data/lib/active_merchant/billing/gateways/trans_first_transaction_express.rb +608 -0
- data/lib/active_merchant/billing/gateways/transact_pro.rb +224 -0
- data/lib/active_merchant/billing/gateways/transnational.rb +2 -231
- data/lib/active_merchant/billing/gateways/trexle.rb +217 -0
- data/lib/active_merchant/billing/gateways/trust_commerce.rb +17 -11
- data/lib/active_merchant/billing/gateways/usa_epay_advanced.rb +193 -75
- data/lib/active_merchant/billing/gateways/usa_epay_transaction.rb +150 -63
- data/lib/active_merchant/billing/gateways/vanco.rb +294 -0
- data/lib/active_merchant/billing/gateways/verifi.rb +1 -8
- data/lib/active_merchant/billing/gateways/viaklix.rb +1 -15
- data/lib/active_merchant/billing/gateways/visanet_peru.rb +209 -0
- data/lib/active_merchant/billing/gateways/webpay.rb +45 -28
- data/lib/active_merchant/billing/gateways/wepay.rb +238 -0
- data/lib/active_merchant/billing/gateways/wirecard.rb +167 -49
- data/lib/active_merchant/billing/gateways/world_net.rb +344 -0
- data/lib/active_merchant/billing/gateways/worldpay.rb +131 -36
- data/lib/active_merchant/billing/gateways/worldpay_online_payments.rb +218 -0
- data/lib/active_merchant/billing/gateways/worldpay_us.rb +221 -0
- data/lib/active_merchant/billing/gateways.rb +8 -11
- data/lib/active_merchant/billing/model.rb +30 -0
- data/lib/active_merchant/billing/network_tokenization_credit_card.rb +39 -0
- data/lib/active_merchant/billing/payment_token.rb +21 -0
- data/lib/active_merchant/billing/rails.rb +3 -0
- data/lib/active_merchant/billing/response.rb +24 -17
- data/lib/active_merchant/billing.rb +7 -1
- data/lib/active_merchant/connection.rb +177 -0
- data/lib/active_merchant/country.rb +334 -0
- data/lib/active_merchant/empty.rb +20 -0
- data/lib/active_merchant/errors.rb +35 -0
- data/lib/active_merchant/network_connection_retries.rb +79 -0
- data/lib/active_merchant/post_data.rb +24 -0
- data/lib/active_merchant/posts_data.rb +84 -0
- data/lib/active_merchant/version.rb +1 -1
- data/lib/active_merchant.rb +24 -21
- data/lib/certs/cacert.pem +3951 -0
- data/lib/support/gateway_support.rb +16 -10
- data/lib/support/outbound_hosts.rb +13 -10
- metadata +161 -306
- data/gem-public_cert.pem +0 -20
- data/lib/active_merchant/billing/expiry_date.rb +0 -34
- data/lib/active_merchant/billing/gateways/barclays_epdq.rb +0 -314
- data/lib/active_merchant/billing/gateways/card_stream_modern.rb +0 -155
- data/lib/active_merchant/billing/gateways/certo_direct.rb +0 -277
- data/lib/active_merchant/billing/gateways/orbital/avs_result.rb +0 -93
- data/lib/active_merchant/billing/gateways/sage/sage_bankcard.rb +0 -93
- data/lib/active_merchant/billing/gateways/sage/sage_core.rb +0 -114
- data/lib/active_merchant/billing/gateways/sage/sage_virtual_check.rb +0 -102
- data/lib/active_merchant/billing/gateways/samurai.rb +0 -118
- data/lib/active_merchant/billing/gateways/vindicia.rb +0 -361
- data/lib/active_merchant/billing/integrations/a1agregator/helper.rb +0 -31
- data/lib/active_merchant/billing/integrations/a1agregator/notification.rb +0 -186
- data/lib/active_merchant/billing/integrations/a1agregator/status.rb +0 -38
- data/lib/active_merchant/billing/integrations/a1agregator.rb +0 -26
- data/lib/active_merchant/billing/integrations/action_view_helper.rb +0 -73
- data/lib/active_merchant/billing/integrations/authorize_net_sim/helper.rb +0 -229
- data/lib/active_merchant/billing/integrations/authorize_net_sim/notification.rb +0 -340
- data/lib/active_merchant/billing/integrations/authorize_net_sim.rb +0 -38
- data/lib/active_merchant/billing/integrations/bogus/helper.rb +0 -17
- data/lib/active_merchant/billing/integrations/bogus/notification.rb +0 -11
- data/lib/active_merchant/billing/integrations/bogus/return.rb +0 -10
- data/lib/active_merchant/billing/integrations/bogus.rb +0 -23
- data/lib/active_merchant/billing/integrations/chronopay/helper.rb +0 -120
- data/lib/active_merchant/billing/integrations/chronopay/notification.rb +0 -158
- data/lib/active_merchant/billing/integrations/chronopay/return.rb +0 -10
- data/lib/active_merchant/billing/integrations/chronopay.rb +0 -23
- data/lib/active_merchant/billing/integrations/direc_pay/helper.rb +0 -200
- data/lib/active_merchant/billing/integrations/direc_pay/notification.rb +0 -76
- data/lib/active_merchant/billing/integrations/direc_pay/return.rb +0 -32
- data/lib/active_merchant/billing/integrations/direc_pay/status.rb +0 -37
- data/lib/active_merchant/billing/integrations/direc_pay.rb +0 -41
- data/lib/active_merchant/billing/integrations/directebanking/helper.rb +0 -90
- data/lib/active_merchant/billing/integrations/directebanking/notification.rb +0 -120
- data/lib/active_merchant/billing/integrations/directebanking/return.rb +0 -11
- data/lib/active_merchant/billing/integrations/directebanking.rb +0 -47
- data/lib/active_merchant/billing/integrations/dotpay/helper.rb +0 -77
- data/lib/active_merchant/billing/integrations/dotpay/notification.rb +0 -86
- data/lib/active_merchant/billing/integrations/dotpay/return.rb +0 -11
- data/lib/active_merchant/billing/integrations/dotpay.rb +0 -22
- data/lib/active_merchant/billing/integrations/dwolla/common.rb +0 -23
- data/lib/active_merchant/billing/integrations/dwolla/helper.rb +0 -43
- data/lib/active_merchant/billing/integrations/dwolla/notification.rb +0 -64
- data/lib/active_merchant/billing/integrations/dwolla/return.rb +0 -49
- data/lib/active_merchant/billing/integrations/dwolla.rb +0 -23
- data/lib/active_merchant/billing/integrations/e_payment_plans/helper.rb +0 -34
- data/lib/active_merchant/billing/integrations/e_payment_plans/notification.rb +0 -84
- data/lib/active_merchant/billing/integrations/e_payment_plans.rb +0 -48
- data/lib/active_merchant/billing/integrations/easy_pay/common.rb +0 -40
- data/lib/active_merchant/billing/integrations/easy_pay/helper.rb +0 -36
- data/lib/active_merchant/billing/integrations/easy_pay/notification.rb +0 -59
- data/lib/active_merchant/billing/integrations/easy_pay.rb +0 -30
- data/lib/active_merchant/billing/integrations/epay/helper.rb +0 -55
- data/lib/active_merchant/billing/integrations/epay/notification.rb +0 -110
- data/lib/active_merchant/billing/integrations/epay.rb +0 -21
- data/lib/active_merchant/billing/integrations/first_data/helper.rb +0 -61
- data/lib/active_merchant/billing/integrations/first_data/notification.rb +0 -56
- data/lib/active_merchant/billing/integrations/first_data.rb +0 -38
- data/lib/active_merchant/billing/integrations/gestpay/common.rb +0 -42
- data/lib/active_merchant/billing/integrations/gestpay/helper.rb +0 -70
- data/lib/active_merchant/billing/integrations/gestpay/notification.rb +0 -85
- data/lib/active_merchant/billing/integrations/gestpay/return.rb +0 -10
- data/lib/active_merchant/billing/integrations/gestpay.rb +0 -25
- data/lib/active_merchant/billing/integrations/helper.rb +0 -117
- data/lib/active_merchant/billing/integrations/hi_trust/helper.rb +0 -58
- data/lib/active_merchant/billing/integrations/hi_trust/notification.rb +0 -59
- data/lib/active_merchant/billing/integrations/hi_trust/return.rb +0 -68
- data/lib/active_merchant/billing/integrations/hi_trust.rb +0 -27
- data/lib/active_merchant/billing/integrations/ipay88/helper.rb +0 -114
- data/lib/active_merchant/billing/integrations/ipay88/return.rb +0 -95
- data/lib/active_merchant/billing/integrations/ipay88.rb +0 -19
- data/lib/active_merchant/billing/integrations/liqpay/helper.rb +0 -43
- data/lib/active_merchant/billing/integrations/liqpay/notification.rb +0 -89
- data/lib/active_merchant/billing/integrations/liqpay/return.rb +0 -83
- data/lib/active_merchant/billing/integrations/liqpay.rb +0 -30
- data/lib/active_merchant/billing/integrations/maksuturva/helper.rb +0 -119
- data/lib/active_merchant/billing/integrations/maksuturva/notification.rb +0 -48
- data/lib/active_merchant/billing/integrations/maksuturva.rb +0 -86
- data/lib/active_merchant/billing/integrations/moneybookers/helper.rb +0 -75
- data/lib/active_merchant/billing/integrations/moneybookers/notification.rb +0 -129
- data/lib/active_merchant/billing/integrations/moneybookers.rb +0 -26
- data/lib/active_merchant/billing/integrations/nochex/helper.rb +0 -68
- data/lib/active_merchant/billing/integrations/nochex/notification.rb +0 -94
- data/lib/active_merchant/billing/integrations/nochex/return.rb +0 -10
- data/lib/active_merchant/billing/integrations/nochex.rb +0 -88
- data/lib/active_merchant/billing/integrations/notification.rb +0 -71
- data/lib/active_merchant/billing/integrations/paxum/common.rb +0 -24
- data/lib/active_merchant/billing/integrations/paxum/helper.rb +0 -42
- data/lib/active_merchant/billing/integrations/paxum/notification.rb +0 -33
- data/lib/active_merchant/billing/integrations/paxum.rb +0 -44
- data/lib/active_merchant/billing/integrations/pay_fast/common.rb +0 -42
- data/lib/active_merchant/billing/integrations/pay_fast/helper.rb +0 -50
- data/lib/active_merchant/billing/integrations/pay_fast/notification.rb +0 -134
- data/lib/active_merchant/billing/integrations/pay_fast/return.rb +0 -10
- data/lib/active_merchant/billing/integrations/pay_fast.rb +0 -70
- data/lib/active_merchant/billing/integrations/payflow_link/helper.rb +0 -116
- data/lib/active_merchant/billing/integrations/payflow_link/notification.rb +0 -78
- data/lib/active_merchant/billing/integrations/payflow_link.rb +0 -21
- data/lib/active_merchant/billing/integrations/paypal/helper.rb +0 -119
- data/lib/active_merchant/billing/integrations/paypal/notification.rb +0 -227
- data/lib/active_merchant/billing/integrations/paypal/return.rb +0 -10
- data/lib/active_merchant/billing/integrations/paypal.rb +0 -39
- data/lib/active_merchant/billing/integrations/paypal_payments_advanced/helper.rb +0 -15
- data/lib/active_merchant/billing/integrations/paypal_payments_advanced.rb +0 -20
- data/lib/active_merchant/billing/integrations/paysbuy/helper.rb +0 -15
- data/lib/active_merchant/billing/integrations/paysbuy/notification.rb +0 -28
- data/lib/active_merchant/billing/integrations/paysbuy.rb +0 -36
- data/lib/active_merchant/billing/integrations/payu_in/helper.rb +0 -74
- data/lib/active_merchant/billing/integrations/payu_in/notification.rb +0 -165
- data/lib/active_merchant/billing/integrations/payu_in/return.rb +0 -36
- data/lib/active_merchant/billing/integrations/payu_in.rb +0 -43
- data/lib/active_merchant/billing/integrations/platron/helper.rb +0 -32
- data/lib/active_merchant/billing/integrations/platron/notification.rb +0 -113
- data/lib/active_merchant/billing/integrations/platron.rb +0 -28
- data/lib/active_merchant/billing/integrations/pxpay/helper.rb +0 -112
- data/lib/active_merchant/billing/integrations/pxpay/notification.rb +0 -157
- data/lib/active_merchant/billing/integrations/pxpay/return.rb +0 -25
- data/lib/active_merchant/billing/integrations/pxpay.rb +0 -31
- data/lib/active_merchant/billing/integrations/quickpay/helper.rb +0 -74
- data/lib/active_merchant/billing/integrations/quickpay/notification.rb +0 -137
- data/lib/active_merchant/billing/integrations/quickpay.rb +0 -21
- data/lib/active_merchant/billing/integrations/rbkmoney/helper.rb +0 -23
- data/lib/active_merchant/billing/integrations/rbkmoney/notification.rb +0 -91
- data/lib/active_merchant/billing/integrations/rbkmoney.rb +0 -17
- data/lib/active_merchant/billing/integrations/return.rb +0 -42
- data/lib/active_merchant/billing/integrations/robokassa/common.rb +0 -19
- data/lib/active_merchant/billing/integrations/robokassa/helper.rb +0 -50
- data/lib/active_merchant/billing/integrations/robokassa/notification.rb +0 -55
- data/lib/active_merchant/billing/integrations/robokassa/return.rb +0 -17
- data/lib/active_merchant/billing/integrations/robokassa.rb +0 -49
- data/lib/active_merchant/billing/integrations/sage_pay_form/encryption.rb +0 -33
- data/lib/active_merchant/billing/integrations/sage_pay_form/helper.rb +0 -136
- data/lib/active_merchant/billing/integrations/sage_pay_form/notification.rb +0 -210
- data/lib/active_merchant/billing/integrations/sage_pay_form/return.rb +0 -31
- data/lib/active_merchant/billing/integrations/sage_pay_form.rb +0 -37
- data/lib/active_merchant/billing/integrations/two_checkout/helper.rb +0 -91
- data/lib/active_merchant/billing/integrations/two_checkout/notification.rb +0 -139
- data/lib/active_merchant/billing/integrations/two_checkout/return.rb +0 -17
- data/lib/active_merchant/billing/integrations/two_checkout.rb +0 -44
- data/lib/active_merchant/billing/integrations/valitor/helper.rb +0 -86
- data/lib/active_merchant/billing/integrations/valitor/notification.rb +0 -13
- data/lib/active_merchant/billing/integrations/valitor/response_fields.rb +0 -97
- data/lib/active_merchant/billing/integrations/valitor/return.rb +0 -13
- data/lib/active_merchant/billing/integrations/valitor.rb +0 -33
- data/lib/active_merchant/billing/integrations/verkkomaksut/helper.rb +0 -88
- data/lib/active_merchant/billing/integrations/verkkomaksut/notification.rb +0 -59
- data/lib/active_merchant/billing/integrations/verkkomaksut.rb +0 -20
- data/lib/active_merchant/billing/integrations/web_pay/common.rb +0 -50
- data/lib/active_merchant/billing/integrations/web_pay/helper.rb +0 -68
- data/lib/active_merchant/billing/integrations/web_pay/notification.rb +0 -51
- data/lib/active_merchant/billing/integrations/web_pay.rb +0 -45
- data/lib/active_merchant/billing/integrations/webmoney/common.rb +0 -17
- data/lib/active_merchant/billing/integrations/webmoney/helper.rb +0 -40
- data/lib/active_merchant/billing/integrations/webmoney/notification.rb +0 -47
- data/lib/active_merchant/billing/integrations/webmoney.rb +0 -43
- data/lib/active_merchant/billing/integrations/world_pay/helper.rb +0 -101
- data/lib/active_merchant/billing/integrations/world_pay/notification.rb +0 -160
- data/lib/active_merchant/billing/integrations/world_pay.rb +0 -34
- data/lib/active_merchant/billing/integrations.rb +0 -17
- data.tar.gz.sig +0 -0
- metadata.gz.sig +0 -0
data/CONTRIBUTORS
CHANGED
@@ -122,6 +122,7 @@ MerchantWARE (July 7, 2009)
|
|
122
122
|
FirstPay (July 24, 2009)
|
123
123
|
|
124
124
|
* Phil R
|
125
|
+
* Ryan Daigle (rwdaigle)
|
125
126
|
|
126
127
|
Ogone (July 20, 2009)
|
127
128
|
|
@@ -412,3 +413,156 @@ MerchantWare V4 (July 2013)
|
|
412
413
|
Platron integration (July 2013)
|
413
414
|
|
414
415
|
* Alexey Kiryushin (alexwl)
|
416
|
+
|
417
|
+
MoneyMovers (September 2013)
|
418
|
+
|
419
|
+
* Jeffery Utter (jeffutter)
|
420
|
+
|
421
|
+
Be2Bill (September 2013)
|
422
|
+
|
423
|
+
* Michaël Hoste (MichaelHoste)
|
424
|
+
|
425
|
+
Conekta (October 2013)
|
426
|
+
|
427
|
+
* Leo Fischer (leofischer)
|
428
|
+
|
429
|
+
App55 (November 2013)
|
430
|
+
|
431
|
+
* (ianbutler55)
|
432
|
+
|
433
|
+
Swipe Checkout (November 2013)
|
434
|
+
|
435
|
+
* (matt-optimizerhq)
|
436
|
+
|
437
|
+
Raven PacNet (November 2013)
|
438
|
+
|
439
|
+
* Luis Lopez (llopez)
|
440
|
+
|
441
|
+
Payex (November 2013)
|
442
|
+
|
443
|
+
* Tom Davies (atomgiant)
|
444
|
+
|
445
|
+
Payscout (December 2013)
|
446
|
+
|
447
|
+
* Luis Lopez (llopez)
|
448
|
+
|
449
|
+
SoEasyPay (December 2013)
|
450
|
+
|
451
|
+
* Ivan Radovanovic (ir-soeasycorp)
|
452
|
+
|
453
|
+
Cecabank (February 2014)
|
454
|
+
|
455
|
+
* Alberto Molpeceres (molpe)
|
456
|
+
|
457
|
+
Openpay (February 2014)
|
458
|
+
|
459
|
+
* (darkaz)
|
460
|
+
|
461
|
+
maxiPago (February 2014)
|
462
|
+
|
463
|
+
* (alexandremcosta)
|
464
|
+
|
465
|
+
WePay (March 2014)
|
466
|
+
|
467
|
+
* Faizal Zakaria (faizalzakaria)
|
468
|
+
|
469
|
+
FirstGiving (March 2014)
|
470
|
+
|
471
|
+
* Faizal Zakaria (faizalzakaria)
|
472
|
+
|
473
|
+
BridgePay (April 2014)
|
474
|
+
|
475
|
+
* Mark Bennett (markabe)
|
476
|
+
|
477
|
+
PagoFacil (May 2014)
|
478
|
+
|
479
|
+
* Benito Serna (bhserna)
|
480
|
+
|
481
|
+
Cashnet (May 2014)
|
482
|
+
|
483
|
+
* Tom Hoen (hoenth)
|
484
|
+
|
485
|
+
Heartland Payment Systems (May 2014)
|
486
|
+
|
487
|
+
* Mark Hagan (SecureSubmit)
|
488
|
+
|
489
|
+
Borgun (June 2014)
|
490
|
+
|
491
|
+
* Mark Bennett (markabe)
|
492
|
+
|
493
|
+
Commercegate (June 2014)
|
494
|
+
|
495
|
+
* Vitaliy (vitaliyvasin)
|
496
|
+
|
497
|
+
Worldpay US (August 2014)
|
498
|
+
|
499
|
+
* Mark Bennett (markabe)
|
500
|
+
|
501
|
+
Checkout.com (September 2014)
|
502
|
+
|
503
|
+
* (ravish-ramrakha-cko)
|
504
|
+
|
505
|
+
Bank Frick (September 2014)
|
506
|
+
|
507
|
+
* Piers Chambers (varyonic)
|
508
|
+
|
509
|
+
Global Transport (September 2014)
|
510
|
+
|
511
|
+
* Duff O'Melia (duff)
|
512
|
+
|
513
|
+
IPP (December 2014)
|
514
|
+
|
515
|
+
* (InfraRuby)
|
516
|
+
|
517
|
+
QuickBooks Payments (January 2015)
|
518
|
+
|
519
|
+
* Arbab Ahmed (bizla)
|
520
|
+
* Ivan Sanchez (ivanfer)
|
521
|
+
|
522
|
+
Axcess MS (February 2015)
|
523
|
+
|
524
|
+
* Tim Tait (timtait)
|
525
|
+
|
526
|
+
PayHub (February 2015)
|
527
|
+
|
528
|
+
* Grep Ruby (grepruby)
|
529
|
+
|
530
|
+
Qvalent (March 2015)
|
531
|
+
|
532
|
+
* Mark Bennett (markabe)
|
533
|
+
|
534
|
+
Worldpay Online Payments (April 2015)
|
535
|
+
|
536
|
+
* (ao)
|
537
|
+
|
538
|
+
PayU India (May 2015)
|
539
|
+
|
540
|
+
* Nathaniel Talbott (ntalbott)
|
541
|
+
|
542
|
+
SecurionPay (October 2015)
|
543
|
+
|
544
|
+
* Michał Szajbe (szajbus)
|
545
|
+
|
546
|
+
Komoju (October 2015)
|
547
|
+
|
548
|
+
* Kazunori Kajihiro (k2nr)
|
549
|
+
|
550
|
+
CAMS: Central Account Management System (October 2015)
|
551
|
+
|
552
|
+
* Trevor Grayson (trevorgrayson)
|
553
|
+
|
554
|
+
Transact Pro (October 2015)
|
555
|
+
|
556
|
+
* Piers C (varyonic)
|
557
|
+
|
558
|
+
Payeezy (October 2015)
|
559
|
+
|
560
|
+
* Washington L Braga Jr (huoxito)
|
561
|
+
|
562
|
+
Clearhaus (October 2015)
|
563
|
+
|
564
|
+
* Dinesh Yadav (dinesh)
|
565
|
+
|
566
|
+
Cardknox (November 2015)
|
567
|
+
|
568
|
+
* (dlehren)
|
data/README.md
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
# Active Merchant
|
2
|
-
[![Build Status](https://
|
3
|
-
[![Code Climate](https://codeclimate.com/
|
2
|
+
[![Build Status](https://travis-ci.org/activemerchant/active_merchant.png?branch=master)](https://travis-ci.org/activemerchant/active_merchant)
|
3
|
+
[![Code Climate](https://codeclimate.com/github/activemerchant/active_merchant.png)](https://codeclimate.com/github/activemerchant/active_merchant)
|
4
4
|
|
5
|
-
Active Merchant is an extraction from the
|
5
|
+
Active Merchant is an extraction from the ecommerce system [Shopify](http://www.shopify.com).
|
6
6
|
Shopify's requirements for a simple and unified API to access dozens of different payment
|
7
7
|
gateways with very different internal APIs was the chief principle in designing the library.
|
8
8
|
|
@@ -17,13 +17,15 @@ from an ever-growing set of contributors.
|
|
17
17
|
See [GettingStarted.md](GettingStarted.md) if you want to learn more about using Active Merchant in your
|
18
18
|
applications.
|
19
19
|
|
20
|
+
If you'd like to contribute to Active Merchant, please start with our [contribution guide](CONTRIBUTING.md).
|
21
|
+
|
20
22
|
## Installation
|
21
23
|
|
22
24
|
### From Git
|
23
25
|
|
24
26
|
You can check out the latest source from git:
|
25
27
|
|
26
|
-
git clone git://github.com/
|
28
|
+
git clone git://github.com/activemerchant/active_merchant.git
|
27
29
|
|
28
30
|
### From RubyGems
|
29
31
|
|
@@ -40,182 +42,193 @@ Or, if you're using Bundler, just add the following to your Gemfile:
|
|
40
42
|
This simple example demonstrates how a purchase can be made using a person's
|
41
43
|
credit card details.
|
42
44
|
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
45
|
+
```ruby
|
46
|
+
require 'active_merchant'
|
47
|
+
|
48
|
+
# Use the TrustCommerce test servers
|
49
|
+
ActiveMerchant::Billing::Base.mode = :test
|
50
|
+
|
51
|
+
gateway = ActiveMerchant::Billing::TrustCommerceGateway.new(
|
52
|
+
:login => 'TestMerchant',
|
53
|
+
:password => 'password')
|
54
|
+
|
55
|
+
# ActiveMerchant accepts all amounts as Integer values in cents
|
56
|
+
amount = 1000 # $10.00
|
57
|
+
|
58
|
+
# The card verification value is also known as CVV2, CVC2, or CID
|
59
|
+
credit_card = ActiveMerchant::Billing::CreditCard.new(
|
60
|
+
:first_name => 'Bob',
|
61
|
+
:last_name => 'Bobsen',
|
62
|
+
:number => '4242424242424242',
|
63
|
+
:month => '8',
|
64
|
+
:year => Time.now.year+1,
|
65
|
+
:verification_value => '000')
|
66
|
+
|
67
|
+
# Validating the card automatically detects the card type
|
68
|
+
if credit_card.validate.empty?
|
69
|
+
# Capture $10 from the credit card
|
70
|
+
response = gateway.purchase(amount, credit_card)
|
71
|
+
|
72
|
+
if response.success?
|
73
|
+
puts "Successfully charged $#{sprintf("%.2f", amount / 100)} to the credit card #{credit_card.display_number}"
|
74
|
+
else
|
75
|
+
raise StandardError, response.message
|
76
|
+
end
|
77
|
+
end
|
78
|
+
```
|
76
79
|
|
77
80
|
For more in-depth documentation and tutorials, see [GettingStarted.md](GettingStarted.md) and the
|
78
|
-
[API documentation](http://rubydoc.info/github/
|
81
|
+
[API documentation](http://www.rubydoc.info/github/activemerchant/active_merchant/).
|
79
82
|
|
80
|
-
## Supported
|
83
|
+
## Supported Payment Gateways
|
81
84
|
|
82
|
-
The [ActiveMerchant Wiki](http://github.com/
|
85
|
+
The [ActiveMerchant Wiki](http://github.com/activemerchant/active_merchant/wikis) contains a [table of features supported by each gateway](http://github.com/activemerchant/active_merchant/wikis/gatewayfeaturematrix).
|
83
86
|
|
84
|
-
* [Authorize.Net](http://www.authorize.net/) - US
|
85
87
|
* [Authorize.Net CIM](http://www.authorize.net/) - US
|
88
|
+
* [Authorize.Net](http://www.authorize.net/) - AD, AT, AU, BE, BG, CA, CH, CY, CZ, DE, DK, ES, FI, FR, GB, GB, GI, GR, HU, IE, IT, LI, LU, MC, MT, NL, NO, PL, PT, RO, SE, SI, SK, SM, TR, US, VA
|
89
|
+
* [Axcess MS](http://www.axcessms.com/) - AD, AT, BE, BG, BR, CA, CH, CY, CZ, DE, DK, EE, ES, FI, FO, FR, GB, GI, GR, HR, HU, IE, IL, IM, IS, IT, LI, LT, LU, LV, MC, MT, MX, NL, NO, PL, PT, RO, RU, SE, SI, SK, TR, US, VA
|
86
90
|
* [Balanced](https://www.balancedpayments.com/) - US
|
87
|
-
* [
|
88
|
-
* [
|
89
|
-
* [Barclays ePDQ Extra Plus](http://www.barclaycard.co.uk/business/accepting-payments/epdq-ecomm/) -
|
90
|
-
* [
|
91
|
+
* [Bank Frick](http://www.bankfrickacquiring.com/) - LI, US
|
92
|
+
* [Banwire](http://www.banwire.com/) - MX
|
93
|
+
* [Barclays ePDQ Extra Plus](http://www.barclaycard.co.uk/business/accepting-payments/epdq-ecomm/) - GB
|
94
|
+
* [Be2Bill](http://www.be2bill.com/) - FR
|
95
|
+
* [Beanstream.com](http://www.beanstream.com/) - CA, US
|
91
96
|
* [BluePay](http://www.bluepay.com/) - US
|
92
|
-
* [
|
93
|
-
* [
|
94
|
-
* [
|
95
|
-
* [
|
96
|
-
* [
|
97
|
+
* [Borgun](https://www.borgun.is/) - IS
|
98
|
+
* [Braintree](https://www.braintreepayments.com) - US, CA, AU, AD, AT, BE, BG, CY, CZ, DK, EE, FI, FR, GI, DE, GR, HU, IS, IM, IE, IT, LV, LI, LT, LU, MT, MC, NL, NO, PL, PT, RO, SM, SK, SI, ES, SE, CH, TR, GB
|
99
|
+
* [BridgePay](http://www.bridgepaynetwork.com/) - CA, US
|
100
|
+
* [Cardknox](https://www.cardknox.com/) - US, CA, GB
|
101
|
+
* [CardSave](http://www.cardsave.net/) - GB
|
102
|
+
* [CardStream](http://www.cardstream.com/) - GB
|
103
|
+
* [Cashnet](http://www.higherone.com/) - US
|
104
|
+
* [Cecabank](http://www.ceca.es/es/) - ES
|
105
|
+
* [Cenpos](https://www.cenpos.com/) - AD, AI, AG, AR, AU, AT, BS, BB, BE, BZ, BM, BR, BN, BG, CA, HR, CY, CZ, DK, DM, EE, FI, FR, DE, GR, GD, GY, HK, HU, IS, IN, IL, IT, JP, LV, LI, LT, LU, MY, MT, MX, MC, MS, NL, PA, PL, PT, KN, LC, MF, VC, SM, SG, SK, SI, ZA, ES, SR, SE, CH, TR, GB, US, UY
|
106
|
+
* [CAMS: Central Account Management System](https://www.centralams.com/) - US
|
107
|
+
* [Checkout.com](https://www.checkout.com/) - AT, BE, BG, CY, CZ, DE, DK, EE, ES, FI, FR, GR, HR, HU, IE, IS, IT, LI, LT, LU, LV, MT, MU, NL, NO, PL, PT, RO, SE, SI, SK, US
|
108
|
+
* [Clearhaus](https://www.clearhaus.com) - AD, AT, BE, BG, CH, CY, CZ, DE, DK, EE, ES, FI, FO, FR, GB, GL, GR, HR, HU, IE, IS, IT, LI, LT, LU, LV, MT, NL, NO, PL, PT, RO, SE, SI, SK
|
109
|
+
* [Commercegate](http://www.commercegate.com/) - AD, AT, AX, BE, BG, CH, CY, CZ, DE, DK, ES, FI, FR, GB, GG, GI, GR, HR, HU, IE, IM, IS, IT, JE, LI, LT, LU, LV, MC, MT, NL, NO, PL, PT, RO, SE, SI, SK, VA
|
110
|
+
* [Conekta](https://conekta.io) - MX
|
111
|
+
* [CyberSource](http://www.cybersource.com) - US, BR, CA, CN, DK, FI, FR, DE, JP, MX, NO, SE, GB, SG
|
112
|
+
* [DIBS](http://www.dibspayment.com/) - US, FI, NO, SE, GB
|
113
|
+
* [DataCash](http://www.datacash.com/) - GB
|
97
114
|
* [Efsnet](http://www.concordefsnet.com/) - US
|
98
|
-
* [Elavon MyVirtualMerchant](http://www.elavon.com) - US, CA
|
99
|
-
* [ePay](http://
|
115
|
+
* [Elavon MyVirtualMerchant](http://www.elavon.com/) - US, CA
|
116
|
+
* [ePay](http://epay.dk/) - DK, SE, NO
|
100
117
|
* [EVO Canada](http://www.evocanada.com/) - CA
|
101
|
-
* [eWAY](http://www.eway.com.au/) - AU
|
102
|
-
* [
|
118
|
+
* [eWAY](http://www.eway.com.au/) - AU, NZ, GB
|
119
|
+
* [eWAY Rapid](http://www.eway.com.au/) - AU, NZ, GB, SG
|
103
120
|
* [E-xact](http://www.e-xact.com) - CA, US
|
104
|
-
* [
|
121
|
+
* [Ezic](http://www.ezic.com/) - AU, CA, CN, FR, DE, GI, IL, MT, MU, MX, NL, NZ, PA, PH, RU, SG, KR, ES, KN, GB
|
122
|
+
* [Fat Zebra](https://www.fatzebra.com.au/) - AU
|
105
123
|
* [Federated Canada](http://www.federatedcanada.com/) - CA
|
106
124
|
* [Finansbank WebPOS](https://www.fbwebpos.com/) - US, TR
|
125
|
+
* [Flo2Cash](http://www.flo2cash.co.nz/) - NZ
|
126
|
+
* [1stPayGateway.Net](http://1stpaygateway.net/) - US
|
107
127
|
* [FirstData Global Gateway e4](http://www.firstdata.com) - CA, US
|
108
|
-
* [
|
109
|
-
* [Garanti Sanal POS](https://
|
128
|
+
* [FirstGiving](http://www.firstgiving.com/) - US
|
129
|
+
* [Garanti Sanal POS](https://sanalposweb.garanti.com.tr) - US, TR
|
130
|
+
* [Global Transport](https://www.globalpaymentsinc.com) - CA, PR, US
|
110
131
|
* [HDFC](http://www.hdfcbank.com/sme/sme-details/merchant-services/guzh6m0i) - IN
|
111
|
-
* [
|
132
|
+
* [Heartland Payment Systems](http://developer.heartlandpaymentsystems.com/SecureSubmit/) - US
|
133
|
+
* [iATS Payments](http://home.iatspayments.com/) - AU, BR, CA, CH, DE, DK, ES, FI, FR, GR, HK, IE, IT, NL, NO, PT, SE, SG, TR, UK, US
|
134
|
+
* [Inspire Commerce](http://www.inspiregateway.com) - US
|
112
135
|
* [InstaPay](http://www.instapayllc.com) - US
|
113
|
-
* [
|
136
|
+
* [IPP](http://www.ippayments.com.au/) - AU
|
137
|
+
* [Iridium](http://www.iridiumcorp.co.uk/) - GB, ES
|
114
138
|
* [iTransact](http://www.itransact.com/) - US
|
115
|
-
* [JetPay](http://www.jetpay.com) - US
|
139
|
+
* [JetPay](http://www.jetpay.com/) - US
|
140
|
+
* [Komoju](http://www.komoju.com/) - JP
|
116
141
|
* [LinkPoint](http://www.linkpoint.com/) - US
|
117
|
-
* [Litle](http://www.litle.com/) - US
|
118
|
-
* [
|
119
|
-
* [
|
120
|
-
* [Merchant
|
121
|
-
* [
|
142
|
+
* [Litle & Co.](http://www.litle.com/) - US
|
143
|
+
* [maxiPago!](http://www.maxipago.com/) - BR
|
144
|
+
* [Merchant e-Solutions](http://www.merchante-solutions.com/) - US
|
145
|
+
* [Merchant One Gateway](http://merchantone.com/) - US
|
146
|
+
* [MerchantWARE](http://merchantwarehouse.com/merchantware) - US
|
147
|
+
* [MerchantWarrior](http://www.merchantwarrior.com/) - AU
|
148
|
+
* [Mercury](http://www.mercurypay.com) - US, CA
|
149
|
+
* [Metrics Global](http://www.metricsglobal.com) - US
|
122
150
|
* [MasterCard Internet Gateway Service (MiGS)](http://mastercard.com/mastercardsps) - AU, AE, BD, BN, EG, HK, ID, IN, JO, KW, LB, LK, MU, MV, MY, NZ, OM, PH, QA, SA, SG, TT, VN
|
123
151
|
* [Modern Payments](http://www.modpay.com) - US
|
152
|
+
* [MONEI](http://www.monei.net/) - AD, AT, BE, BG, CA, CH, CY, CZ, DE, DK, EE, ES, FI, FO, FR, GB, GI, GR, HU, IE, IL, IS, IT, LI, LT, LU, LV, MT, NL, NO, PL, PT, RO, SE, SI, SK, TR, US, VA
|
124
153
|
* [Moneris](http://www.moneris.com/) - CA
|
125
|
-
* [Moneris US](http://www.monerisusa.com/) - US
|
126
|
-
* [
|
127
|
-
* [
|
128
|
-
* [
|
129
|
-
* [NETbilling](http://www.netbilling.com) - US
|
130
|
-
* [NetPay](http://www.netpay.com.mx) - MX
|
154
|
+
* [Moneris (US)](http://www.monerisusa.com/) - US
|
155
|
+
* [MoneyMovers](http://mmoa.us/) - US
|
156
|
+
* [NAB Transact](http://transact.nab.com.au) - AU
|
157
|
+
* [NELiX TransaX](https://www.nelixtransax.com/) - US
|
131
158
|
* [NetRegistry](http://www.netregistry.com.au) - AU
|
159
|
+
* [BBS Netaxept](http://www.betalingsterminal.no/Netthandel-forside/) - NO, DK, SE, FI
|
160
|
+
* [NETbilling](http://www.netbilling.com) - US
|
161
|
+
* [NETPAY Gateway](http://www.netpay.com.mx) - MX
|
132
162
|
* [NMI](http://nmi.com/) - US
|
133
|
-
* [Ogone
|
134
|
-
* [
|
135
|
-
* [
|
136
|
-
* [
|
137
|
-
* [
|
163
|
+
* [Ogone](http://www.ogone.com/) - BE, DE, FR, NL, AT, CH
|
164
|
+
* [Omise](https://www.omise.co/) - TH, JP
|
165
|
+
* [Openpay](Openpay) - MX
|
166
|
+
* [Optimal Payments](http://www.optimalpayments.com/) - CA, US, GB
|
167
|
+
* [Orbital Paymentech](http://chasepaymentech.com/) - US, CA
|
168
|
+
* [Pagar.me](https://pagar.me/) - BR
|
169
|
+
* [PagoFacil](http://www.pagofacil.net/) - MX
|
170
|
+
* [PayConex](http://www.bluefincommerce.com/) - US, CA
|
138
171
|
* [PayGate PayXML](http://paygate.co.za/) - US, ZA
|
172
|
+
* [PayHub](http://www.payhub.com/) - US
|
139
173
|
* [PayJunction](http://www.payjunction.com/) - US
|
140
|
-
* [PaymentExpress](http://www.paymentexpress.com/) - AU, MY, NZ, SG, ZA, UK, US
|
141
|
-
* [PAYMILL](https://www.paymill.com) - AD, AT, BE, CH, CY, CZ, DE, DK, EE, ES, FI, FO, FR, GB, GR, HU, IE, IL, IS, IT, LI, LT, LU, LV, MT, NL, NO, PL, PT, SE, SI, SK, TR, VA
|
142
|
-
* [PayPal Express Checkout](https://www.paypal.com/cgi-bin/webscr?cmd=xpt/merchant/ExpressCheckoutIntro-outside) - US, CA, SG, AU
|
143
|
-
* [PayPal Payflow Pro](https://www.paypal.com/cgi-bin/webscr?cmd=_payflow-pro-overview-outside) - US, CA, SG, AU
|
144
|
-
* [PayPal Website Payments Pro (UK)](https://www.paypal.com/uk/cgi-bin/webscr?cmd=_wp-pro-overview-outside) - UK
|
145
|
-
* [PayPal Website Payments Pro (CA)](https://www.paypal.com/cgi-bin/webscr?cmd=_wp-pro-overview-outside) - CA
|
146
|
-
* [PayPal Express Checkout](https://www.paypal.com/cgi-bin/webscr?cmd=xpt/merchant/ExpressCheckoutIntro-outside) - US
|
147
|
-
* [PayPal Website Payments Pro (US)](https://www.paypal.com/cgi-bin/webscr?cmd=_wp-pro-overview-outside) - US
|
148
174
|
* [PaySecure](http://www.commsecure.com.au/paysecure.shtml) - AU
|
149
|
-
* [
|
150
|
-
* [
|
175
|
+
* [Paybox Direct](http://www.paybox.com/) - FR
|
176
|
+
* [Payeezy](https://developer.payeezy.com/) - CA, US
|
177
|
+
* [Payex](http://payex.com/) - DK, FI, NO, SE
|
178
|
+
* [PaymentExpress](http://www.paymentexpress.com/) - AU, CA, DE, ES, FR, GB, HK, IE, MY, NL, NZ, SG, US, ZA
|
179
|
+
* [PAYMILL](https://paymill.com) - AD, AT, BE, BG, CH, CY, CZ, DE, DK, EE, ES, FI, FO, FR, GB, GI, GR, HU, IE, IL, IS, IT, LI, LT, LU, LV, MT, NL, NO, PL, PT, RO, SE, SI, SK, TR, VA
|
180
|
+
* [PayPal Express Checkout](https://www.paypal.com/webapps/mpp/express-checkout) - US, CA, SG, AU
|
181
|
+
* [PayPal Express Checkout (UK)](https://www.paypal.com/uk/webapps/mpp/express-checkout) - GB
|
182
|
+
* [PayPal Payflow Pro](https://www.paypal.com/webapps/mpp/payflow-payment-gateway) - US, CA, SG, AU
|
183
|
+
* [PayPal Payments Pro (US)](https://www.paypal.com/us/webapps/mpp/paypal-payments-pro) - US
|
184
|
+
* [PayPal Payments Pro (UK)](https://www.paypal.com/uk/webapps/mpp/pro) - GB
|
185
|
+
* [PayPal Website Payments Pro (CA)](https://www.paypal.com/cgi-bin/webscr?cmd=_wp-pro-overview-outside) - CA
|
186
|
+
* [PayPal Express Checkout for Digital Goods](https://www.x.com/community/ppx/xspaces/digital_goods) - AU, CA, CN, FI, GB, ID, IN, IT, MY, NO, NZ, PH, PL, SE, SG, TH, VN
|
187
|
+
* [Payscout](http://www.payscout.com/) - US
|
188
|
+
* [Paystation](http://paystation.co.nz) - NZ
|
189
|
+
* [Pay Way](http://www.payway.com.au) - AU
|
190
|
+
* [PayU India](https://www.payu.in/) - IN
|
191
|
+
* [Pin Payments](http://www.pin.net.au/) - AU
|
151
192
|
* [Plug'n Pay](http://www.plugnpay.com/) - US
|
152
193
|
* [Psigate](http://www.psigate.com/) - CA
|
153
|
-
* [PSL Payment Solutions](http://www.paymentsolutionsltd.com/) -
|
154
|
-
* [Quantum](http://www.quantumgateway.com) - US
|
194
|
+
* [PSL Payment Solutions](http://www.paymentsolutionsltd.com/) - GB
|
155
195
|
* [QuickBooks Merchant Services](http://payments.intuit.com/) - US
|
156
|
-
* [
|
157
|
-
* [
|
158
|
-
* [
|
159
|
-
* [
|
160
|
-
* [
|
196
|
+
* [QuickBooks Payments](http://payments.intuit.com/) - US
|
197
|
+
* [Quantum Gateway](http://www.quantumgateway.com) - US
|
198
|
+
* [QuickPay](http://quickpay.net/) - DE, DK, ES, FI, FR, FO, GB, IS, NO, SE
|
199
|
+
* [Qvalent](https://www.qvalent.com/) - AU
|
200
|
+
* [Raven](http://www.deepcovelabs.com/raven) - AI, AN, AT, AU, BE, BG, BS, BZ, CA, CH, CR, CY, CZ, DE, DK, DM, DO, EE, EL, ES, FI, FR, GB, GG, GI, HK, HR, HU, IE, IL, IM, IN, IT, JE, KN, LI, LT, LU, LV, MH, MT, MY, NL, NO, NZ, PA, PE, PH, PL, PT, RO, RS, SC, SE, SG, SI, SK, UK, US, VG, ZA
|
201
|
+
* [Realex](http://www.realexpayments.com/) - IE, GB, FR, BE, NL, LU, IT
|
202
|
+
* [Redsys](http://www.redsys.es/) - ES
|
203
|
+
* [S5](http://www.s5.dk/) - DK
|
204
|
+
* [SagePay](http://www.sagepay.com) - GB, IE
|
161
205
|
* [Sage Payment Solutions](http://www.sagepayments.com) - US, CA
|
162
|
-
* [Sallie Mae](http://www.salliemae.com) - US
|
163
|
-
* [SecureNet](http://www.securenet.com) - US
|
164
|
-
* [SecurePay](http://securepay.com
|
165
|
-
* [SecurePay](http://www.securepay.com/) - US
|
206
|
+
* [Sallie Mae](http://www.salliemae.com/) - US
|
207
|
+
* [SecureNet](http://www.securenet.com/) - US
|
208
|
+
* [SecurePay](http://www.securepay.com/) - US, CA, GB, AU
|
166
209
|
* [SecurePayTech](http://www.securepaytech.com/) - NZ
|
210
|
+
* [SecurionPay](https://securionpay.com/) - AD, AE, AF, AG, AI, AL, AM, AO, AR, AS, AT, AU, AW, AX, AZ, BA, BB, BD, BE, BF, BG, BH, BI, BJ, BL, BM, BN, BO, BR, BS, BT, BV, BW, BY, BZ, CA, CC, CD, CF, CG, CH, CI, CK, CL, CM, CN, CO, CR, CU, CV, CW, CX, CY, CZ, DE, DJ, DK, DM, DO, DZ, EC, EE, EG, EH, ER, ES, ET, FI, FJ, FK, FM, FO, FR, GA, GB, GD, GE, GF, GG, GH, GI, GL, GM, GN, GP, GQ, GR, GS, GT, GU, GW, GY, HK, HM, HN, HR, HT, HU, ID, IE, IL, IM, IN, IO, IQ, IR, IS, IT, JE, JM, JO, JP, KE, KG, KH, KI, KM, KN, KP, KR, KW, KY, KZ, LA, LB, LC, LI, LK, LR, LS, LT, LU, LV, LY, MA, MC, MD, ME, MF, MG, MH, MK, ML, MM, MN, MO, MP, MQ, MR, MS, MT, MU, MV, MW, MX, MY, MZ, NA, NC, NE, NF, NG, NI, NL, NO, NP, NR, NU, NZ, OM, PA, PE, PF, PG, PH, PK, PL, PM, PN, PR, PS, PT, PW, PY, QA, RE, RO, RS, RU, RW, SA, SB, SC, SD, SE, SG, SH, SI, SJ, SK, SL, SM, SN, SO, SR, ST, SV, SY, SZ, TC, TD, TF, TG, TH, TJ, TK, TL, TM, TN, TO, TR, TT, TV, TW, TZ, UA, UG, UM, US, UY, UZ, VA, VC, VE, VG, VI, VN, VU, WF, WS, YE, YT, ZA, ZM, ZW
|
167
211
|
* [SkipJack](http://www.skipjack.com/) - US, CA
|
168
|
-
* [
|
169
|
-
* [
|
212
|
+
* [SoEasyPay](http://www.soeasypay.com/) - US, CA, AT, BE, BG, HR, CY, CZ, DK, EE, FI, FR, DE, GR, HU, IE, IT, LV, LT, LU, MT, NL, PL, PT, RO, SK, SI, ES, SE, GB, IS, NO, CH
|
213
|
+
* [Spreedly](https://spreedly.com) - AD, AE, AT, AU, BD, BE, BG, BN, CA, CH, CY, CZ, DE, DK, EE, EG, ES, FI, FR, GB, GI, GR, HK, HU, ID, IE, IL, IM, IN, IS, IT, JO, KW, LB, LI, LK, LT, LU, LV, MC, MT, MU, MV, MX, MY, NL, NO, NZ, OM, PH, PL, PT, QA, RO, SA, SE, SG, SI, SK, SM, TR, TT, UM, US, VA, VN, ZA
|
214
|
+
* [Stripe](https://stripe.com/) - AT, AU, BE, CA, CH, DE, DK, ES, FI, FR, GB, IE, IT, LU, NL, NO, SE, SG, US
|
215
|
+
* [Swipe](https://www.swipehq.com/checkout) - CA, NZ
|
216
|
+
* [TNS](http://www.tnsi.com/) - AR, AU, BR, FR, DE, HK, MX, NZ, SG, GB, US
|
217
|
+
* [Transact Pro](https://www.transactpro.lv/business/online-payments-acceptance) - US
|
170
218
|
* [TransFirst](http://www.transfirst.com/) - US
|
171
219
|
* [Transnational](http://www.tnbci.com/) - US
|
172
220
|
* [TrustCommerce](http://www.trustcommerce.com/) - US
|
173
221
|
* [USA ePay](http://www.usaepay.com/) - US
|
222
|
+
* [Vanco Payment Solutions](http://vancopayments.com/) - US
|
174
223
|
* [Verifi](http://www.verifi.com/) - US
|
175
224
|
* [ViaKLIX](http://viaklix.com) - US
|
176
|
-
* [Vindica](http://www.vindicia.com/) - US, CA, UK, AU, MX, BR, DE, KR, CN, HK
|
177
225
|
* [WebPay](https://webpay.jp/) - JP
|
178
|
-
* [
|
179
|
-
* [
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
* [Chronopay](http://www.chronopay.com)
|
188
|
-
* [DirecPay](http://www.timesofmoney.com/direcpay/jsp/home.jsp)
|
189
|
-
* [Direct-eBanking / sofortueberweisung.de by Payment-Networks AG](https://www.payment-network.com/deb_com_en/merchantarea/home) - DE, AT, CH, BE, UK, NL
|
190
|
-
* [Dotpay](http://dotpay.pl)
|
191
|
-
* [Dwolla](https://www.dwolla.com/default.aspx)
|
192
|
-
* [ePay](http://www.epay.dk/epay-payment-solutions/)
|
193
|
-
* [First Data](https://firstdata.zendesk.com/entries/407522-first-data-global-gateway-e4sm-payment-pages-integration-manual)
|
194
|
-
* [HiTRUST](http://www.hitrust.com.hk/)
|
195
|
-
* [Moneybookers](http://www.moneybookers.com)
|
196
|
-
* [Nochex](http://www.nochex.com)
|
197
|
-
* [Paxum](https://www.paxum.com/)
|
198
|
-
* [PayPal Website Payments Standard](https://www.paypal.com/cgi-bin/webscr?cmd#_wp-standard-overview-outside)
|
199
|
-
* [Paysbuy](https://www.paysbuy.com/) - TH
|
200
|
-
* [Platron](https://www.platron.ru/) - RU
|
201
|
-
* [RBK Money](https://rbkmoney.ru/) - RU
|
202
|
-
* [Robokassa](http://robokassa.ru/) - RU
|
203
|
-
* [SagePay Form](http://www.sagepay.com/products_services/sage_pay_go/integration/form)
|
204
|
-
* [Suomen Maksuturva](https://www.maksuturva.fi/services/vendor_services/integration_guidelines.html)
|
205
|
-
* [Valitor](http://www.valitor.is/) - IS
|
206
|
-
* [Verkkomaksut](http://www.verkkomaksut.fi) - FI
|
207
|
-
* [WebMoney](http://www.webmoney.ru) - RU
|
208
|
-
* [WebPay](http://webpay.by/)
|
209
|
-
* [WorldPay](http://www.worldpay.com)
|
210
|
-
|
211
|
-
## Contributing
|
212
|
-
|
213
|
-
The source code is hosted at [GitHub](http://github.com/Shopify/active_merchant), and can be fetched using:
|
214
|
-
|
215
|
-
git clone git://github.com/Shopify/active_merchant.git
|
216
|
-
|
217
|
-
Please see the [ActiveMerchant Guide to Contributing](http://github.com/Shopify/active_merchant/wikis/contributing) for
|
218
|
-
information on adding a new gateway to ActiveMerchant.
|
219
|
-
|
220
|
-
Please don't touch the CHANGELOG in your pull requests, we'll add the appropriate CHANGELOG entries
|
221
|
-
at release time.
|
226
|
+
* [WePay](https://www.wepay.com/) - US
|
227
|
+
* [Wirecard](http://www.wirecard.com) - AD, CY, GI, IM, MT, RO, CH, AT, DK, GR, IT, MC, SM, TR, BE, EE, HU, LV, NL, SK, GB, BG, FI, IS, LI, NO, SI, VA, FR, IL, LT, PL, ES, CZ, DE, IE, LU, PT, SE
|
228
|
+
* [Worldpay Global](http://www.worldpay.com/) - HK, GB, AU, AD, BE, CH, CY, CZ, DE, DK, ES, FI, FR, GI, GR, HU, IE, IL, IT, LI, LU, MC, MT, NL, NO, NZ, PL, PT, SE, SG, SI, SM, TR, UM, VA
|
229
|
+
* [Worldpay Online](https://online.worldpay.com/) - HK, US, GB, AU, AD, BE, CH, CY, CZ, DE, DK, ES, FI, FR, GI, GR, HU, IE, IL, IT, LI, LU, MC, MT, NL, NO, NZ, PL, PT, SE, SG, SI, SM, TR, UM, VA
|
230
|
+
* [Worldpay US](http://www.worldpay.com/us) - US
|
231
|
+
|
232
|
+
## API stability policy
|
233
|
+
|
234
|
+
Functionality or APIs that are deprecated will be marked as such. Deprecated functionality is removed on major version changes - for example, deprecations from 2.x are removed in 3.x.
|
@@ -0,0 +1,22 @@
|
|
1
|
+
module ActiveMerchant #:nodoc:
|
2
|
+
module Billing #:nodoc:
|
3
|
+
class ApplePayPaymentToken < PaymentToken
|
4
|
+
# This is a representation of the token object specified here:
|
5
|
+
# https://developer.apple.com/library/ios/documentation/PassKit/Reference/PKPaymentToken_Ref/
|
6
|
+
# https://developer.apple.com/library/IOs//documentation/PassKit/Reference/PaymentTokenJSON/PaymentTokenJSON.html
|
7
|
+
|
8
|
+
attr_reader :payment_instrument_name, :payment_network
|
9
|
+
attr_accessor :transaction_identifier
|
10
|
+
|
11
|
+
def initialize(payment_data, options = {})
|
12
|
+
super
|
13
|
+
@payment_instrument_name = @metadata[:payment_instrument_name]
|
14
|
+
@payment_network = @metadata[:payment_network]
|
15
|
+
end
|
16
|
+
|
17
|
+
def type
|
18
|
+
'apple_pay'
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
@@ -1,24 +1,21 @@
|
|
1
1
|
module ActiveMerchant #:nodoc:
|
2
2
|
module Billing #:nodoc:
|
3
3
|
module Base
|
4
|
-
#
|
5
|
-
#
|
6
|
-
# ActiveMerchant::Billing::Base.gateway_mode = :test
|
7
|
-
mattr_accessor :gateway_mode
|
4
|
+
GATEWAY_MODE_DEPRECATION_MESSAGE = 'Base#gateway_mode is deprecated in favor of Base#mode and will be removed in a future version'
|
8
5
|
|
9
|
-
# Set ActiveMerchant
|
6
|
+
# Set ActiveMerchant gateways in test mode.
|
10
7
|
#
|
11
|
-
# ActiveMerchant::Billing::Base.
|
12
|
-
mattr_accessor :
|
13
|
-
|
14
|
-
# Set both the mode of both the gateways and integrations
|
15
|
-
# at once
|
16
|
-
mattr_reader :mode
|
8
|
+
# ActiveMerchant::Billing::Base.mode = :test
|
9
|
+
mattr_accessor :mode
|
17
10
|
|
18
|
-
def self.
|
11
|
+
def self.gateway_mode=(mode)
|
12
|
+
ActiveMerchant.deprecated(GATEWAY_MODE_DEPRECATION_MESSAGE)
|
19
13
|
@@mode = mode
|
20
|
-
|
21
|
-
|
14
|
+
end
|
15
|
+
|
16
|
+
def self.gateway_mode
|
17
|
+
ActiveMerchant.deprecated(GATEWAY_MODE_DEPRECATION_MESSAGE)
|
18
|
+
@@mode
|
22
19
|
end
|
23
20
|
|
24
21
|
self.mode = :production
|
@@ -31,8 +28,15 @@ module ActiveMerchant #:nodoc:
|
|
31
28
|
#
|
32
29
|
# ActiveMerchant::Billing::Base.gateway('moneris').new
|
33
30
|
def self.gateway(name)
|
34
|
-
|
35
|
-
|
31
|
+
name_str = name.to_s.strip.downcase
|
32
|
+
|
33
|
+
raise(ArgumentError, 'A gateway provider must be specified') if name_str.blank?
|
34
|
+
|
35
|
+
begin
|
36
|
+
Billing.const_get("#{name_str}_gateway".camelize)
|
37
|
+
rescue
|
38
|
+
raise ArgumentError, "The specified gateway is not valid (#{name_str})"
|
39
|
+
end
|
36
40
|
end
|
37
41
|
|
38
42
|
# Return the matching integration module
|
@@ -50,7 +54,7 @@ module ActiveMerchant #:nodoc:
|
|
50
54
|
|
51
55
|
# A check to see if we're in test mode
|
52
56
|
def self.test?
|
53
|
-
|
57
|
+
mode == :test
|
54
58
|
end
|
55
59
|
end
|
56
60
|
end
|