smulube-activemerchant 1.5.1.1 → 1.5.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +6 -0
- data/Rakefile +85 -0
- data/generators/gateway/USAGE +5 -0
- data/generators/gateway/gateway_generator.rb +61 -0
- data/generators/gateway/templates/gateway.rb +77 -0
- data/generators/gateway/templates/gateway_test.rb +49 -0
- data/generators/gateway/templates/remote_gateway_test.rb +57 -0
- data/generators/integration/USAGE +5 -0
- data/generators/integration/integration_generator.rb +68 -0
- data/generators/integration/templates/helper.rb +34 -0
- data/generators/integration/templates/helper_test.rb +54 -0
- data/generators/integration/templates/integration.rb +18 -0
- data/generators/integration/templates/module_test.rb +9 -0
- data/generators/integration/templates/notification.rb +100 -0
- data/generators/integration/templates/notification_test.rb +41 -0
- data/init.rb +3 -0
- data/lib/active_merchant/billing/gateways/payflow_nvp_uk.rb +18 -11
- data/lib/active_merchant/version.rb +3 -0
- data/lib/active_merchant.rb +1 -0
- data/script/destroy +14 -0
- data/script/generate +14 -0
- data/test/fixtures.yml +355 -0
- data/test/remote/gateways/remote_authorize_net_cim_test.rb +460 -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 +147 -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 +356 -0
- data/test/remote/gateways/remote_efsnet_test.rb +81 -0
- data/test/remote/gateways/remote_elavon_test.rb +66 -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_first_pay_test.rb +87 -0
- data/test/remote/gateways/remote_instapay_test.rb +61 -0
- data/test/remote/gateways/remote_jetpay_test.rb +103 -0
- data/test/remote/gateways/remote_linkpoint_test.rb +121 -0
- data/test/remote/gateways/remote_merchant_e_solutions_test.rb +173 -0
- data/test/remote/gateways/remote_merchant_ware_test.rb +113 -0
- data/test/remote/gateways/remote_modern_payments_cim_test.rb +58 -0
- data/test/remote/gateways/remote_modern_payments_test.rb +57 -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_ogone_test.rb +115 -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_nvp_uk_test.rb +57 -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 +191 -0
- data/test/remote/gateways/remote_plugnpay_test.rb +72 -0
- data/test/remote/gateways/remote_psigate_test.rb +50 -0
- data/test/remote/gateways/remote_psl_card_test.rb +123 -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_pay_test.rb +219 -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_sallie_mae_test.rb +51 -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 +184 -0
- data/test/unit/avs_result_test.rb +59 -0
- data/test/unit/base_test.rb +54 -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 +179 -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 +32 -0
- data/test/unit/gateways/authorize_net_cim_test.rb +676 -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 +144 -0
- data/test/unit/gateways/bogus_test.rb +58 -0
- data/test/unit/gateways/braintree_test.rb +118 -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/elavon_test.rb +139 -0
- data/test/unit/gateways/eway_test.rb +118 -0
- data/test/unit/gateways/exact_test.rb +156 -0
- data/test/unit/gateways/first_pay_test.rb +125 -0
- data/test/unit/gateways/gateway_test.rb +48 -0
- data/test/unit/gateways/instapay_test.rb +102 -0
- data/test/unit/gateways/jetpay_test.rb +185 -0
- data/test/unit/gateways/linkpoint_test.rb +197 -0
- data/test/unit/gateways/merchant_e_solutions_test.rb +169 -0
- data/test/unit/gateways/merchant_ware_test.rb +188 -0
- data/test/unit/gateways/modern_payments_cim_test.rb +162 -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/ogone_test.rb +319 -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_nvp_uk_test.rb +201 -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 +569 -0
- data/test/unit/gateways/plugnpay_test.rb +86 -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 +196 -0
- data/test/unit/gateways/sage_pay_test.rb +139 -0
- data/test/unit/gateways/sage_virtual_check_test.rb +71 -0
- data/test/unit/gateways/sallie_mae_test.rb +53 -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 +101 -0
- data/test/unit/gateways/skip_jack_test.rb +228 -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 +110 -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 +171 -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
- data.tar.gz.sig +0 -0
- metadata +453 -107
- metadata.gz.sig +0 -0
@@ -30,6 +30,7 @@ module ActiveMerchant #:nodoc:
|
|
30
30
|
self.default_currency = 'GBP'
|
31
31
|
self.partner = 'PayPalUk'
|
32
32
|
self.money_format = :dollars
|
33
|
+
self.timeout = 30
|
33
34
|
|
34
35
|
TRANSACTIONS = {
|
35
36
|
:purchase => "S",
|
@@ -239,22 +240,22 @@ module ActiveMerchant #:nodoc:
|
|
239
240
|
#
|
240
241
|
# ==== Parameters
|
241
242
|
#
|
242
|
-
# * <tt>profile_id</tt>
|
243
|
-
# * <tt>options</tt>
|
243
|
+
# * <tt>profile_id</tt> - the id of the recurring profile we want to get the details of.
|
244
|
+
# * <tt>options</tt> - not currently used
|
244
245
|
def recurring_inquiry(profile_id, options = {})
|
245
246
|
post = {}
|
246
247
|
|
247
248
|
post[:action] = RECURRING_ACTIONS[:inquiry]
|
248
249
|
post[:origprofileid] = profile_id.to_s
|
249
250
|
|
250
|
-
commit(TRANSACTIONS[:recurring], nil,
|
251
|
+
commit(TRANSACTIONS[:recurring], nil, post)
|
251
252
|
end
|
252
253
|
|
253
254
|
# Cancel a recurring profile.
|
254
255
|
#
|
255
256
|
# ==== Parameters
|
256
257
|
#
|
257
|
-
# * <tt>profile_id</tt>
|
258
|
+
# * <tt>profile_id</tt> - the id of the recurring profile to cancel
|
258
259
|
def cancel_recurring(profile_id)
|
259
260
|
post = {}
|
260
261
|
|
@@ -281,12 +282,12 @@ module ActiveMerchant #:nodoc:
|
|
281
282
|
post[prefix+"city"] = address[:city].to_s
|
282
283
|
post[prefix+"state"] = address[:state].blank? ? 'n/a' : address[:state]
|
283
284
|
post[prefix+"country"] = address[:country].to_s
|
284
|
-
post[prefix+"zip"] = address[:zip].to_s
|
285
|
+
post[prefix+"zip"] = address[:zip].to_s.sub(/\s+/,'')
|
285
286
|
end
|
286
287
|
end
|
287
288
|
|
288
289
|
def add_invoice(post, options)
|
289
|
-
post[:invnum] = options[:order_id].to_s.slice(0,127)
|
290
|
+
post[:invnum] = (options[:invoice] || options[:order_id]).to_s.slice(0,127) if options.has_key?(:invoice) || options.has_key?(:order_id)
|
290
291
|
end
|
291
292
|
|
292
293
|
def add_creditcard(post, creditcard)
|
@@ -301,7 +302,6 @@ module ActiveMerchant #:nodoc:
|
|
301
302
|
post[:currency] = options[:currency] || currency(money)
|
302
303
|
end
|
303
304
|
|
304
|
-
# need to add START, TERM, PAYPERIOD, ACTION
|
305
305
|
def add_recurring_info(post, creditcard, options)
|
306
306
|
post[:action] = options.has_key?(:profile_id) ? RECURRING_ACTIONS[:modify] : RECURRING_ACTIONS[:create]
|
307
307
|
post[:start] = format_date(options[:starting_at])
|
@@ -341,9 +341,13 @@ module ActiveMerchant #:nodoc:
|
|
341
341
|
post = {}
|
342
342
|
post[:user] = @options[:login]
|
343
343
|
post[:pwd] = @options[:password]
|
344
|
+
post[:partner] = @options[:partner]
|
345
|
+
post[:vendor] = @options[:login]
|
344
346
|
post[:trxtype] = action if action
|
347
|
+
post[:tender] = "C"
|
348
|
+
post[:verbosity] = "MEDIUM"
|
345
349
|
|
346
|
-
request = post.merge(parameters).map { |key, value| "#{key}=#{CGI.escape(value.to_s)}" }.join("&")
|
350
|
+
request = post.merge(parameters).map { |key, value| "#{key.to_s.upcase}=#{CGI.escape(value.to_s)}" }.join("&")
|
347
351
|
request
|
348
352
|
end
|
349
353
|
|
@@ -353,22 +357,25 @@ module ActiveMerchant #:nodoc:
|
|
353
357
|
"Content-Length" => content_length.to_s,
|
354
358
|
"X-VPS-Client-Timeout" => timeout.to_s,
|
355
359
|
"X-VPS-VIT-Integration-Product" => "ActiveMerchant",
|
360
|
+
"X-VPS-VIT-Integration-Version" => ActiveMerchant::VERSION,
|
356
361
|
"X-VPS-VIT-Runtime-Version" => RUBY_VERSION,
|
357
362
|
"X-VPS-Request-ID" => Utils.generate_unique_id
|
358
363
|
}
|
359
364
|
end
|
360
365
|
|
361
366
|
def commit(action, money, parameters)
|
367
|
+
parameters[:amt] = amount(money) if money
|
368
|
+
|
362
369
|
request = build_request(parameters, action)
|
363
370
|
headers = build_headers(request.size)
|
364
371
|
|
365
|
-
parameters[:amount] = amount(money) if money
|
366
372
|
response = parse(ssl_post(test? ? TEST_URL : LIVE_URL, request, headers))
|
373
|
+
|
367
374
|
Response.new(response["RESULT"] == "0", response["RESPMSG"], response,
|
368
375
|
:authorization => response["PNREF"],
|
369
376
|
:test => test?,
|
370
|
-
:cvv_result => response["
|
371
|
-
:avs_result => { :code => response["
|
377
|
+
:cvv_result => response["PROCCVV2"],
|
378
|
+
:avs_result => { :code => response["PROCAVS"], :postal_match => response["AVSZIP"], :street_match => response["AVSADDR"] }
|
372
379
|
)
|
373
380
|
|
374
381
|
end
|
data/lib/active_merchant.rb
CHANGED
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,355 @@
|
|
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
|
+
elavon:
|
48
|
+
login: LOGIN
|
49
|
+
password: PASSWORD
|
50
|
+
|
51
|
+
# Working credentials, no need to replace
|
52
|
+
eway:
|
53
|
+
login: '87654321'
|
54
|
+
|
55
|
+
# Working credentials, no need to replace
|
56
|
+
exact:
|
57
|
+
login: "A00427-01"
|
58
|
+
password: testus
|
59
|
+
|
60
|
+
first_pay:
|
61
|
+
login:
|
62
|
+
password:
|
63
|
+
|
64
|
+
ideal_ing_postbank:
|
65
|
+
login: LOGIN
|
66
|
+
password: PASSWORD
|
67
|
+
pem: |--
|
68
|
+
PASTE YOUR PEM FILE HERE
|
69
|
+
|
70
|
+
instapay:
|
71
|
+
login: TEST0
|
72
|
+
password:
|
73
|
+
|
74
|
+
jetpay:
|
75
|
+
login: TESTTERMINAL
|
76
|
+
|
77
|
+
linkpoint:
|
78
|
+
login: STOREID
|
79
|
+
pem: |--
|
80
|
+
PASTE YOUR PEM FILE HERE
|
81
|
+
|
82
|
+
merchant_ware:
|
83
|
+
login:
|
84
|
+
password:
|
85
|
+
name:
|
86
|
+
|
87
|
+
modern_payments:
|
88
|
+
login: login
|
89
|
+
password: password
|
90
|
+
|
91
|
+
# Working credentials, no need to replace
|
92
|
+
moneris:
|
93
|
+
login: store1
|
94
|
+
password: yesguy
|
95
|
+
|
96
|
+
# Working credentials, no need to replace
|
97
|
+
# Contact Netbilling for login info to the admin area
|
98
|
+
netbilling:
|
99
|
+
login: '104901072025'
|
100
|
+
|
101
|
+
net_registry:
|
102
|
+
login: X
|
103
|
+
password: Y
|
104
|
+
|
105
|
+
ogone:
|
106
|
+
login: LOGIN
|
107
|
+
user: USER
|
108
|
+
password: PASSWORD
|
109
|
+
signature: SIGNATURE
|
110
|
+
|
111
|
+
payflow:
|
112
|
+
login: LOGIN
|
113
|
+
password: PASSWORD
|
114
|
+
partner: PayPal
|
115
|
+
|
116
|
+
payflow_uk:
|
117
|
+
login: LOGIN
|
118
|
+
password: PASSWORD
|
119
|
+
partner: PayPalUk
|
120
|
+
|
121
|
+
# Working credentials, no need to replace
|
122
|
+
pay_junction:
|
123
|
+
login: 'pj-ql-01'
|
124
|
+
password: 'pj-ql-01p'
|
125
|
+
|
126
|
+
payment_express:
|
127
|
+
login: LOGIN
|
128
|
+
password: PASSWORD
|
129
|
+
|
130
|
+
# You can use either your API PEM file or API signature with PayPal.
|
131
|
+
paypal_certificate:
|
132
|
+
login: LOGIN
|
133
|
+
password: PASSWORD
|
134
|
+
subject:
|
135
|
+
pem: |--
|
136
|
+
PASTE YOUR PEM FILE HERE
|
137
|
+
|
138
|
+
paypal_signature:
|
139
|
+
login: LOGIN
|
140
|
+
password: PASSWORD
|
141
|
+
signature: SIGNATURE
|
142
|
+
|
143
|
+
pay_secure:
|
144
|
+
login: LOGIN
|
145
|
+
password: PASSWORD
|
146
|
+
|
147
|
+
plugnpay:
|
148
|
+
login: LOGIN
|
149
|
+
password: PASSWORD
|
150
|
+
|
151
|
+
sage_pay:
|
152
|
+
login: LOGIN
|
153
|
+
|
154
|
+
# Working credentials, no need to replace
|
155
|
+
psigate:
|
156
|
+
login: teststore
|
157
|
+
password: psigate1234
|
158
|
+
|
159
|
+
psl_card:
|
160
|
+
login: LOGIN
|
161
|
+
|
162
|
+
# PSL doesn't want the test data made public
|
163
|
+
psl_maestro:
|
164
|
+
number:
|
165
|
+
month:
|
166
|
+
year:
|
167
|
+
verification_value:
|
168
|
+
issue_number:
|
169
|
+
|
170
|
+
psl_maestro_address:
|
171
|
+
address1:
|
172
|
+
address2:
|
173
|
+
city:
|
174
|
+
state:
|
175
|
+
zip:
|
176
|
+
|
177
|
+
psl_solo:
|
178
|
+
number:
|
179
|
+
month:
|
180
|
+
year:
|
181
|
+
verification_value:
|
182
|
+
issue_number:
|
183
|
+
|
184
|
+
psl_solo_address:
|
185
|
+
address1:
|
186
|
+
city:
|
187
|
+
state:
|
188
|
+
zip:
|
189
|
+
|
190
|
+
psl_visa:
|
191
|
+
number:
|
192
|
+
month:
|
193
|
+
year:
|
194
|
+
verification_value:
|
195
|
+
|
196
|
+
psl_visa_address:
|
197
|
+
address1:
|
198
|
+
address2:
|
199
|
+
address3:
|
200
|
+
city:
|
201
|
+
zip:
|
202
|
+
|
203
|
+
psl_visa_debit:
|
204
|
+
first_name:
|
205
|
+
last_name:
|
206
|
+
number:
|
207
|
+
month:
|
208
|
+
year:
|
209
|
+
verification_value:
|
210
|
+
|
211
|
+
psl_visa_debit_address:
|
212
|
+
address1:
|
213
|
+
address2:
|
214
|
+
address3:
|
215
|
+
city:
|
216
|
+
state:
|
217
|
+
zip:
|
218
|
+
|
219
|
+
quickpay:
|
220
|
+
login: 89898989
|
221
|
+
password: "n5KrR5e2538awi9hUk6728LHTQ6E4uG1z4IFSb2pPN9j76DqJ2vA4698X315M1cd"
|
222
|
+
|
223
|
+
realex:
|
224
|
+
login: X
|
225
|
+
password: Y
|
226
|
+
|
227
|
+
realex_with_account:
|
228
|
+
login: X
|
229
|
+
password: Y
|
230
|
+
account: testaccount
|
231
|
+
|
232
|
+
# Realex doesn't provide public testing data
|
233
|
+
# Fill in the card numbers with the Realex test
|
234
|
+
# data.
|
235
|
+
realex_visa:
|
236
|
+
number:
|
237
|
+
month: '6'
|
238
|
+
year: '2020'
|
239
|
+
verification_value: '123'
|
240
|
+
|
241
|
+
realex_visa_declined:
|
242
|
+
number:
|
243
|
+
month: '6'
|
244
|
+
year: '2020'
|
245
|
+
verification_value: '123'
|
246
|
+
|
247
|
+
realex_visa_referral_a:
|
248
|
+
number:
|
249
|
+
month: '6'
|
250
|
+
year: '2020'
|
251
|
+
verification_value: '123'
|
252
|
+
|
253
|
+
realex_visa_referral_b:
|
254
|
+
number:
|
255
|
+
month: '6'
|
256
|
+
year: '2020'
|
257
|
+
verification_value: '123'
|
258
|
+
|
259
|
+
realex_visa_coms_error:
|
260
|
+
number:
|
261
|
+
month: '6'
|
262
|
+
year: '2020'
|
263
|
+
verification_value: '123'
|
264
|
+
|
265
|
+
realex_mastercard:
|
266
|
+
number:
|
267
|
+
month: '6'
|
268
|
+
year: '2020'
|
269
|
+
verification_value: '123'
|
270
|
+
|
271
|
+
realex_mastercard_declined:
|
272
|
+
number:
|
273
|
+
month: '6'
|
274
|
+
year: '2020'
|
275
|
+
verification_value: '123'
|
276
|
+
|
277
|
+
realex_mastercard_referral_a:
|
278
|
+
number:
|
279
|
+
month: '6'
|
280
|
+
year: '2020'
|
281
|
+
verification_value: '123'
|
282
|
+
|
283
|
+
realex_mastercard_referral_b:
|
284
|
+
number:
|
285
|
+
month: '6'
|
286
|
+
year: '2020'
|
287
|
+
verification_value: '123'
|
288
|
+
|
289
|
+
realex_mastercard_coms_error:
|
290
|
+
number:
|
291
|
+
month: '6'
|
292
|
+
year: '2020'
|
293
|
+
verification_value: '123'
|
294
|
+
|
295
|
+
sage:
|
296
|
+
login: login
|
297
|
+
password: password
|
298
|
+
|
299
|
+
sallie_mae:
|
300
|
+
login: TEST0
|
301
|
+
|
302
|
+
secure_pay:
|
303
|
+
login: LOGIN
|
304
|
+
password: PASSWORD
|
305
|
+
|
306
|
+
secure_pay_tech:
|
307
|
+
login: TESTDIGISPL1
|
308
|
+
password: d557591484cb2cd12bba445aba420d2c69cd6a88
|
309
|
+
|
310
|
+
secure_pay_au:
|
311
|
+
login:
|
312
|
+
password:
|
313
|
+
|
314
|
+
# Replace with your serial numbers for the skipjack test environment
|
315
|
+
skipjack:
|
316
|
+
login: X
|
317
|
+
password: Y
|
318
|
+
|
319
|
+
trans_first:
|
320
|
+
login: LOGIN
|
321
|
+
password: PASSWORD
|
322
|
+
|
323
|
+
transax:
|
324
|
+
login: demo
|
325
|
+
password: password
|
326
|
+
|
327
|
+
# Working credentials, no need to replace
|
328
|
+
trust_commerce:
|
329
|
+
login: 'TestMerchant'
|
330
|
+
password: 'password'
|
331
|
+
|
332
|
+
# Working credentials, no need to replace
|
333
|
+
usa_epay:
|
334
|
+
login: 'yCaWGYQsSVR0S48B6AKMK07RQhaxHvGu'
|
335
|
+
|
336
|
+
# Working credentials, no need to replace
|
337
|
+
verify:
|
338
|
+
login: 'demo'
|
339
|
+
password: 'password'
|
340
|
+
|
341
|
+
viaklix:
|
342
|
+
login: LOGIN
|
343
|
+
password: PASSWORD
|
344
|
+
user: USER
|
345
|
+
|
346
|
+
# Working test credentials, no need to replace
|
347
|
+
wirecard:
|
348
|
+
login: 56500
|
349
|
+
password: TestXAPTER
|
350
|
+
|
351
|
+
# replace with your Merchant eSolutions developer profile credentials
|
352
|
+
merchant_esolutions:
|
353
|
+
login: "profile_id"
|
354
|
+
password: "profile_key"
|
355
|
+
|