activemerchant-nsp 1.27.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +952 -0
- data/CONTRIBUTORS +347 -0
- data/MIT-LICENSE +20 -0
- data/README.md +204 -0
- data/gem-public_cert.pem +20 -0
- data/lib/active_merchant.rb +63 -0
- data/lib/active_merchant/billing.rb +9 -0
- data/lib/active_merchant/billing/avs_result.rb +98 -0
- data/lib/active_merchant/billing/base.rb +56 -0
- data/lib/active_merchant/billing/check.rb +68 -0
- data/lib/active_merchant/billing/credit_card.rb +274 -0
- data/lib/active_merchant/billing/credit_card_formatting.rb +21 -0
- data/lib/active_merchant/billing/credit_card_methods.rb +143 -0
- data/lib/active_merchant/billing/cvv_result.rb +38 -0
- data/lib/active_merchant/billing/expiry_date.rb +34 -0
- data/lib/active_merchant/billing/gateway.rb +176 -0
- data/lib/active_merchant/billing/gateways.rb +18 -0
- data/lib/active_merchant/billing/gateways/authorize_net.rb +695 -0
- data/lib/active_merchant/billing/gateways/authorize_net_cim.rb +943 -0
- data/lib/active_merchant/billing/gateways/balanced.rb +462 -0
- data/lib/active_merchant/billing/gateways/barclays_epdq.rb +308 -0
- data/lib/active_merchant/billing/gateways/beanstream.rb +167 -0
- data/lib/active_merchant/billing/gateways/beanstream/beanstream_core.rb +389 -0
- data/lib/active_merchant/billing/gateways/beanstream_interac.rb +54 -0
- data/lib/active_merchant/billing/gateways/blue_pay.rb +492 -0
- data/lib/active_merchant/billing/gateways/bogus.rb +142 -0
- data/lib/active_merchant/billing/gateways/braintree.rb +19 -0
- data/lib/active_merchant/billing/gateways/braintree/braintree_common.rb +9 -0
- data/lib/active_merchant/billing/gateways/braintree_blue.rb +389 -0
- data/lib/active_merchant/billing/gateways/braintree_orange.rb +19 -0
- data/lib/active_merchant/billing/gateways/card_save.rb +23 -0
- data/lib/active_merchant/billing/gateways/card_stream.rb +230 -0
- data/lib/active_merchant/billing/gateways/certo_direct.rb +278 -0
- data/lib/active_merchant/billing/gateways/cyber_source.rb +576 -0
- data/lib/active_merchant/billing/gateways/data_cash.rb +597 -0
- data/lib/active_merchant/billing/gateways/efsnet.rb +235 -0
- data/lib/active_merchant/billing/gateways/elavon.rb +137 -0
- data/lib/active_merchant/billing/gateways/epay.rb +276 -0
- data/lib/active_merchant/billing/gateways/eway.rb +287 -0
- data/lib/active_merchant/billing/gateways/eway_managed.rb +265 -0
- data/lib/active_merchant/billing/gateways/exact.rb +227 -0
- data/lib/active_merchant/billing/gateways/fat_zebra.rb +152 -0
- data/lib/active_merchant/billing/gateways/federated_canada.rb +168 -0
- data/lib/active_merchant/billing/gateways/first_pay.rb +177 -0
- data/lib/active_merchant/billing/gateways/garanti.rb +262 -0
- data/lib/active_merchant/billing/gateways/ideal/ideal_base.rb +252 -0
- data/lib/active_merchant/billing/gateways/ideal/ideal_rabobank.pem +13 -0
- data/lib/active_merchant/billing/gateways/ideal/ideal_response.rb +29 -0
- data/lib/active_merchant/billing/gateways/ideal_rabobank.rb +55 -0
- data/lib/active_merchant/billing/gateways/inspire.rb +221 -0
- data/lib/active_merchant/billing/gateways/instapay.rb +164 -0
- data/lib/active_merchant/billing/gateways/iridium.rb +257 -0
- data/lib/active_merchant/billing/gateways/itransact.rb +450 -0
- data/lib/active_merchant/billing/gateways/jetpay.rb +276 -0
- data/lib/active_merchant/billing/gateways/linkpoint.rb +451 -0
- data/lib/active_merchant/billing/gateways/litle.rb +290 -0
- data/lib/active_merchant/billing/gateways/merchant_e_solutions.rb +157 -0
- data/lib/active_merchant/billing/gateways/merchant_ware.rb +289 -0
- data/lib/active_merchant/billing/gateways/metrics_global.rb +323 -0
- data/lib/active_merchant/billing/gateways/migs.rb +263 -0
- data/lib/active_merchant/billing/gateways/migs/migs_codes.rb +100 -0
- data/lib/active_merchant/billing/gateways/modern_payments.rb +38 -0
- data/lib/active_merchant/billing/gateways/modern_payments_cim.rb +220 -0
- data/lib/active_merchant/billing/gateways/moneris.rb +250 -0
- data/lib/active_merchant/billing/gateways/moneris_us.rb +211 -0
- data/lib/active_merchant/billing/gateways/nab_transact.rb +257 -0
- data/lib/active_merchant/billing/gateways/net_registry.rb +189 -0
- data/lib/active_merchant/billing/gateways/netaxept.rb +239 -0
- data/lib/active_merchant/billing/gateways/netbilling.rb +196 -0
- data/lib/active_merchant/billing/gateways/nmi.rb +13 -0
- data/lib/active_merchant/billing/gateways/ogone.rb +427 -0
- data/lib/active_merchant/billing/gateways/optimal_payment.rb +277 -0
- data/lib/active_merchant/billing/gateways/orbital.rb +351 -0
- data/lib/active_merchant/billing/gateways/orbital/orbital_soft_descriptors.rb +46 -0
- data/lib/active_merchant/billing/gateways/pay_gate_xml.rb +266 -0
- data/lib/active_merchant/billing/gateways/pay_junction.rb +397 -0
- data/lib/active_merchant/billing/gateways/pay_secure.rb +120 -0
- data/lib/active_merchant/billing/gateways/paybox_direct.rb +201 -0
- data/lib/active_merchant/billing/gateways/payflow.rb +268 -0
- data/lib/active_merchant/billing/gateways/payflow/payflow_common_api.rb +212 -0
- data/lib/active_merchant/billing/gateways/payflow/payflow_express_response.rb +39 -0
- data/lib/active_merchant/billing/gateways/payflow/payflow_response.rb +13 -0
- data/lib/active_merchant/billing/gateways/payflow_express.rb +224 -0
- data/lib/active_merchant/billing/gateways/payflow_express_uk.rb +15 -0
- data/lib/active_merchant/billing/gateways/payflow_uk.rb +21 -0
- data/lib/active_merchant/billing/gateways/payment_express.rb +282 -0
- data/lib/active_merchant/billing/gateways/paypal.rb +106 -0
- data/lib/active_merchant/billing/gateways/paypal/paypal_common_api.rb +653 -0
- data/lib/active_merchant/billing/gateways/paypal/paypal_express_response.rb +49 -0
- data/lib/active_merchant/billing/gateways/paypal/paypal_recurring_api.rb +245 -0
- data/lib/active_merchant/billing/gateways/paypal_ca.rb +13 -0
- data/lib/active_merchant/billing/gateways/paypal_digital_goods.rb +43 -0
- data/lib/active_merchant/billing/gateways/paypal_express.rb +178 -0
- data/lib/active_merchant/billing/gateways/paypal_express_common.rb +30 -0
- data/lib/active_merchant/billing/gateways/paystation.rb +201 -0
- data/lib/active_merchant/billing/gateways/payway.rb +214 -0
- data/lib/active_merchant/billing/gateways/plugnpay.rb +295 -0
- data/lib/active_merchant/billing/gateways/psigate.rb +219 -0
- data/lib/active_merchant/billing/gateways/psl_card.rb +304 -0
- data/lib/active_merchant/billing/gateways/qbms.rb +297 -0
- data/lib/active_merchant/billing/gateways/quantum.rb +282 -0
- data/lib/active_merchant/billing/gateways/quickpay.rb +298 -0
- data/lib/active_merchant/billing/gateways/realex.rb +313 -0
- data/lib/active_merchant/billing/gateways/sage.rb +148 -0
- data/lib/active_merchant/billing/gateways/sage/sage_bankcard.rb +88 -0
- data/lib/active_merchant/billing/gateways/sage/sage_core.rb +115 -0
- data/lib/active_merchant/billing/gateways/sage/sage_virtual_check.rb +97 -0
- data/lib/active_merchant/billing/gateways/sage_pay.rb +322 -0
- data/lib/active_merchant/billing/gateways/sallie_mae.rb +144 -0
- data/lib/active_merchant/billing/gateways/samurai.rb +121 -0
- data/lib/active_merchant/billing/gateways/secure_net.rb +330 -0
- data/lib/active_merchant/billing/gateways/secure_pay.rb +31 -0
- data/lib/active_merchant/billing/gateways/secure_pay_au.rb +284 -0
- data/lib/active_merchant/billing/gateways/secure_pay_tech.rb +113 -0
- data/lib/active_merchant/billing/gateways/skip_jack.rb +458 -0
- data/lib/active_merchant/billing/gateways/smart_ps.rb +273 -0
- data/lib/active_merchant/billing/gateways/stripe.rb +236 -0
- data/lib/active_merchant/billing/gateways/trans_first.rb +127 -0
- data/lib/active_merchant/billing/gateways/transax.rb +23 -0
- data/lib/active_merchant/billing/gateways/trust_commerce.rb +423 -0
- data/lib/active_merchant/billing/gateways/usa_epay.rb +25 -0
- data/lib/active_merchant/billing/gateways/usa_epay_advanced.rb +1497 -0
- data/lib/active_merchant/billing/gateways/usa_epay_transaction.rb +206 -0
- data/lib/active_merchant/billing/gateways/verifi.rb +233 -0
- data/lib/active_merchant/billing/gateways/viaklix.rb +194 -0
- data/lib/active_merchant/billing/gateways/vindicia.rb +359 -0
- data/lib/active_merchant/billing/gateways/wirecard.rb +313 -0
- data/lib/active_merchant/billing/gateways/worldpay.rb +271 -0
- data/lib/active_merchant/billing/integrations.rb +17 -0
- data/lib/active_merchant/billing/integrations/action_view_helper.rb +73 -0
- data/lib/active_merchant/billing/integrations/authorize_net_sim.rb +38 -0
- data/lib/active_merchant/billing/integrations/authorize_net_sim/helper.rb +228 -0
- data/lib/active_merchant/billing/integrations/authorize_net_sim/notification.rb +340 -0
- data/lib/active_merchant/billing/integrations/bogus.rb +23 -0
- data/lib/active_merchant/billing/integrations/bogus/helper.rb +17 -0
- data/lib/active_merchant/billing/integrations/bogus/notification.rb +11 -0
- data/lib/active_merchant/billing/integrations/bogus/return.rb +10 -0
- data/lib/active_merchant/billing/integrations/chronopay.rb +23 -0
- data/lib/active_merchant/billing/integrations/chronopay/helper.rb +120 -0
- data/lib/active_merchant/billing/integrations/chronopay/notification.rb +158 -0
- data/lib/active_merchant/billing/integrations/chronopay/return.rb +10 -0
- data/lib/active_merchant/billing/integrations/direc_pay.rb +41 -0
- data/lib/active_merchant/billing/integrations/direc_pay/helper.rb +200 -0
- data/lib/active_merchant/billing/integrations/direc_pay/notification.rb +76 -0
- data/lib/active_merchant/billing/integrations/direc_pay/return.rb +32 -0
- data/lib/active_merchant/billing/integrations/direc_pay/status.rb +37 -0
- data/lib/active_merchant/billing/integrations/directebanking.rb +47 -0
- data/lib/active_merchant/billing/integrations/directebanking/helper.rb +90 -0
- data/lib/active_merchant/billing/integrations/directebanking/notification.rb +120 -0
- data/lib/active_merchant/billing/integrations/directebanking/return.rb +11 -0
- data/lib/active_merchant/billing/integrations/dotpay.rb +22 -0
- data/lib/active_merchant/billing/integrations/dotpay/helper.rb +77 -0
- data/lib/active_merchant/billing/integrations/dotpay/notification.rb +86 -0
- data/lib/active_merchant/billing/integrations/dotpay/return.rb +11 -0
- data/lib/active_merchant/billing/integrations/dwolla.rb +30 -0
- data/lib/active_merchant/billing/integrations/dwolla/helper.rb +31 -0
- data/lib/active_merchant/billing/integrations/dwolla/notification.rb +55 -0
- data/lib/active_merchant/billing/integrations/dwolla/return.rb +38 -0
- data/lib/active_merchant/billing/integrations/e_payment_plans.rb +48 -0
- data/lib/active_merchant/billing/integrations/e_payment_plans/helper.rb +34 -0
- data/lib/active_merchant/billing/integrations/e_payment_plans/notification.rb +84 -0
- data/lib/active_merchant/billing/integrations/easy_pay.rb +30 -0
- data/lib/active_merchant/billing/integrations/easy_pay/common.rb +40 -0
- data/lib/active_merchant/billing/integrations/easy_pay/helper.rb +40 -0
- data/lib/active_merchant/billing/integrations/easy_pay/notification.rb +51 -0
- data/lib/active_merchant/billing/integrations/epay.rb +21 -0
- data/lib/active_merchant/billing/integrations/epay/helper.rb +55 -0
- data/lib/active_merchant/billing/integrations/epay/notification.rb +110 -0
- data/lib/active_merchant/billing/integrations/first_data.rb +38 -0
- data/lib/active_merchant/billing/integrations/first_data/helper.rb +63 -0
- data/lib/active_merchant/billing/integrations/first_data/notification.rb +56 -0
- data/lib/active_merchant/billing/integrations/gestpay.rb +25 -0
- data/lib/active_merchant/billing/integrations/gestpay/common.rb +42 -0
- data/lib/active_merchant/billing/integrations/gestpay/helper.rb +70 -0
- data/lib/active_merchant/billing/integrations/gestpay/notification.rb +85 -0
- data/lib/active_merchant/billing/integrations/gestpay/return.rb +10 -0
- data/lib/active_merchant/billing/integrations/helper.rb +117 -0
- data/lib/active_merchant/billing/integrations/hi_trust.rb +27 -0
- data/lib/active_merchant/billing/integrations/hi_trust/helper.rb +58 -0
- data/lib/active_merchant/billing/integrations/hi_trust/notification.rb +59 -0
- data/lib/active_merchant/billing/integrations/hi_trust/return.rb +67 -0
- data/lib/active_merchant/billing/integrations/maksuturva.rb +86 -0
- data/lib/active_merchant/billing/integrations/maksuturva/helper.rb +119 -0
- data/lib/active_merchant/billing/integrations/maksuturva/notification.rb +48 -0
- data/lib/active_merchant/billing/integrations/moneybookers.rb +26 -0
- data/lib/active_merchant/billing/integrations/moneybookers/helper.rb +59 -0
- data/lib/active_merchant/billing/integrations/moneybookers/notification.rb +129 -0
- data/lib/active_merchant/billing/integrations/nelnet.rb +40 -0
- data/lib/active_merchant/billing/integrations/nelnet/helper.rb +34 -0
- data/lib/active_merchant/billing/integrations/nelnet/notification.rb +100 -0
- data/lib/active_merchant/billing/integrations/nochex.rb +88 -0
- data/lib/active_merchant/billing/integrations/nochex/helper.rb +68 -0
- data/lib/active_merchant/billing/integrations/nochex/notification.rb +94 -0
- data/lib/active_merchant/billing/integrations/nochex/return.rb +10 -0
- data/lib/active_merchant/billing/integrations/notification.rb +62 -0
- data/lib/active_merchant/billing/integrations/paxum.rb +44 -0
- data/lib/active_merchant/billing/integrations/paxum/common.rb +24 -0
- data/lib/active_merchant/billing/integrations/paxum/helper.rb +42 -0
- data/lib/active_merchant/billing/integrations/paxum/notification.rb +33 -0
- data/lib/active_merchant/billing/integrations/payflow_link.rb +21 -0
- data/lib/active_merchant/billing/integrations/payflow_link/helper.rb +100 -0
- data/lib/active_merchant/billing/integrations/payflow_link/notification.rb +78 -0
- data/lib/active_merchant/billing/integrations/paypal.rb +39 -0
- data/lib/active_merchant/billing/integrations/paypal/helper.rb +119 -0
- data/lib/active_merchant/billing/integrations/paypal/notification.rb +155 -0
- data/lib/active_merchant/billing/integrations/paypal/return.rb +10 -0
- data/lib/active_merchant/billing/integrations/paypal_payments_advanced.rb +20 -0
- data/lib/active_merchant/billing/integrations/paypal_payments_advanced/helper.rb +15 -0
- data/lib/active_merchant/billing/integrations/pxpay.rb +31 -0
- data/lib/active_merchant/billing/integrations/pxpay/helper.rb +110 -0
- data/lib/active_merchant/billing/integrations/pxpay/notification.rb +157 -0
- data/lib/active_merchant/billing/integrations/pxpay/return.rb +25 -0
- data/lib/active_merchant/billing/integrations/quickpay.rb +21 -0
- data/lib/active_merchant/billing/integrations/quickpay/helper.rb +71 -0
- data/lib/active_merchant/billing/integrations/quickpay/notification.rb +74 -0
- data/lib/active_merchant/billing/integrations/return.rb +42 -0
- data/lib/active_merchant/billing/integrations/robokassa.rb +49 -0
- data/lib/active_merchant/billing/integrations/robokassa/common.rb +19 -0
- data/lib/active_merchant/billing/integrations/robokassa/helper.rb +50 -0
- data/lib/active_merchant/billing/integrations/robokassa/notification.rb +55 -0
- data/lib/active_merchant/billing/integrations/robokassa/return.rb +17 -0
- data/lib/active_merchant/billing/integrations/sage_pay_form.rb +37 -0
- data/lib/active_merchant/billing/integrations/sage_pay_form/encryption.rb +33 -0
- data/lib/active_merchant/billing/integrations/sage_pay_form/helper.rb +129 -0
- data/lib/active_merchant/billing/integrations/sage_pay_form/notification.rb +210 -0
- data/lib/active_merchant/billing/integrations/sage_pay_form/return.rb +31 -0
- data/lib/active_merchant/billing/integrations/two_checkout.rb +44 -0
- data/lib/active_merchant/billing/integrations/two_checkout/helper.rb +91 -0
- data/lib/active_merchant/billing/integrations/two_checkout/notification.rb +139 -0
- data/lib/active_merchant/billing/integrations/two_checkout/return.rb +17 -0
- data/lib/active_merchant/billing/integrations/valitor.rb +33 -0
- data/lib/active_merchant/billing/integrations/valitor/helper.rb +86 -0
- data/lib/active_merchant/billing/integrations/valitor/notification.rb +13 -0
- data/lib/active_merchant/billing/integrations/valitor/response_fields.rb +97 -0
- data/lib/active_merchant/billing/integrations/valitor/return.rb +13 -0
- data/lib/active_merchant/billing/integrations/verkkomaksut.rb +20 -0
- data/lib/active_merchant/billing/integrations/verkkomaksut/helper.rb +87 -0
- data/lib/active_merchant/billing/integrations/verkkomaksut/notification.rb +59 -0
- data/lib/active_merchant/billing/integrations/web_pay.rb +45 -0
- data/lib/active_merchant/billing/integrations/web_pay/common.rb +50 -0
- data/lib/active_merchant/billing/integrations/web_pay/helper.rb +68 -0
- data/lib/active_merchant/billing/integrations/web_pay/notification.rb +51 -0
- data/lib/active_merchant/billing/integrations/world_pay.rb +27 -0
- data/lib/active_merchant/billing/integrations/world_pay/helper.rb +100 -0
- data/lib/active_merchant/billing/integrations/world_pay/notification.rb +160 -0
- data/lib/active_merchant/billing/response.rb +64 -0
- data/lib/active_merchant/version.rb +3 -0
- data/lib/activemerchant.rb +1 -0
- data/lib/support/gateway_support.rb +65 -0
- data/lib/support/outbound_hosts.rb +25 -0
- data/lib/support/ssl_verify.rb +93 -0
- metadata +482 -0
@@ -0,0 +1,160 @@
|
|
1
|
+
module ActiveMerchant #:nodoc:
|
2
|
+
module Billing #:nodoc:
|
3
|
+
module Integrations #:nodoc:
|
4
|
+
module WorldPay
|
5
|
+
class Notification < ActiveMerchant::Billing::Integrations::Notification
|
6
|
+
def complete?
|
7
|
+
status == 'Completed'
|
8
|
+
end
|
9
|
+
|
10
|
+
def account
|
11
|
+
params['instId']
|
12
|
+
end
|
13
|
+
|
14
|
+
def item_id
|
15
|
+
params['cartId']
|
16
|
+
end
|
17
|
+
|
18
|
+
def transaction_id
|
19
|
+
params['transId']
|
20
|
+
end
|
21
|
+
|
22
|
+
# Time this payment was received by the client in UTC time.
|
23
|
+
def received_at
|
24
|
+
Time.at(params['transTime'].to_i / 1000).utc
|
25
|
+
end
|
26
|
+
|
27
|
+
# Callback password set in the WorldPay CMS
|
28
|
+
def security_key
|
29
|
+
params['callbackPW']
|
30
|
+
end
|
31
|
+
|
32
|
+
# the money amount we received in X.2 decimal.
|
33
|
+
def gross
|
34
|
+
params['authAmount']
|
35
|
+
end
|
36
|
+
|
37
|
+
def currency
|
38
|
+
params['authCurrency']
|
39
|
+
end
|
40
|
+
|
41
|
+
# Was this a test transaction?
|
42
|
+
def test?
|
43
|
+
params.key?('testMode') && params['testMode'] != '0'
|
44
|
+
end
|
45
|
+
|
46
|
+
def status
|
47
|
+
params['transStatus'] == 'Y' ? 'Completed' : 'Cancelled'
|
48
|
+
end
|
49
|
+
|
50
|
+
def name
|
51
|
+
params['name']
|
52
|
+
end
|
53
|
+
|
54
|
+
def address
|
55
|
+
params['address']
|
56
|
+
end
|
57
|
+
|
58
|
+
def postcode
|
59
|
+
params['postcode']
|
60
|
+
end
|
61
|
+
|
62
|
+
def country
|
63
|
+
params['country']
|
64
|
+
end
|
65
|
+
|
66
|
+
def phone_number
|
67
|
+
params['tel']
|
68
|
+
end
|
69
|
+
|
70
|
+
def fax_number
|
71
|
+
params['fax']
|
72
|
+
end
|
73
|
+
|
74
|
+
def email_address
|
75
|
+
params['email']
|
76
|
+
end
|
77
|
+
|
78
|
+
def card_type
|
79
|
+
params['cardType']
|
80
|
+
end
|
81
|
+
|
82
|
+
# WorldPay extended fraud checks returned as a 4 character string
|
83
|
+
# 1st char: Credit card CVV check
|
84
|
+
# 2nd char: Postcode AVS check
|
85
|
+
# 3rd char: Address AVS check
|
86
|
+
# 4th char: Country comparison check
|
87
|
+
# Possible values are:
|
88
|
+
# :not_supported - 0
|
89
|
+
# :not_checked - 1
|
90
|
+
# :matched - 2
|
91
|
+
# :not_matched - 4
|
92
|
+
# :partial_match - 8
|
93
|
+
def cvv_status
|
94
|
+
return avs_value_to_symbol(params['AVS'][0].chr)
|
95
|
+
end
|
96
|
+
|
97
|
+
def postcode_status
|
98
|
+
return avs_value_to_symbol(params['AVS'][1].chr)
|
99
|
+
end
|
100
|
+
|
101
|
+
def address_status
|
102
|
+
return avs_value_to_symbol(params['AVS'][2].chr)
|
103
|
+
end
|
104
|
+
|
105
|
+
def country_status
|
106
|
+
return avs_value_to_symbol(params['AVS'][3].chr)
|
107
|
+
end
|
108
|
+
|
109
|
+
def acknowledge
|
110
|
+
return true
|
111
|
+
end
|
112
|
+
|
113
|
+
# WorldPay supports the passing of custom parameters through to the callback script
|
114
|
+
def custom_params
|
115
|
+
return @custom_params ||= read_custom_params
|
116
|
+
end
|
117
|
+
|
118
|
+
|
119
|
+
private
|
120
|
+
|
121
|
+
# Take the posted data and move the relevant data into a hash
|
122
|
+
def parse(post)
|
123
|
+
@raw = post
|
124
|
+
for line in post.split('&')
|
125
|
+
key, value = *line.scan( %r{^(\w+)\=(.*)$} ).flatten
|
126
|
+
params[key] = value
|
127
|
+
end
|
128
|
+
end
|
129
|
+
|
130
|
+
# Read the custom params into a hash
|
131
|
+
def read_custom_params
|
132
|
+
custom = {}
|
133
|
+
params.each do |key, value|
|
134
|
+
if /\A(M_|MC_|CM_)/ === key
|
135
|
+
custom[key.gsub(/\A(M_|MC_|CM_)/, '').to_sym] = value
|
136
|
+
end
|
137
|
+
end
|
138
|
+
custom
|
139
|
+
end
|
140
|
+
|
141
|
+
# Convert a AVS value to a symbol - see above for more about AVS
|
142
|
+
def avs_value_to_symbol(value)
|
143
|
+
case value.to_s
|
144
|
+
when '8'
|
145
|
+
:partial_match
|
146
|
+
when '4'
|
147
|
+
:no_match
|
148
|
+
when '2'
|
149
|
+
:matched
|
150
|
+
when '1'
|
151
|
+
:not_checked
|
152
|
+
else
|
153
|
+
:not_supported
|
154
|
+
end
|
155
|
+
end
|
156
|
+
end
|
157
|
+
end
|
158
|
+
end
|
159
|
+
end
|
160
|
+
end
|
@@ -0,0 +1,64 @@
|
|
1
|
+
module ActiveMerchant #:nodoc:
|
2
|
+
module Billing #:nodoc:
|
3
|
+
|
4
|
+
class Error < ActiveMerchantError #:nodoc:
|
5
|
+
end
|
6
|
+
|
7
|
+
class Response
|
8
|
+
attr_reader :params, :message, :test, :authorization, :avs_result, :cvv_result
|
9
|
+
|
10
|
+
def success?
|
11
|
+
@success
|
12
|
+
end
|
13
|
+
|
14
|
+
def test?
|
15
|
+
@test
|
16
|
+
end
|
17
|
+
|
18
|
+
def fraud_review?
|
19
|
+
@fraud_review
|
20
|
+
end
|
21
|
+
|
22
|
+
def initialize(success, message, params = {}, options = {})
|
23
|
+
@success, @message, @params = success, message, params.stringify_keys
|
24
|
+
@test = options[:test] || false
|
25
|
+
@authorization = options[:authorization]
|
26
|
+
@fraud_review = options[:fraud_review]
|
27
|
+
@avs_result = AVSResult.new(options[:avs_result]).to_hash
|
28
|
+
@cvv_result = CVVResult.new(options[:cvv_result]).to_hash
|
29
|
+
end
|
30
|
+
end
|
31
|
+
|
32
|
+
class MultiResponse < Response
|
33
|
+
attr_reader :responses
|
34
|
+
|
35
|
+
def initialize
|
36
|
+
@responses = []
|
37
|
+
end
|
38
|
+
|
39
|
+
def process
|
40
|
+
self << yield if(responses.empty? || success?)
|
41
|
+
end
|
42
|
+
|
43
|
+
def <<(response)
|
44
|
+
if response.is_a?(MultiResponse)
|
45
|
+
response.responses.each{|r| @responses << r}
|
46
|
+
else
|
47
|
+
@responses << response
|
48
|
+
end
|
49
|
+
end
|
50
|
+
|
51
|
+
def success?
|
52
|
+
@responses.all?{|r| r.success?}
|
53
|
+
end
|
54
|
+
|
55
|
+
%w(params message test authorization avs_result cvv_result test? fraud_review?).each do |m|
|
56
|
+
class_eval %(
|
57
|
+
def #{m}
|
58
|
+
@responses.last.#{m}
|
59
|
+
end
|
60
|
+
)
|
61
|
+
end
|
62
|
+
end
|
63
|
+
end
|
64
|
+
end
|
@@ -0,0 +1 @@
|
|
1
|
+
require 'active_merchant'
|
@@ -0,0 +1,65 @@
|
|
1
|
+
require 'rubygems'
|
2
|
+
require 'active_support'
|
3
|
+
require 'active_merchant'
|
4
|
+
|
5
|
+
|
6
|
+
class GatewaySupport #:nodoc:
|
7
|
+
ACTIONS = [:purchase, :authorize, :capture, :void, :credit, :recurring]
|
8
|
+
|
9
|
+
include ActiveMerchant::Billing
|
10
|
+
|
11
|
+
attr_reader :gateways
|
12
|
+
|
13
|
+
def initialize
|
14
|
+
Dir[File.expand_path(File.dirname(__FILE__) + '/../active_merchant/billing/gateways/*.rb')].each do |f|
|
15
|
+
filename = File.basename(f, '.rb')
|
16
|
+
gateway_name = filename + '_gateway'
|
17
|
+
begin
|
18
|
+
gateway_class = ('ActiveMerchant::Billing::' + gateway_name.camelize).constantize
|
19
|
+
rescue NameError
|
20
|
+
puts "Could not load gateway " + gateway_name.camelize + " from " + f + "."
|
21
|
+
end
|
22
|
+
end
|
23
|
+
@gateways = Gateway.implementations.sort_by(&:name)
|
24
|
+
@gateways.delete(ActiveMerchant::Billing::BogusGateway)
|
25
|
+
end
|
26
|
+
|
27
|
+
def each_gateway
|
28
|
+
@gateways.each{|g| yield g }
|
29
|
+
end
|
30
|
+
|
31
|
+
def features
|
32
|
+
width = 15
|
33
|
+
|
34
|
+
print "Name".center(width + 20)
|
35
|
+
ACTIONS.each{|f| print "#{f.to_s.capitalize.center(width)}" }
|
36
|
+
puts
|
37
|
+
|
38
|
+
each_gateway do |g|
|
39
|
+
print "#{g.display_name.ljust(width + 20)}"
|
40
|
+
ACTIONS.each do |f|
|
41
|
+
print "#{(g.instance_methods.include?(f.to_s) ? "Y" : "N").center(width)}"
|
42
|
+
end
|
43
|
+
puts
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
def to_rdoc
|
48
|
+
each_gateway do |g|
|
49
|
+
puts "* {#{g.display_name}}[#{g.homepage_url}] - #{g.supported_countries.join(', ')}"
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
def to_textile
|
54
|
+
each_gateway do |g|
|
55
|
+
puts %/ * "#{g.display_name}":#{g.homepage_url} [#{g.supported_countries.join(', ')}]/
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
def to_s
|
60
|
+
each_gateway do |g|
|
61
|
+
puts "#{g.display_name} - #{g.homepage_url} [#{g.supported_countries.join(', ')}]"
|
62
|
+
end
|
63
|
+
end
|
64
|
+
end
|
65
|
+
|
@@ -0,0 +1,25 @@
|
|
1
|
+
require 'uri'
|
2
|
+
require 'set'
|
3
|
+
|
4
|
+
class OutboundHosts
|
5
|
+
def self.list
|
6
|
+
uris = Set.new
|
7
|
+
|
8
|
+
Dir['lib/**/*.rb'].each do |file|
|
9
|
+
content = File.read(file)
|
10
|
+
|
11
|
+
content.each_line do |line|
|
12
|
+
next if line =~ /homepage_url/
|
13
|
+
|
14
|
+
if line =~ /("|')(https:\/\/.*)("|')/
|
15
|
+
uri = URI.parse($2)
|
16
|
+
uris << [uri.host, uri.port]
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
21
|
+
uris.each do |uri|
|
22
|
+
puts "#{uri.first} #{uri.last}"
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
@@ -0,0 +1,93 @@
|
|
1
|
+
require 'active_merchant'
|
2
|
+
require 'support/gateway_support'
|
3
|
+
|
4
|
+
class SSLVerify
|
5
|
+
|
6
|
+
def initialize
|
7
|
+
@gateways = GatewaySupport.new.gateways
|
8
|
+
end
|
9
|
+
|
10
|
+
def test_gateways
|
11
|
+
success, failed, missing, errored, disabled = [], [], [], [], []
|
12
|
+
|
13
|
+
puts "Verifying #{@gateways.count} SSL certificates\n\n"
|
14
|
+
|
15
|
+
@gateways.each do |g|
|
16
|
+
if !g.live_url
|
17
|
+
missing << g unless g.abstract_class
|
18
|
+
next
|
19
|
+
end
|
20
|
+
|
21
|
+
if !g.ssl_strict
|
22
|
+
disabled << g
|
23
|
+
end
|
24
|
+
|
25
|
+
uri = URI.parse(g.live_url)
|
26
|
+
result,message = ssl_verify_peer?(uri)
|
27
|
+
case result
|
28
|
+
when :success
|
29
|
+
print "."
|
30
|
+
success << g
|
31
|
+
when :fail
|
32
|
+
print "F"
|
33
|
+
failed << {:gateway => g, :message => message}
|
34
|
+
when :error
|
35
|
+
print "E"
|
36
|
+
errored << {:gateway => g, :message => message}
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
40
|
+
puts "\n\n\nFailed Gateways:"
|
41
|
+
failed.each do |f|
|
42
|
+
puts "#{f[:gateway].name} - #{f[:message]}"
|
43
|
+
end
|
44
|
+
|
45
|
+
puts "\n\nError Gateways:"
|
46
|
+
errored.each do |e|
|
47
|
+
puts "#{e[:gateway].name} - #{e[:message]}"
|
48
|
+
end
|
49
|
+
|
50
|
+
if missing.size > 0
|
51
|
+
puts "\n\nGateways missing live_url:"
|
52
|
+
missing.each do |m|
|
53
|
+
puts m.name
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
57
|
+
if disabled.size > 0
|
58
|
+
puts "\n\nGateways with ssl_strict=false:"
|
59
|
+
disabled.each do |d|
|
60
|
+
puts d.name
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
64
|
+
end
|
65
|
+
|
66
|
+
def try_host(http, path)
|
67
|
+
http.get(path)
|
68
|
+
rescue Net::HTTPBadResponse, EOFError, SocketError
|
69
|
+
http.post(path, "")
|
70
|
+
end
|
71
|
+
|
72
|
+
def ssl_verify_peer?(uri)
|
73
|
+
http = Net::HTTP.new(uri.host, uri.port)
|
74
|
+
http.use_ssl = true
|
75
|
+
http.ca_file = File.dirname(__FILE__) + '/certs/cacert.pem'
|
76
|
+
http.verify_mode = OpenSSL::SSL::VERIFY_PEER
|
77
|
+
http.open_timeout = 60
|
78
|
+
http.read_timeout = 60
|
79
|
+
|
80
|
+
if uri.path.blank?
|
81
|
+
try_host(http, "/")
|
82
|
+
else
|
83
|
+
try_host(http, uri.path)
|
84
|
+
end
|
85
|
+
|
86
|
+
return :success
|
87
|
+
rescue OpenSSL::SSL::SSLError => ex
|
88
|
+
return :fail, ex.inspect
|
89
|
+
rescue Net::HTTPBadResponse, Errno::ETIMEDOUT, EOFError, SocketError, Errno::ECONNREFUSED, Timeout::Error => ex
|
90
|
+
return :error, ex.inspect
|
91
|
+
end
|
92
|
+
|
93
|
+
end
|
metadata
ADDED
@@ -0,0 +1,482 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: activemerchant-nsp
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.27.0
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Tobias Luetke
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain:
|
12
|
+
- gem-public_cert.pem
|
13
|
+
date: 2012-08-29 00:00:00.000000000 Z
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: activesupport
|
17
|
+
requirement: !ruby/object:Gem::Requirement
|
18
|
+
none: false
|
19
|
+
requirements:
|
20
|
+
- - ! '>='
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 2.3.11
|
23
|
+
type: :runtime
|
24
|
+
prerelease: false
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
26
|
+
none: false
|
27
|
+
requirements:
|
28
|
+
- - ! '>='
|
29
|
+
- !ruby/object:Gem::Version
|
30
|
+
version: 2.3.11
|
31
|
+
- !ruby/object:Gem::Dependency
|
32
|
+
name: i18n
|
33
|
+
requirement: !ruby/object:Gem::Requirement
|
34
|
+
none: false
|
35
|
+
requirements:
|
36
|
+
- - ! '>='
|
37
|
+
- !ruby/object:Gem::Version
|
38
|
+
version: '0'
|
39
|
+
type: :runtime
|
40
|
+
prerelease: false
|
41
|
+
version_requirements: !ruby/object:Gem::Requirement
|
42
|
+
none: false
|
43
|
+
requirements:
|
44
|
+
- - ! '>='
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: '0'
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: money
|
49
|
+
requirement: !ruby/object:Gem::Requirement
|
50
|
+
none: false
|
51
|
+
requirements:
|
52
|
+
- - ! '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
type: :runtime
|
56
|
+
prerelease: false
|
57
|
+
version_requirements: !ruby/object:Gem::Requirement
|
58
|
+
none: false
|
59
|
+
requirements:
|
60
|
+
- - ! '>='
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: '0'
|
63
|
+
- !ruby/object:Gem::Dependency
|
64
|
+
name: builder
|
65
|
+
requirement: !ruby/object:Gem::Requirement
|
66
|
+
none: false
|
67
|
+
requirements:
|
68
|
+
- - ! '>='
|
69
|
+
- !ruby/object:Gem::Version
|
70
|
+
version: 2.0.0
|
71
|
+
type: :runtime
|
72
|
+
prerelease: false
|
73
|
+
version_requirements: !ruby/object:Gem::Requirement
|
74
|
+
none: false
|
75
|
+
requirements:
|
76
|
+
- - ! '>='
|
77
|
+
- !ruby/object:Gem::Version
|
78
|
+
version: 2.0.0
|
79
|
+
- !ruby/object:Gem::Dependency
|
80
|
+
name: json
|
81
|
+
requirement: !ruby/object:Gem::Requirement
|
82
|
+
none: false
|
83
|
+
requirements:
|
84
|
+
- - ! '>='
|
85
|
+
- !ruby/object:Gem::Version
|
86
|
+
version: 1.5.1
|
87
|
+
type: :runtime
|
88
|
+
prerelease: false
|
89
|
+
version_requirements: !ruby/object:Gem::Requirement
|
90
|
+
none: false
|
91
|
+
requirements:
|
92
|
+
- - ! '>='
|
93
|
+
- !ruby/object:Gem::Version
|
94
|
+
version: 1.5.1
|
95
|
+
- !ruby/object:Gem::Dependency
|
96
|
+
name: active_utils
|
97
|
+
requirement: !ruby/object:Gem::Requirement
|
98
|
+
none: false
|
99
|
+
requirements:
|
100
|
+
- - ! '>='
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
version: 1.0.2
|
103
|
+
type: :runtime
|
104
|
+
prerelease: false
|
105
|
+
version_requirements: !ruby/object:Gem::Requirement
|
106
|
+
none: false
|
107
|
+
requirements:
|
108
|
+
- - ! '>='
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: 1.0.2
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: nokogiri
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
none: false
|
115
|
+
requirements:
|
116
|
+
- - ! '>='
|
117
|
+
- !ruby/object:Gem::Version
|
118
|
+
version: '0'
|
119
|
+
type: :runtime
|
120
|
+
prerelease: false
|
121
|
+
version_requirements: !ruby/object:Gem::Requirement
|
122
|
+
none: false
|
123
|
+
requirements:
|
124
|
+
- - ! '>='
|
125
|
+
- !ruby/object:Gem::Version
|
126
|
+
version: '0'
|
127
|
+
- !ruby/object:Gem::Dependency
|
128
|
+
name: rake
|
129
|
+
requirement: !ruby/object:Gem::Requirement
|
130
|
+
none: false
|
131
|
+
requirements:
|
132
|
+
- - ! '>='
|
133
|
+
- !ruby/object:Gem::Version
|
134
|
+
version: '0'
|
135
|
+
type: :development
|
136
|
+
prerelease: false
|
137
|
+
version_requirements: !ruby/object:Gem::Requirement
|
138
|
+
none: false
|
139
|
+
requirements:
|
140
|
+
- - ! '>='
|
141
|
+
- !ruby/object:Gem::Version
|
142
|
+
version: '0'
|
143
|
+
- !ruby/object:Gem::Dependency
|
144
|
+
name: mocha
|
145
|
+
requirement: !ruby/object:Gem::Requirement
|
146
|
+
none: false
|
147
|
+
requirements:
|
148
|
+
- - ~>
|
149
|
+
- !ruby/object:Gem::Version
|
150
|
+
version: 0.11.3
|
151
|
+
type: :development
|
152
|
+
prerelease: false
|
153
|
+
version_requirements: !ruby/object:Gem::Requirement
|
154
|
+
none: false
|
155
|
+
requirements:
|
156
|
+
- - ~>
|
157
|
+
- !ruby/object:Gem::Version
|
158
|
+
version: 0.11.3
|
159
|
+
- !ruby/object:Gem::Dependency
|
160
|
+
name: rails
|
161
|
+
requirement: !ruby/object:Gem::Requirement
|
162
|
+
none: false
|
163
|
+
requirements:
|
164
|
+
- - ! '>='
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: 2.3.11
|
167
|
+
type: :development
|
168
|
+
prerelease: false
|
169
|
+
version_requirements: !ruby/object:Gem::Requirement
|
170
|
+
none: false
|
171
|
+
requirements:
|
172
|
+
- - ! '>='
|
173
|
+
- !ruby/object:Gem::Version
|
174
|
+
version: 2.3.11
|
175
|
+
- !ruby/object:Gem::Dependency
|
176
|
+
name: rubigen
|
177
|
+
requirement: !ruby/object:Gem::Requirement
|
178
|
+
none: false
|
179
|
+
requirements:
|
180
|
+
- - ! '>='
|
181
|
+
- !ruby/object:Gem::Version
|
182
|
+
version: '0'
|
183
|
+
type: :development
|
184
|
+
prerelease: false
|
185
|
+
version_requirements: !ruby/object:Gem::Requirement
|
186
|
+
none: false
|
187
|
+
requirements:
|
188
|
+
- - ! '>='
|
189
|
+
- !ruby/object:Gem::Version
|
190
|
+
version: '0'
|
191
|
+
description: Active Merchant is a simple payment abstraction library used in and sponsored
|
192
|
+
by Shopify. It is written by Tobias Luetke, Cody Fauser, and contributors. The aim
|
193
|
+
of the project is to feel natural to Ruby users and to abstract as many parts as
|
194
|
+
possible away from the user to offer a consistent interface across all supported
|
195
|
+
gateways.
|
196
|
+
email: tobi@leetsoft.com
|
197
|
+
executables: []
|
198
|
+
extensions: []
|
199
|
+
extra_rdoc_files: []
|
200
|
+
files:
|
201
|
+
- CHANGELOG
|
202
|
+
- README.md
|
203
|
+
- MIT-LICENSE
|
204
|
+
- CONTRIBUTORS
|
205
|
+
- gem-public_cert.pem
|
206
|
+
- lib/active_merchant/version.rb
|
207
|
+
- lib/active_merchant/billing/integrations/easy_pay.rb
|
208
|
+
- lib/active_merchant/billing/integrations/authorize_net_sim.rb
|
209
|
+
- lib/active_merchant/billing/integrations/moneybookers.rb
|
210
|
+
- lib/active_merchant/billing/integrations/easy_pay/notification.rb
|
211
|
+
- lib/active_merchant/billing/integrations/easy_pay/helper.rb
|
212
|
+
- lib/active_merchant/billing/integrations/easy_pay/common.rb
|
213
|
+
- lib/active_merchant/billing/integrations/dwolla.rb
|
214
|
+
- lib/active_merchant/billing/integrations/return.rb
|
215
|
+
- lib/active_merchant/billing/integrations/bogus.rb
|
216
|
+
- lib/active_merchant/billing/integrations/directebanking/return.rb
|
217
|
+
- lib/active_merchant/billing/integrations/directebanking/notification.rb
|
218
|
+
- lib/active_merchant/billing/integrations/directebanking/helper.rb
|
219
|
+
- lib/active_merchant/billing/integrations/web_pay/notification.rb
|
220
|
+
- lib/active_merchant/billing/integrations/web_pay/helper.rb
|
221
|
+
- lib/active_merchant/billing/integrations/web_pay/common.rb
|
222
|
+
- lib/active_merchant/billing/integrations/pxpay.rb
|
223
|
+
- lib/active_merchant/billing/integrations/epay.rb
|
224
|
+
- lib/active_merchant/billing/integrations/valitor.rb
|
225
|
+
- lib/active_merchant/billing/integrations/notification.rb
|
226
|
+
- lib/active_merchant/billing/integrations/valitor/return.rb
|
227
|
+
- lib/active_merchant/billing/integrations/valitor/notification.rb
|
228
|
+
- lib/active_merchant/billing/integrations/valitor/helper.rb
|
229
|
+
- lib/active_merchant/billing/integrations/valitor/response_fields.rb
|
230
|
+
- lib/active_merchant/billing/integrations/maksuturva/notification.rb
|
231
|
+
- lib/active_merchant/billing/integrations/maksuturva/helper.rb
|
232
|
+
- lib/active_merchant/billing/integrations/dotpay/return.rb
|
233
|
+
- lib/active_merchant/billing/integrations/dotpay/notification.rb
|
234
|
+
- lib/active_merchant/billing/integrations/dotpay/helper.rb
|
235
|
+
- lib/active_merchant/billing/integrations/chronopay/return.rb
|
236
|
+
- lib/active_merchant/billing/integrations/chronopay/notification.rb
|
237
|
+
- lib/active_merchant/billing/integrations/chronopay/helper.rb
|
238
|
+
- lib/active_merchant/billing/integrations/paxum.rb
|
239
|
+
- lib/active_merchant/billing/integrations/epay/notification.rb
|
240
|
+
- lib/active_merchant/billing/integrations/epay/helper.rb
|
241
|
+
- lib/active_merchant/billing/integrations/moneybookers/notification.rb
|
242
|
+
- lib/active_merchant/billing/integrations/moneybookers/helper.rb
|
243
|
+
- lib/active_merchant/billing/integrations/web_pay.rb
|
244
|
+
- lib/active_merchant/billing/integrations/pxpay/return.rb
|
245
|
+
- lib/active_merchant/billing/integrations/pxpay/notification.rb
|
246
|
+
- lib/active_merchant/billing/integrations/pxpay/helper.rb
|
247
|
+
- lib/active_merchant/billing/integrations/directebanking.rb
|
248
|
+
- lib/active_merchant/billing/integrations/payflow_link/notification.rb
|
249
|
+
- lib/active_merchant/billing/integrations/payflow_link/helper.rb
|
250
|
+
- lib/active_merchant/billing/integrations/nelnet.rb
|
251
|
+
- lib/active_merchant/billing/integrations/robokassa.rb
|
252
|
+
- lib/active_merchant/billing/integrations/helper.rb
|
253
|
+
- lib/active_merchant/billing/integrations/first_data/notification.rb
|
254
|
+
- lib/active_merchant/billing/integrations/first_data/helper.rb
|
255
|
+
- lib/active_merchant/billing/integrations/maksuturva.rb
|
256
|
+
- lib/active_merchant/billing/integrations/nochex.rb
|
257
|
+
- lib/active_merchant/billing/integrations/paxum/notification.rb
|
258
|
+
- lib/active_merchant/billing/integrations/paxum/helper.rb
|
259
|
+
- lib/active_merchant/billing/integrations/paxum/common.rb
|
260
|
+
- lib/active_merchant/billing/integrations/sage_pay_form.rb
|
261
|
+
- lib/active_merchant/billing/integrations/hi_trust/return.rb
|
262
|
+
- lib/active_merchant/billing/integrations/hi_trust/notification.rb
|
263
|
+
- lib/active_merchant/billing/integrations/hi_trust/helper.rb
|
264
|
+
- lib/active_merchant/billing/integrations/quickpay.rb
|
265
|
+
- lib/active_merchant/billing/integrations/paypal_payments_advanced/helper.rb
|
266
|
+
- lib/active_merchant/billing/integrations/payflow_link.rb
|
267
|
+
- lib/active_merchant/billing/integrations/gestpay.rb
|
268
|
+
- lib/active_merchant/billing/integrations/sage_pay_form/return.rb
|
269
|
+
- lib/active_merchant/billing/integrations/sage_pay_form/notification.rb
|
270
|
+
- lib/active_merchant/billing/integrations/sage_pay_form/helper.rb
|
271
|
+
- lib/active_merchant/billing/integrations/sage_pay_form/encryption.rb
|
272
|
+
- lib/active_merchant/billing/integrations/dotpay.rb
|
273
|
+
- lib/active_merchant/billing/integrations/authorize_net_sim/notification.rb
|
274
|
+
- lib/active_merchant/billing/integrations/authorize_net_sim/helper.rb
|
275
|
+
- lib/active_merchant/billing/integrations/paypal.rb
|
276
|
+
- lib/active_merchant/billing/integrations/two_checkout/return.rb
|
277
|
+
- lib/active_merchant/billing/integrations/two_checkout/notification.rb
|
278
|
+
- lib/active_merchant/billing/integrations/two_checkout/helper.rb
|
279
|
+
- lib/active_merchant/billing/integrations/nochex/return.rb
|
280
|
+
- lib/active_merchant/billing/integrations/nochex/notification.rb
|
281
|
+
- lib/active_merchant/billing/integrations/nochex/helper.rb
|
282
|
+
- lib/active_merchant/billing/integrations/hi_trust.rb
|
283
|
+
- lib/active_merchant/billing/integrations/world_pay.rb
|
284
|
+
- lib/active_merchant/billing/integrations/direc_pay.rb
|
285
|
+
- lib/active_merchant/billing/integrations/gestpay/return.rb
|
286
|
+
- lib/active_merchant/billing/integrations/gestpay/notification.rb
|
287
|
+
- lib/active_merchant/billing/integrations/gestpay/helper.rb
|
288
|
+
- lib/active_merchant/billing/integrations/gestpay/common.rb
|
289
|
+
- lib/active_merchant/billing/integrations/quickpay/notification.rb
|
290
|
+
- lib/active_merchant/billing/integrations/quickpay/helper.rb
|
291
|
+
- lib/active_merchant/billing/integrations/two_checkout.rb
|
292
|
+
- lib/active_merchant/billing/integrations/world_pay/notification.rb
|
293
|
+
- lib/active_merchant/billing/integrations/world_pay/helper.rb
|
294
|
+
- lib/active_merchant/billing/integrations/e_payment_plans/notification.rb
|
295
|
+
- lib/active_merchant/billing/integrations/e_payment_plans/helper.rb
|
296
|
+
- lib/active_merchant/billing/integrations/paypal/return.rb
|
297
|
+
- lib/active_merchant/billing/integrations/paypal/notification.rb
|
298
|
+
- lib/active_merchant/billing/integrations/paypal/helper.rb
|
299
|
+
- lib/active_merchant/billing/integrations/verkkomaksut/notification.rb
|
300
|
+
- lib/active_merchant/billing/integrations/verkkomaksut/helper.rb
|
301
|
+
- lib/active_merchant/billing/integrations/action_view_helper.rb
|
302
|
+
- lib/active_merchant/billing/integrations/verkkomaksut.rb
|
303
|
+
- lib/active_merchant/billing/integrations/dwolla/return.rb
|
304
|
+
- lib/active_merchant/billing/integrations/dwolla/notification.rb
|
305
|
+
- lib/active_merchant/billing/integrations/dwolla/helper.rb
|
306
|
+
- lib/active_merchant/billing/integrations/nelnet/notification.rb
|
307
|
+
- lib/active_merchant/billing/integrations/nelnet/helper.rb
|
308
|
+
- lib/active_merchant/billing/integrations/chronopay.rb
|
309
|
+
- lib/active_merchant/billing/integrations/direc_pay/return.rb
|
310
|
+
- lib/active_merchant/billing/integrations/direc_pay/status.rb
|
311
|
+
- lib/active_merchant/billing/integrations/direc_pay/notification.rb
|
312
|
+
- lib/active_merchant/billing/integrations/direc_pay/helper.rb
|
313
|
+
- lib/active_merchant/billing/integrations/first_data.rb
|
314
|
+
- lib/active_merchant/billing/integrations/bogus/return.rb
|
315
|
+
- lib/active_merchant/billing/integrations/bogus/notification.rb
|
316
|
+
- lib/active_merchant/billing/integrations/bogus/helper.rb
|
317
|
+
- lib/active_merchant/billing/integrations/paypal_payments_advanced.rb
|
318
|
+
- lib/active_merchant/billing/integrations/e_payment_plans.rb
|
319
|
+
- lib/active_merchant/billing/integrations/robokassa/return.rb
|
320
|
+
- lib/active_merchant/billing/integrations/robokassa/notification.rb
|
321
|
+
- lib/active_merchant/billing/integrations/robokassa/helper.rb
|
322
|
+
- lib/active_merchant/billing/integrations/robokassa/common.rb
|
323
|
+
- lib/active_merchant/billing/gateways.rb
|
324
|
+
- lib/active_merchant/billing/gateway.rb
|
325
|
+
- lib/active_merchant/billing/credit_card_formatting.rb
|
326
|
+
- lib/active_merchant/billing/check.rb
|
327
|
+
- lib/active_merchant/billing/base.rb
|
328
|
+
- lib/active_merchant/billing/credit_card_methods.rb
|
329
|
+
- lib/active_merchant/billing/response.rb
|
330
|
+
- lib/active_merchant/billing/cvv_result.rb
|
331
|
+
- lib/active_merchant/billing/integrations.rb
|
332
|
+
- lib/active_merchant/billing/expiry_date.rb
|
333
|
+
- lib/active_merchant/billing/avs_result.rb
|
334
|
+
- lib/active_merchant/billing/gateways/psl_card.rb
|
335
|
+
- lib/active_merchant/billing/gateways/smart_ps.rb
|
336
|
+
- lib/active_merchant/billing/gateways/transax.rb
|
337
|
+
- lib/active_merchant/billing/gateways/payflow.rb
|
338
|
+
- lib/active_merchant/billing/gateways/braintree_blue.rb
|
339
|
+
- lib/active_merchant/billing/gateways/balanced.rb
|
340
|
+
- lib/active_merchant/billing/gateways/jetpay.rb
|
341
|
+
- lib/active_merchant/billing/gateways/paybox_direct.rb
|
342
|
+
- lib/active_merchant/billing/gateways/moneris_us.rb
|
343
|
+
- lib/active_merchant/billing/gateways/elavon.rb
|
344
|
+
- lib/active_merchant/billing/gateways/paypal_express_common.rb
|
345
|
+
- lib/active_merchant/billing/gateways/skip_jack.rb
|
346
|
+
- lib/active_merchant/billing/gateways/trans_first.rb
|
347
|
+
- lib/active_merchant/billing/gateways/pay_junction.rb
|
348
|
+
- lib/active_merchant/billing/gateways/paypal_express.rb
|
349
|
+
- lib/active_merchant/billing/gateways/braintree_orange.rb
|
350
|
+
- lib/active_merchant/billing/gateways/sage.rb
|
351
|
+
- lib/active_merchant/billing/gateways/ideal_rabobank.rb
|
352
|
+
- lib/active_merchant/billing/gateways/itransact.rb
|
353
|
+
- lib/active_merchant/billing/gateways/bogus.rb
|
354
|
+
- lib/active_merchant/billing/gateways/federated_canada.rb
|
355
|
+
- lib/active_merchant/billing/gateways/exact.rb
|
356
|
+
- lib/active_merchant/billing/gateways/pay_gate_xml.rb
|
357
|
+
- lib/active_merchant/billing/gateways/blue_pay.rb
|
358
|
+
- lib/active_merchant/billing/gateways/secure_pay_au.rb
|
359
|
+
- lib/active_merchant/billing/gateways/realex.rb
|
360
|
+
- lib/active_merchant/billing/gateways/epay.rb
|
361
|
+
- lib/active_merchant/billing/gateways/netaxept.rb
|
362
|
+
- lib/active_merchant/billing/gateways/merchant_ware.rb
|
363
|
+
- lib/active_merchant/billing/gateways/metrics_global.rb
|
364
|
+
- lib/active_merchant/billing/gateways/eway.rb
|
365
|
+
- lib/active_merchant/billing/gateways/worldpay.rb
|
366
|
+
- lib/active_merchant/billing/gateways/cyber_source.rb
|
367
|
+
- lib/active_merchant/billing/gateways/card_save.rb
|
368
|
+
- lib/active_merchant/billing/gateways/ideal/ideal_base.rb
|
369
|
+
- lib/active_merchant/billing/gateways/ideal/ideal_rabobank.pem
|
370
|
+
- lib/active_merchant/billing/gateways/ideal/ideal_response.rb
|
371
|
+
- lib/active_merchant/billing/gateways/orbital.rb
|
372
|
+
- lib/active_merchant/billing/gateways/psigate.rb
|
373
|
+
- lib/active_merchant/billing/gateways/nab_transact.rb
|
374
|
+
- lib/active_merchant/billing/gateways/usa_epay_transaction.rb
|
375
|
+
- lib/active_merchant/billing/gateways/migs/migs_codes.rb
|
376
|
+
- lib/active_merchant/billing/gateways/beanstream_interac.rb
|
377
|
+
- lib/active_merchant/billing/gateways/usa_epay_advanced.rb
|
378
|
+
- lib/active_merchant/billing/gateways/efsnet.rb
|
379
|
+
- lib/active_merchant/billing/gateways/fat_zebra.rb
|
380
|
+
- lib/active_merchant/billing/gateways/payflow_express_uk.rb
|
381
|
+
- lib/active_merchant/billing/gateways/sallie_mae.rb
|
382
|
+
- lib/active_merchant/billing/gateways/nmi.rb
|
383
|
+
- lib/active_merchant/billing/gateways/litle.rb
|
384
|
+
- lib/active_merchant/billing/gateways/trust_commerce.rb
|
385
|
+
- lib/active_merchant/billing/gateways/authorize_net.rb
|
386
|
+
- lib/active_merchant/billing/gateways/payflow_express.rb
|
387
|
+
- lib/active_merchant/billing/gateways/barclays_epdq.rb
|
388
|
+
- lib/active_merchant/billing/gateways/sage_pay.rb
|
389
|
+
- lib/active_merchant/billing/gateways/secure_net.rb
|
390
|
+
- lib/active_merchant/billing/gateways/ogone.rb
|
391
|
+
- lib/active_merchant/billing/gateways/paypal_ca.rb
|
392
|
+
- lib/active_merchant/billing/gateways/quickpay.rb
|
393
|
+
- lib/active_merchant/billing/gateways/stripe.rb
|
394
|
+
- lib/active_merchant/billing/gateways/merchant_e_solutions.rb
|
395
|
+
- lib/active_merchant/billing/gateways/optimal_payment.rb
|
396
|
+
- lib/active_merchant/billing/gateways/moneris.rb
|
397
|
+
- lib/active_merchant/billing/gateways/sage/sage_core.rb
|
398
|
+
- lib/active_merchant/billing/gateways/sage/sage_bankcard.rb
|
399
|
+
- lib/active_merchant/billing/gateways/sage/sage_virtual_check.rb
|
400
|
+
- lib/active_merchant/billing/gateways/paypal.rb
|
401
|
+
- lib/active_merchant/billing/gateways/payflow_uk.rb
|
402
|
+
- lib/active_merchant/billing/gateways/payment_express.rb
|
403
|
+
- lib/active_merchant/billing/gateways/eway_managed.rb
|
404
|
+
- lib/active_merchant/billing/gateways/certo_direct.rb
|
405
|
+
- lib/active_merchant/billing/gateways/viaklix.rb
|
406
|
+
- lib/active_merchant/billing/gateways/payflow/payflow_common_api.rb
|
407
|
+
- lib/active_merchant/billing/gateways/payflow/payflow_express_response.rb
|
408
|
+
- lib/active_merchant/billing/gateways/payflow/payflow_response.rb
|
409
|
+
- lib/active_merchant/billing/gateways/iridium.rb
|
410
|
+
- lib/active_merchant/billing/gateways/wirecard.rb
|
411
|
+
- lib/active_merchant/billing/gateways/first_pay.rb
|
412
|
+
- lib/active_merchant/billing/gateways/authorize_net_cim.rb
|
413
|
+
- lib/active_merchant/billing/gateways/secure_pay_tech.rb
|
414
|
+
- lib/active_merchant/billing/gateways/inspire.rb
|
415
|
+
- lib/active_merchant/billing/gateways/net_registry.rb
|
416
|
+
- lib/active_merchant/billing/gateways/garanti.rb
|
417
|
+
- lib/active_merchant/billing/gateways/quantum.rb
|
418
|
+
- lib/active_merchant/billing/gateways/usa_epay.rb
|
419
|
+
- lib/active_merchant/billing/gateways/instapay.rb
|
420
|
+
- lib/active_merchant/billing/gateways/beanstream/beanstream_core.rb
|
421
|
+
- lib/active_merchant/billing/gateways/vindicia.rb
|
422
|
+
- lib/active_merchant/billing/gateways/payway.rb
|
423
|
+
- lib/active_merchant/billing/gateways/beanstream.rb
|
424
|
+
- lib/active_merchant/billing/gateways/plugnpay.rb
|
425
|
+
- lib/active_merchant/billing/gateways/card_stream.rb
|
426
|
+
- lib/active_merchant/billing/gateways/linkpoint.rb
|
427
|
+
- lib/active_merchant/billing/gateways/braintree.rb
|
428
|
+
- lib/active_merchant/billing/gateways/paypal/paypal_recurring_api.rb
|
429
|
+
- lib/active_merchant/billing/gateways/paypal/paypal_express_response.rb
|
430
|
+
- lib/active_merchant/billing/gateways/paypal/paypal_common_api.rb
|
431
|
+
- lib/active_merchant/billing/gateways/qbms.rb
|
432
|
+
- lib/active_merchant/billing/gateways/orbital/orbital_soft_descriptors.rb
|
433
|
+
- lib/active_merchant/billing/gateways/modern_payments_cim.rb
|
434
|
+
- lib/active_merchant/billing/gateways/verifi.rb
|
435
|
+
- lib/active_merchant/billing/gateways/migs.rb
|
436
|
+
- lib/active_merchant/billing/gateways/netbilling.rb
|
437
|
+
- lib/active_merchant/billing/gateways/secure_pay.rb
|
438
|
+
- lib/active_merchant/billing/gateways/pay_secure.rb
|
439
|
+
- lib/active_merchant/billing/gateways/paypal_digital_goods.rb
|
440
|
+
- lib/active_merchant/billing/gateways/samurai.rb
|
441
|
+
- lib/active_merchant/billing/gateways/modern_payments.rb
|
442
|
+
- lib/active_merchant/billing/gateways/paystation.rb
|
443
|
+
- lib/active_merchant/billing/gateways/data_cash.rb
|
444
|
+
- lib/active_merchant/billing/gateways/braintree/braintree_common.rb
|
445
|
+
- lib/active_merchant/billing/credit_card.rb
|
446
|
+
- lib/active_merchant/billing.rb
|
447
|
+
- lib/activemerchant.rb
|
448
|
+
- lib/active_merchant.rb
|
449
|
+
- lib/support/gateway_support.rb
|
450
|
+
- lib/support/outbound_hosts.rb
|
451
|
+
- lib/support/ssl_verify.rb
|
452
|
+
homepage: http://activemerchant.org/
|
453
|
+
licenses: []
|
454
|
+
post_install_message:
|
455
|
+
rdoc_options: []
|
456
|
+
require_paths:
|
457
|
+
- lib
|
458
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
459
|
+
none: false
|
460
|
+
requirements:
|
461
|
+
- - ! '>='
|
462
|
+
- !ruby/object:Gem::Version
|
463
|
+
version: '0'
|
464
|
+
segments:
|
465
|
+
- 0
|
466
|
+
hash: -3351742576686319451
|
467
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
468
|
+
none: false
|
469
|
+
requirements:
|
470
|
+
- - ! '>='
|
471
|
+
- !ruby/object:Gem::Version
|
472
|
+
version: '0'
|
473
|
+
segments:
|
474
|
+
- 0
|
475
|
+
hash: -3351742576686319451
|
476
|
+
requirements: []
|
477
|
+
rubyforge_project: activemerchant
|
478
|
+
rubygems_version: 1.8.24
|
479
|
+
signing_key:
|
480
|
+
specification_version: 3
|
481
|
+
summary: Framework and tools for dealing with credit card transactions.
|
482
|
+
test_files: []
|