tomriley-active_merchant 1.4.2.3
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +442 -0
- data/CONTRIBUTERS +102 -0
- data/MIT-LICENSE +20 -0
- data/README +134 -0
- data/Rakefile +153 -0
- data/active_merchant.gemspec +15 -0
- data/gem-public_cert.pem +20 -0
- data/init.rb +4 -0
- data/lib/active_merchant/billing/avs_result.rb +98 -0
- data/lib/active_merchant/billing/base.rb +57 -0
- data/lib/active_merchant/billing/check.rb +68 -0
- data/lib/active_merchant/billing/credit_card.rb +159 -0
- data/lib/active_merchant/billing/credit_card_formatting.rb +21 -0
- data/lib/active_merchant/billing/credit_card_methods.rb +125 -0
- data/lib/active_merchant/billing/cvv_result.rb +38 -0
- data/lib/active_merchant/billing/expiry_date.rb +28 -0
- data/lib/active_merchant/billing/gateway.rb +158 -0
- data/lib/active_merchant/billing/gateways/authorize_net.rb +646 -0
- data/lib/active_merchant/billing/gateways/authorize_net_cim.rb +702 -0
- data/lib/active_merchant/billing/gateways/beanstream/beanstream_core.rb +233 -0
- data/lib/active_merchant/billing/gateways/beanstream.rb +102 -0
- data/lib/active_merchant/billing/gateways/beanstream_interac.rb +54 -0
- data/lib/active_merchant/billing/gateways/bogus.rb +98 -0
- data/lib/active_merchant/billing/gateways/braintree.rb +17 -0
- data/lib/active_merchant/billing/gateways/card_stream.rb +230 -0
- data/lib/active_merchant/billing/gateways/cyber_source.rb +406 -0
- data/lib/active_merchant/billing/gateways/data_cash.rb +595 -0
- data/lib/active_merchant/billing/gateways/efsnet.rb +229 -0
- data/lib/active_merchant/billing/gateways/eway.rb +272 -0
- data/lib/active_merchant/billing/gateways/exact.rb +222 -0
- data/lib/active_merchant/billing/gateways/instapay.rb +164 -0
- data/lib/active_merchant/billing/gateways/linkpoint.rb +396 -0
- data/lib/active_merchant/billing/gateways/merchant_e_solutions.rb +154 -0
- data/lib/active_merchant/billing/gateways/modern_payments.rb +36 -0
- data/lib/active_merchant/billing/gateways/modern_payments_cim.rb +214 -0
- data/lib/active_merchant/billing/gateways/moneris.rb +205 -0
- data/lib/active_merchant/billing/gateways/net_registry.rb +189 -0
- data/lib/active_merchant/billing/gateways/netbilling.rb +168 -0
- data/lib/active_merchant/billing/gateways/pay_junction.rb +392 -0
- data/lib/active_merchant/billing/gateways/pay_secure.rb +120 -0
- data/lib/active_merchant/billing/gateways/payflow/payflow_common_api.rb +207 -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.rb +236 -0
- data/lib/active_merchant/billing/gateways/payflow_express.rb +138 -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 +230 -0
- data/lib/active_merchant/billing/gateways/paypal/paypal_common_api.rb +325 -0
- data/lib/active_merchant/billing/gateways/paypal/paypal_express_response.rb +38 -0
- data/lib/active_merchant/billing/gateways/paypal.rb +108 -0
- data/lib/active_merchant/billing/gateways/paypal_ca.rb +13 -0
- data/lib/active_merchant/billing/gateways/paypal_express.rb +130 -0
- data/lib/active_merchant/billing/gateways/paypal_express_common.rb +20 -0
- data/lib/active_merchant/billing/gateways/plugnpay.rb +292 -0
- data/lib/active_merchant/billing/gateways/protx.rb +349 -0
- data/lib/active_merchant/billing/gateways/psigate.rb +214 -0
- data/lib/active_merchant/billing/gateways/psl_card.rb +306 -0
- data/lib/active_merchant/billing/gateways/quickpay.rb +213 -0
- data/lib/active_merchant/billing/gateways/realex.rb +200 -0
- data/lib/active_merchant/billing/gateways/sage/sage_bankcard.rb +88 -0
- data/lib/active_merchant/billing/gateways/sage/sage_core.rb +110 -0
- data/lib/active_merchant/billing/gateways/sage/sage_virtual_check.rb +97 -0
- data/lib/active_merchant/billing/gateways/sage.rb +146 -0
- data/lib/active_merchant/billing/gateways/secure_pay.rb +31 -0
- data/lib/active_merchant/billing/gateways/secure_pay_au.rb +157 -0
- data/lib/active_merchant/billing/gateways/secure_pay_tech.rb +113 -0
- data/lib/active_merchant/billing/gateways/skip_jack.rb +442 -0
- data/lib/active_merchant/billing/gateways/smart_ps.rb +254 -0
- data/lib/active_merchant/billing/gateways/trans_first.rb +127 -0
- data/lib/active_merchant/billing/gateways/transax.rb +26 -0
- data/lib/active_merchant/billing/gateways/trust_commerce.rb +418 -0
- data/lib/active_merchant/billing/gateways/usa_epay.rb +194 -0
- data/lib/active_merchant/billing/gateways/verifi.rb +228 -0
- data/lib/active_merchant/billing/gateways/viaklix.rb +165 -0
- data/lib/active_merchant/billing/gateways/wirecard.rb +318 -0
- data/lib/active_merchant/billing/gateways.rb +3 -0
- data/lib/active_merchant/billing/integrations/action_view_helper.rb +79 -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/bogus.rb +22 -0
- data/lib/active_merchant/billing/integrations/chronopay/helper.rb +81 -0
- data/lib/active_merchant/billing/integrations/chronopay/notification.rb +156 -0
- data/lib/active_merchant/billing/integrations/chronopay/return.rb +10 -0
- data/lib/active_merchant/billing/integrations/chronopay.rb +22 -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 +83 -0
- data/lib/active_merchant/billing/integrations/gestpay/return.rb +10 -0
- data/lib/active_merchant/billing/integrations/gestpay.rb +26 -0
- data/lib/active_merchant/billing/integrations/helper.rb +93 -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/hi_trust.rb +26 -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/nochex.rb +87 -0
- data/lib/active_merchant/billing/integrations/notification.rb +62 -0
- data/lib/active_merchant/billing/integrations/paypal/helper.rb +118 -0
- data/lib/active_merchant/billing/integrations/paypal/notification.rb +154 -0
- data/lib/active_merchant/billing/integrations/paypal/return.rb +10 -0
- data/lib/active_merchant/billing/integrations/paypal.rb +40 -0
- data/lib/active_merchant/billing/integrations/quickpay/helper.rb +72 -0
- data/lib/active_merchant/billing/integrations/quickpay/notification.rb +74 -0
- data/lib/active_merchant/billing/integrations/quickpay.rb +18 -0
- data/lib/active_merchant/billing/integrations/return.rb +35 -0
- data/lib/active_merchant/billing/integrations/two_checkout/helper.rb +59 -0
- data/lib/active_merchant/billing/integrations/two_checkout/notification.rb +114 -0
- data/lib/active_merchant/billing/integrations/two_checkout/return.rb +17 -0
- data/lib/active_merchant/billing/integrations/two_checkout.rb +23 -0
- data/lib/active_merchant/billing/integrations.rb +22 -0
- data/lib/active_merchant/billing/response.rb +32 -0
- data/lib/active_merchant/lib/connection.rb +170 -0
- data/lib/active_merchant/lib/country.rb +319 -0
- data/lib/active_merchant/lib/error.rb +4 -0
- data/lib/active_merchant/lib/post_data.rb +22 -0
- data/lib/active_merchant/lib/posts_data.rb +47 -0
- data/lib/active_merchant/lib/requires_parameters.rb +16 -0
- data/lib/active_merchant/lib/utils.rb +18 -0
- data/lib/active_merchant/lib/validateable.rb +76 -0
- data/lib/active_merchant.rb +60 -0
- data/lib/certs/cacert.pem +7815 -0
- data/lib/support/gateway_support.rb +58 -0
- data/script/destroy +14 -0
- data/script/generate +14 -0
- data/test/fixtures.yml +330 -0
- data/test/remote/gateways/remote_authorize_net_cim_test.rb +459 -0
- data/test/remote/gateways/remote_authorize_net_test.rb +145 -0
- data/test/remote/gateways/remote_beanstream_interac_test.rb +53 -0
- data/test/remote/gateways/remote_beanstream_test.rb +150 -0
- data/test/remote/gateways/remote_braintree_test.rb +154 -0
- data/test/remote/gateways/remote_card_stream_test.rb +148 -0
- data/test/remote/gateways/remote_cyber_source_test.rb +144 -0
- data/test/remote/gateways/remote_data_cash_test.rb +357 -0
- data/test/remote/gateways/remote_efsnet_test.rb +81 -0
- data/test/remote/gateways/remote_eway_test.rb +74 -0
- data/test/remote/gateways/remote_exact_test.rb +60 -0
- data/test/remote/gateways/remote_instapay_test.rb +61 -0
- data/test/remote/gateways/remote_linkpoint_test.rb +112 -0
- data/test/remote/gateways/remote_merchant_e_solutions_test.rb +173 -0
- data/test/remote/gateways/remote_modern_payments_cim_test.rb +58 -0
- data/test/remote/gateways/remote_modern_payments_test.rb +43 -0
- data/test/remote/gateways/remote_moneris_test.rb +82 -0
- data/test/remote/gateways/remote_net_registry_test.rb +85 -0
- data/test/remote/gateways/remote_netbilling_test.rb +70 -0
- data/test/remote/gateways/remote_pay_junction_test.rb +143 -0
- data/test/remote/gateways/remote_pay_secure_test.rb +39 -0
- data/test/remote/gateways/remote_payflow_express_test.rb +50 -0
- data/test/remote/gateways/remote_payflow_test.rb +237 -0
- data/test/remote/gateways/remote_payflow_uk_test.rb +173 -0
- data/test/remote/gateways/remote_payment_express_test.rb +136 -0
- data/test/remote/gateways/remote_paypal_express_test.rb +49 -0
- data/test/remote/gateways/remote_paypal_test.rb +167 -0
- data/test/remote/gateways/remote_plugnpay_test.rb +72 -0
- data/test/remote/gateways/remote_protx_test.rb +219 -0
- data/test/remote/gateways/remote_psigate_test.rb +50 -0
- data/test/remote/gateways/remote_psl_card_test.rb +125 -0
- data/test/remote/gateways/remote_quickpay_test.rb +190 -0
- data/test/remote/gateways/remote_realex_test.rb +224 -0
- data/test/remote/gateways/remote_sage_bankcard_test.rb +109 -0
- data/test/remote/gateways/remote_sage_test.rb +87 -0
- data/test/remote/gateways/remote_sage_virtual_check_test.rb +62 -0
- data/test/remote/gateways/remote_secure_pay_au_test.rb +40 -0
- data/test/remote/gateways/remote_secure_pay_tech_test.rb +37 -0
- data/test/remote/gateways/remote_secure_pay_test.rb +28 -0
- data/test/remote/gateways/remote_skipjack_test.rb +105 -0
- data/test/remote/gateways/remote_trans_first_test.rb +34 -0
- data/test/remote/gateways/remote_transax_test.rb +112 -0
- data/test/remote/gateways/remote_trust_commerce_test.rb +152 -0
- data/test/remote/gateways/remote_usa_epay_test.rb +46 -0
- data/test/remote/gateways/remote_verifi_test.rb +107 -0
- data/test/remote/gateways/remote_viaklix_test.rb +43 -0
- data/test/remote/gateways/remote_wirecard_test.rb +111 -0
- data/test/remote/integrations/remote_gestpay_integration_test.rb +37 -0
- data/test/remote/integrations/remote_paypal_integration_test.rb +26 -0
- data/test/test_helper.rb +182 -0
- data/test/unit/avs_result_test.rb +59 -0
- data/test/unit/base_test.rb +55 -0
- data/test/unit/check_test.rb +88 -0
- data/test/unit/connection_test.rb +129 -0
- data/test/unit/country_code_test.rb +33 -0
- data/test/unit/country_test.rb +64 -0
- data/test/unit/credit_card_formatting_test.rb +19 -0
- data/test/unit/credit_card_methods_test.rb +170 -0
- data/test/unit/credit_card_test.rb +318 -0
- data/test/unit/cvv_result_test.rb +33 -0
- data/test/unit/expiry_date_test.rb +21 -0
- data/test/unit/gateways/authorize_net_cim_test.rb +638 -0
- data/test/unit/gateways/authorize_net_test.rb +290 -0
- data/test/unit/gateways/beanstream_interac_test.rb +51 -0
- data/test/unit/gateways/beanstream_test.rb +108 -0
- data/test/unit/gateways/bogus_test.rb +46 -0
- data/test/unit/gateways/braintree_test.rb +126 -0
- data/test/unit/gateways/card_stream_test.rb +90 -0
- data/test/unit/gateways/cyber_source_test.rb +188 -0
- data/test/unit/gateways/data_cash_test.rb +133 -0
- data/test/unit/gateways/efsnet_test.rb +123 -0
- data/test/unit/gateways/eway_test.rb +118 -0
- data/test/unit/gateways/exact_test.rb +156 -0
- data/test/unit/gateways/gateway_test.rb +48 -0
- data/test/unit/gateways/instapay_test.rb +102 -0
- data/test/unit/gateways/linkpoint_test.rb +167 -0
- data/test/unit/gateways/merchant_e_solutions_test.rb +169 -0
- data/test/unit/gateways/modern_payments_cim_test.rb +171 -0
- data/test/unit/gateways/moneris_test.rb +158 -0
- data/test/unit/gateways/net_registry_test.rb +416 -0
- data/test/unit/gateways/netbilling_test.rb +54 -0
- data/test/unit/gateways/pay_junction_test.rb +123 -0
- data/test/unit/gateways/pay_secure_test.rb +71 -0
- data/test/unit/gateways/payflow_express_test.rb +173 -0
- data/test/unit/gateways/payflow_express_uk_test.rb +86 -0
- data/test/unit/gateways/payflow_test.rb +305 -0
- data/test/unit/gateways/payflow_uk_test.rb +30 -0
- data/test/unit/gateways/payment_express_test.rb +195 -0
- data/test/unit/gateways/paypal_express_test.rb +382 -0
- data/test/unit/gateways/paypal_test.rb +520 -0
- data/test/unit/gateways/plugnpay_test.rb +86 -0
- data/test/unit/gateways/protx_test.rb +139 -0
- data/test/unit/gateways/psigate_test.rb +169 -0
- data/test/unit/gateways/psl_card_test.rb +64 -0
- data/test/unit/gateways/quickpay_test.rb +112 -0
- data/test/unit/gateways/realex_test.rb +151 -0
- data/test/unit/gateways/sage_bankcard_test.rb +162 -0
- data/test/unit/gateways/sage_virtual_check_test.rb +71 -0
- data/test/unit/gateways/secure_pay_au_test.rb +207 -0
- data/test/unit/gateways/secure_pay_tech_test.rb +44 -0
- data/test/unit/gateways/secure_pay_test.rb +87 -0
- data/test/unit/gateways/skip_jack_test.rb +133 -0
- data/test/unit/gateways/trans_first_test.rb +112 -0
- data/test/unit/gateways/trust_commerce_test.rb +90 -0
- data/test/unit/gateways/usa_epay_test.rb +128 -0
- data/test/unit/gateways/verifi_test.rb +96 -0
- data/test/unit/gateways/viaklix_test.rb +78 -0
- data/test/unit/gateways/wirecard_test.rb +250 -0
- data/test/unit/generators/test_gateway_generator.rb +46 -0
- data/test/unit/generators/test_generator_helper.rb +20 -0
- data/test/unit/generators/test_integration_generator.rb +53 -0
- data/test/unit/integrations/action_view_helper_test.rb +50 -0
- data/test/unit/integrations/bogus_module_test.rb +20 -0
- data/test/unit/integrations/chronopay_module_test.rb +13 -0
- data/test/unit/integrations/gestpay_module_test.rb +14 -0
- data/test/unit/integrations/helpers/bogus_helper_test.rb +28 -0
- data/test/unit/integrations/helpers/chronopay_helper_test.rb +67 -0
- data/test/unit/integrations/helpers/gestpay_helper_test.rb +100 -0
- data/test/unit/integrations/helpers/hi_trust_helper_test.rb +16 -0
- data/test/unit/integrations/helpers/nochex_helper_test.rb +53 -0
- data/test/unit/integrations/helpers/paypal_helper_test.rb +162 -0
- data/test/unit/integrations/helpers/quickpay_helper_test.rb +40 -0
- data/test/unit/integrations/helpers/two_checkout_helper_test.rb +92 -0
- data/test/unit/integrations/hi_trust_module_test.rb +13 -0
- data/test/unit/integrations/nochex_module_test.rb +13 -0
- data/test/unit/integrations/notifications/chronopay_notification_test.rb +66 -0
- data/test/unit/integrations/notifications/gestpay_notification_test.rb +60 -0
- data/test/unit/integrations/notifications/hi_trust_notification_test.rb +59 -0
- data/test/unit/integrations/notifications/nochex_notification_test.rb +51 -0
- data/test/unit/integrations/notifications/notification_test.rb +54 -0
- data/test/unit/integrations/notifications/paypal_notification_test.rb +85 -0
- data/test/unit/integrations/notifications/quickpay_notification_test.rb +69 -0
- data/test/unit/integrations/notifications/two_checkout_notification_test.rb +55 -0
- data/test/unit/integrations/paypal_module_test.rb +28 -0
- data/test/unit/integrations/quickpay_module_test.rb +9 -0
- data/test/unit/integrations/returns/chronopay_return_test.rb +11 -0
- data/test/unit/integrations/returns/gestpay_return_test.rb +10 -0
- data/test/unit/integrations/returns/hi_trust_return_test.rb +24 -0
- data/test/unit/integrations/returns/nochex_return_test.rb +10 -0
- data/test/unit/integrations/returns/paypal_return_test.rb +10 -0
- data/test/unit/integrations/returns/return_test.rb +11 -0
- data/test/unit/integrations/returns/two_checkout_return_test.rb +24 -0
- data/test/unit/integrations/two_checkout_module_test.rb +13 -0
- data/test/unit/post_data_test.rb +55 -0
- data/test/unit/posts_data_test.rb +48 -0
- data/test/unit/response_test.rb +28 -0
- data/test/unit/utils_test.rb +7 -0
- data/test/unit/validateable_test.rb +60 -0
- metadata +364 -0
@@ -0,0 +1,58 @@
|
|
1
|
+
require 'rubygems'
|
2
|
+
require 'active_support'
|
3
|
+
require 'lib/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
|
+
@gateways = Gateway.implementations.sort_by(&:name)
|
15
|
+
@gateways.delete(ActiveMerchant::Billing::BogusGateway)
|
16
|
+
end
|
17
|
+
|
18
|
+
def each_gateway
|
19
|
+
@gateways.each{|g| yield g }
|
20
|
+
end
|
21
|
+
|
22
|
+
def features
|
23
|
+
width = 15
|
24
|
+
|
25
|
+
print "Name".center(width + 20)
|
26
|
+
ACTIONS.each{|f| print "#{f.to_s.capitalize.center(width)}" }
|
27
|
+
puts
|
28
|
+
|
29
|
+
each_gateway do |g|
|
30
|
+
print "#{g.display_name.ljust(width + 20)}"
|
31
|
+
ACTIONS.each do |f|
|
32
|
+
print "#{(g.instance_methods.include?(f.to_s) ? "Y" : "N").center(width)}"
|
33
|
+
end
|
34
|
+
puts
|
35
|
+
end
|
36
|
+
end
|
37
|
+
|
38
|
+
def to_rdoc
|
39
|
+
each_gateway do |g|
|
40
|
+
puts "* {#{g.display_name}}[#{g.homepage_url}] - #{g.supported_countries.join(', ')}"
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
44
|
+
def to_textile
|
45
|
+
each_gateway do |g|
|
46
|
+
puts %/ * "#{g.display_name}":#{g.homepage_url} [#{g.supported_countries.join(', ')}]/
|
47
|
+
end
|
48
|
+
end
|
49
|
+
|
50
|
+
def to_s
|
51
|
+
each_gateway do |g|
|
52
|
+
puts "#{g.display_name} - #{g.homepage_url} [#{g.supported_countries.join(', ')}]"
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
57
|
+
|
58
|
+
|
data/script/destroy
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
APP_ROOT = File.join(File.dirname(__FILE__), '..')
|
3
|
+
|
4
|
+
begin
|
5
|
+
require 'rubigen'
|
6
|
+
rescue LoadError
|
7
|
+
require 'rubygems'
|
8
|
+
require 'rubigen'
|
9
|
+
end
|
10
|
+
require 'rubigen/scripts/destroy'
|
11
|
+
|
12
|
+
ARGV.shift if ['--help', '-h'].include?(ARGV[0])
|
13
|
+
RubiGen::Base.use_component_sources! [:activemerchant, :rubygems, :test_unit]
|
14
|
+
RubiGen::Scripts::Destroy.new.run(ARGV)
|
data/script/generate
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
APP_ROOT = File.join(File.dirname(__FILE__), '..')
|
3
|
+
|
4
|
+
begin
|
5
|
+
require 'rubigen'
|
6
|
+
rescue LoadError
|
7
|
+
require 'rubygems'
|
8
|
+
require 'rubigen'
|
9
|
+
end
|
10
|
+
require 'rubigen/scripts/generate'
|
11
|
+
|
12
|
+
ARGV.shift if ['--help', '-h'].include?(ARGV[0])
|
13
|
+
RubiGen::Base.use_component_sources! [:activemerchant, :rubygems, :test_unit]
|
14
|
+
RubiGen::Scripts::Generate.new.run(ARGV)
|
data/test/fixtures.yml
ADDED
@@ -0,0 +1,330 @@
|
|
1
|
+
# This file has all of the ActiveMerchant test account credentials.
|
2
|
+
# Many gateways do not offer publicly available test accounts. In
|
3
|
+
# order to make testing the gateways easy you can copy this file to
|
4
|
+
# your home directory as the file ~/.active_merchant/fixtures.yml
|
5
|
+
# You can then place your own test account credentials in your local
|
6
|
+
# copy of the file.
|
7
|
+
#
|
8
|
+
# If the login is numeric, ensure that you place quotes around it.
|
9
|
+
# Leading zeros will be lost when YAML parses the file if you don't.
|
10
|
+
#
|
11
|
+
# Paste any required PEM certificates after the pem key.
|
12
|
+
#
|
13
|
+
authorize_net:
|
14
|
+
login: X
|
15
|
+
password: Y
|
16
|
+
|
17
|
+
beanstream:
|
18
|
+
login: merchant id
|
19
|
+
user: username
|
20
|
+
password: password
|
21
|
+
|
22
|
+
beanstream_interac:
|
23
|
+
login: merchant id
|
24
|
+
user: username
|
25
|
+
password: password
|
26
|
+
|
27
|
+
braintree:
|
28
|
+
login: demo
|
29
|
+
password: password
|
30
|
+
|
31
|
+
card_stream:
|
32
|
+
login: X
|
33
|
+
password: Y
|
34
|
+
|
35
|
+
cyber_source:
|
36
|
+
login: X
|
37
|
+
password: Y
|
38
|
+
|
39
|
+
data_cash:
|
40
|
+
login: X
|
41
|
+
password: Y
|
42
|
+
|
43
|
+
efsnet:
|
44
|
+
login: X
|
45
|
+
password: Y
|
46
|
+
|
47
|
+
# Working credentials, no need to replace
|
48
|
+
eway:
|
49
|
+
login: '87654321'
|
50
|
+
|
51
|
+
# Working credentials, no need to replace
|
52
|
+
exact:
|
53
|
+
login: "A00427-01"
|
54
|
+
password: testus
|
55
|
+
|
56
|
+
ideal_ing_postbank:
|
57
|
+
login: LOGIN
|
58
|
+
password: PASSWORD
|
59
|
+
pem: |--
|
60
|
+
PASTE YOUR PEM FILE HERE
|
61
|
+
|
62
|
+
instapay:
|
63
|
+
login: TEST0
|
64
|
+
password:
|
65
|
+
|
66
|
+
linkpoint:
|
67
|
+
login: STOREID
|
68
|
+
pem: |--
|
69
|
+
PASTE YOUR PEM FILE HERE
|
70
|
+
|
71
|
+
modern_payments:
|
72
|
+
login: login
|
73
|
+
password: password
|
74
|
+
|
75
|
+
# Working credentials, no need to replace
|
76
|
+
moneris:
|
77
|
+
login: store1
|
78
|
+
password: yesguy
|
79
|
+
|
80
|
+
# Working credentials, no need to replace
|
81
|
+
# Contact Netbilling for login info to the admin area
|
82
|
+
netbilling:
|
83
|
+
login: '104901072025'
|
84
|
+
|
85
|
+
net_registry:
|
86
|
+
login: X
|
87
|
+
password: Y
|
88
|
+
|
89
|
+
payflow:
|
90
|
+
login: LOGIN
|
91
|
+
password: PASSWORD
|
92
|
+
partner: PayPal
|
93
|
+
|
94
|
+
payflow_uk:
|
95
|
+
login: LOGIN
|
96
|
+
password: PASSWORD
|
97
|
+
partner: PayPalUk
|
98
|
+
|
99
|
+
# Working credentials, no need to replace
|
100
|
+
pay_junction:
|
101
|
+
login: 'pj-ql-01'
|
102
|
+
password: 'pj-ql-01p'
|
103
|
+
|
104
|
+
payment_express:
|
105
|
+
login: LOGIN
|
106
|
+
password: PASSWORD
|
107
|
+
|
108
|
+
# You can use either your API PEM file or API signature with PayPal.
|
109
|
+
paypal_certificate:
|
110
|
+
login: LOGIN
|
111
|
+
password: PASSWORD
|
112
|
+
subject:
|
113
|
+
pem: |--
|
114
|
+
PASTE YOUR PEM FILE HERE
|
115
|
+
|
116
|
+
paypal_signature:
|
117
|
+
login: LOGIN
|
118
|
+
password: PASSWORD
|
119
|
+
signature: SIGNATURE
|
120
|
+
|
121
|
+
pay_secure:
|
122
|
+
login: LOGIN
|
123
|
+
password: PASSWORD
|
124
|
+
|
125
|
+
plugnpay:
|
126
|
+
login: LOGIN
|
127
|
+
password: PASSWORD
|
128
|
+
|
129
|
+
protx:
|
130
|
+
login: LOGIN
|
131
|
+
|
132
|
+
# Working credentials, no need to replace
|
133
|
+
psigate:
|
134
|
+
login: teststore
|
135
|
+
password: psigate1234
|
136
|
+
|
137
|
+
psl_card:
|
138
|
+
login: LOGIN
|
139
|
+
|
140
|
+
# PSL doesn't want the test data made public
|
141
|
+
psl_maestro:
|
142
|
+
number:
|
143
|
+
month:
|
144
|
+
year:
|
145
|
+
verification_value:
|
146
|
+
issue_number:
|
147
|
+
|
148
|
+
psl_maestro_address:
|
149
|
+
address1:
|
150
|
+
address2:
|
151
|
+
city:
|
152
|
+
state:
|
153
|
+
zip:
|
154
|
+
|
155
|
+
psl_solo:
|
156
|
+
number:
|
157
|
+
month:
|
158
|
+
year:
|
159
|
+
verification_value:
|
160
|
+
issue_number:
|
161
|
+
|
162
|
+
psl_solo_address:
|
163
|
+
address1:
|
164
|
+
city:
|
165
|
+
state:
|
166
|
+
zip:
|
167
|
+
|
168
|
+
psl_visa:
|
169
|
+
number:
|
170
|
+
month:
|
171
|
+
year:
|
172
|
+
verification_value:
|
173
|
+
|
174
|
+
psl_visa_address:
|
175
|
+
address1:
|
176
|
+
address2:
|
177
|
+
address3:
|
178
|
+
city:
|
179
|
+
zip:
|
180
|
+
|
181
|
+
psl_visa_debit:
|
182
|
+
first_name:
|
183
|
+
last_name:
|
184
|
+
number:
|
185
|
+
month:
|
186
|
+
year:
|
187
|
+
verification_value:
|
188
|
+
|
189
|
+
psl_visa_debit_address:
|
190
|
+
address1:
|
191
|
+
address2:
|
192
|
+
address3:
|
193
|
+
city:
|
194
|
+
state:
|
195
|
+
zip:
|
196
|
+
|
197
|
+
quickpay:
|
198
|
+
login: 89898989
|
199
|
+
password: "n5KrR5e2538awi9hUk6728LHTQ6E4uG1z4IFSb2pPN9j76DqJ2vA4698X315M1cd"
|
200
|
+
|
201
|
+
realex:
|
202
|
+
login: X
|
203
|
+
password: Y
|
204
|
+
|
205
|
+
realex_with_account:
|
206
|
+
login: X
|
207
|
+
password: Y
|
208
|
+
account: testaccount
|
209
|
+
|
210
|
+
# Realex doesn't provide public testing data
|
211
|
+
# Fill in the card numbers with the Realex test
|
212
|
+
# data.
|
213
|
+
realex_visa:
|
214
|
+
number:
|
215
|
+
month: '6'
|
216
|
+
year: '2020'
|
217
|
+
verification_value: '123'
|
218
|
+
|
219
|
+
realex_visa_declined:
|
220
|
+
number:
|
221
|
+
month: '6'
|
222
|
+
year: '2020'
|
223
|
+
verification_value: '123'
|
224
|
+
|
225
|
+
realex_visa_referral_a:
|
226
|
+
number:
|
227
|
+
month: '6'
|
228
|
+
year: '2020'
|
229
|
+
verification_value: '123'
|
230
|
+
|
231
|
+
realex_visa_referral_b:
|
232
|
+
number:
|
233
|
+
month: '6'
|
234
|
+
year: '2020'
|
235
|
+
verification_value: '123'
|
236
|
+
|
237
|
+
realex_visa_coms_error:
|
238
|
+
number:
|
239
|
+
month: '6'
|
240
|
+
year: '2020'
|
241
|
+
verification_value: '123'
|
242
|
+
|
243
|
+
realex_mastercard:
|
244
|
+
number:
|
245
|
+
month: '6'
|
246
|
+
year: '2020'
|
247
|
+
verification_value: '123'
|
248
|
+
|
249
|
+
realex_mastercard_declined:
|
250
|
+
number:
|
251
|
+
month: '6'
|
252
|
+
year: '2020'
|
253
|
+
verification_value: '123'
|
254
|
+
|
255
|
+
realex_mastercard_referral_a:
|
256
|
+
number:
|
257
|
+
month: '6'
|
258
|
+
year: '2020'
|
259
|
+
verification_value: '123'
|
260
|
+
|
261
|
+
realex_mastercard_referral_b:
|
262
|
+
number:
|
263
|
+
month: '6'
|
264
|
+
year: '2020'
|
265
|
+
verification_value: '123'
|
266
|
+
|
267
|
+
realex_mastercard_coms_error:
|
268
|
+
number:
|
269
|
+
month: '6'
|
270
|
+
year: '2020'
|
271
|
+
verification_value: '123'
|
272
|
+
|
273
|
+
sage:
|
274
|
+
login: login
|
275
|
+
password: password
|
276
|
+
|
277
|
+
secure_pay:
|
278
|
+
login: LOGIN
|
279
|
+
password: PASSWORD
|
280
|
+
|
281
|
+
secure_pay_tech:
|
282
|
+
login: TESTDIGISPL1
|
283
|
+
password: d557591484cb2cd12bba445aba420d2c69cd6a88
|
284
|
+
|
285
|
+
secure_pay_au:
|
286
|
+
login:
|
287
|
+
password:
|
288
|
+
|
289
|
+
# Replace with your serial numbers for the skipjack test environment
|
290
|
+
skipjack:
|
291
|
+
login: X
|
292
|
+
password: Y
|
293
|
+
|
294
|
+
trans_first:
|
295
|
+
login: LOGIN
|
296
|
+
password: PASSWORD
|
297
|
+
|
298
|
+
transax:
|
299
|
+
login: demo
|
300
|
+
password: password
|
301
|
+
|
302
|
+
# Working credentials, no need to replace
|
303
|
+
trust_commerce:
|
304
|
+
login: 'TestMerchant'
|
305
|
+
password: 'password'
|
306
|
+
|
307
|
+
# Working credentials, no need to replace
|
308
|
+
usa_epay:
|
309
|
+
login: 'yCaWGYQsSVR0S48B6AKMK07RQhaxHvGu'
|
310
|
+
|
311
|
+
# Working credentials, no need to replace
|
312
|
+
verify:
|
313
|
+
login: 'demo'
|
314
|
+
password: 'password'
|
315
|
+
|
316
|
+
viaklix:
|
317
|
+
login: LOGIN
|
318
|
+
password: PASSWORD
|
319
|
+
user: USER
|
320
|
+
|
321
|
+
# Working test credentials, no need to replace
|
322
|
+
wirecard:
|
323
|
+
login: 56500
|
324
|
+
password: TestXAPTER
|
325
|
+
|
326
|
+
# replace with your Merchant eSolutions developer profile credentials
|
327
|
+
merchant_esolutions:
|
328
|
+
login: "profile_id"
|
329
|
+
password: "profile_key"
|
330
|
+
|