active_merchant_first_data 1.3.0 → 1.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +2 -2
- data/lib/active_merchant/billing/first_data_gateway.rb +33 -33
- data/lib/active_merchant_first_data.rb +1 -0
- metadata +17 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0d8a8253a5c8c99da7895de4a2d2e6c8cfe9777a
|
4
|
+
data.tar.gz: 17a9371dc03eee59990d7b0f7e3deff0011f6f30
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 70fae850975efa07b2bcae7bb1e6e114d748d03744072fdbb5aa13e2e691a684b9c3f7ddafaea84bf24f55b3172ae869e0984e950531108bcdbc75fe8a588fb7
|
7
|
+
data.tar.gz: abea06efb18b17dac221c21b63e7a4b0076c13757653e42dab129d34a67f0ca5d05ef84f08ee0747a7cadaf53c3d18f295a33b950277782b49b9e53fd43c4908
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
First Data Latvia gateway for Active Merchant
|
2
2
|
=============================================
|
3
3
|
|
4
|
-
[![
|
4
|
+
[![Build Status](https://travis-ci.org/ebeigarts/active_merchant_first_data.svg?branch=master)](https://travis-ci.org/ebeigarts/active_merchant_first_data)
|
5
5
|
|
6
6
|
## Install
|
7
7
|
|
@@ -15,7 +15,7 @@ $ gem install active_merchant_first_data
|
|
15
15
|
require "active_merchant_first_data"
|
16
16
|
|
17
17
|
gateway = ActiveMerchant::Billing::FirstDataGateway.new(
|
18
|
-
pem:
|
18
|
+
pem: File.read("1234567_keystore.pem"),
|
19
19
|
pem_password: "5x64jq8n234c"
|
20
20
|
)
|
21
21
|
|
@@ -5,39 +5,39 @@ module ActiveMerchant #:nodoc:
|
|
5
5
|
CURRENCY_CODES = {
|
6
6
|
'ADP' => '020', 'AED' => '784', 'AFA' => '004', 'ALL' => '008', 'AMD' => '051',
|
7
7
|
'ANG' => '532', 'AOA' => '973', 'ARS' => '032', 'AUD' => '036', 'AWG' => '533',
|
8
|
-
'AZM' => '031', '
|
9
|
-
'
|
10
|
-
'
|
11
|
-
'
|
12
|
-
'
|
13
|
-
'
|
14
|
-
'
|
15
|
-
'
|
16
|
-
'
|
17
|
-
'
|
18
|
-
'
|
19
|
-
'
|
20
|
-
'
|
21
|
-
'
|
22
|
-
'
|
23
|
-
'
|
24
|
-
'
|
25
|
-
'
|
26
|
-
'
|
27
|
-
'
|
28
|
-
'
|
29
|
-
'
|
30
|
-
'
|
31
|
-
'
|
32
|
-
'
|
33
|
-
'
|
34
|
-
'
|
35
|
-
'
|
36
|
-
'
|
37
|
-
'
|
38
|
-
'
|
39
|
-
'
|
40
|
-
'ZMK' => '894', 'ZWD' => '716'
|
8
|
+
'AZM' => '031', 'AZN' => '944', 'BAM' => '977', 'BBD' => '052', 'BDT' => '050',
|
9
|
+
'BGL' => '100', 'BGN' => '975', 'BHD' => '048', 'BIF' => '108', 'BMD' => '060',
|
10
|
+
'BND' => '096', 'BOB' => '068', 'BOV' => '984', 'BRL' => '986', 'BSD' => '044',
|
11
|
+
'BTN' => '064', 'BWP' => '072', 'BYR' => '974', 'BZD' => '084', 'CAD' => '124',
|
12
|
+
'CDF' => '976', 'CHF' => '756', 'CLF' => '990', 'CLP' => '152', 'CNY' => '156',
|
13
|
+
'COP' => '170', 'CRC' => '188', 'CUP' => '192', 'CVE' => '132', 'CYP' => '196',
|
14
|
+
'CZK' => '203', 'DJF' => '262', 'DKK' => '208', 'DOP' => '214', 'DZD' => '012',
|
15
|
+
'ECS' => '218', 'ECV' => '983', 'EEK' => '233', 'EGP' => '818', 'ERN' => '232',
|
16
|
+
'ETB' => '230', 'EUR' => '978', 'FJD' => '242', 'FKP' => '238', 'GBP' => '826',
|
17
|
+
'GEL' => '981', 'GHC' => '288', 'GIP' => '292', 'GMD' => '270', 'GNF' => '324',
|
18
|
+
'GTQ' => '320', 'GWP' => '624', 'GYD' => '328', 'HKD' => '344', 'HNL' => '340',
|
19
|
+
'HRK' => '191', 'HTG' => '332', 'HUF' => '348', 'IDR' => '360', 'ILS' => '376',
|
20
|
+
'INR' => '356', 'IQD' => '368', 'IRR' => '364', 'ISK' => '352', 'JMD' => '388',
|
21
|
+
'JOD' => '400', 'JPY' => '392', 'KES' => '404', 'KGS' => '417', 'KHR' => '116',
|
22
|
+
'KMF' => '174', 'KPW' => '408', 'KRW' => '410', 'KWD' => '414', 'KYD' => '136',
|
23
|
+
'KZT' => '398', 'LAK' => '418', 'LBP' => '422', 'LKR' => '144', 'LRD' => '430',
|
24
|
+
'LSL' => '426', 'LTL' => '440', 'LVL' => '428', 'LYD' => '434', 'MAD' => '504',
|
25
|
+
'MDL' => '498', 'MGF' => '450', 'MKD' => '807', 'MMK' => '104', 'MNT' => '496',
|
26
|
+
'MOP' => '446', 'MRO' => '478', 'MTL' => '470', 'MUR' => '480', 'MVR' => '462',
|
27
|
+
'MWK' => '454', 'MXN' => '484', 'MXV' => '979', 'MYR' => '458', 'MZM' => '508',
|
28
|
+
'NAD' => '516', 'NGN' => '566', 'NIO' => '558', 'NOK' => '578', 'NPR' => '524',
|
29
|
+
'NZD' => '554', 'OMR' => '512', 'PAB' => '590', 'PEN' => '604', 'PGK' => '598',
|
30
|
+
'PHP' => '608', 'PKR' => '586', 'PLN' => '985', 'PYG' => '600', 'QAR' => '634',
|
31
|
+
'ROL' => '642', 'RON' => '946', 'RUB' => '643', 'RUR' => '810', 'RWF' => '646',
|
32
|
+
'SAR' => '682', 'SBD' => '090', 'SCR' => '690', 'SDD' => '736', 'SEK' => '752',
|
33
|
+
'SGD' => '702', 'SHP' => '654', 'SIT' => '705', 'SKK' => '703', 'SLL' => '694',
|
34
|
+
'SOS' => '706', 'SRG' => '740', 'STD' => '678', 'SVC' => '222', 'SYP' => '760',
|
35
|
+
'SZL' => '748', 'THB' => '764', 'TJS' => '972', 'TMM' => '795', 'TND' => '788',
|
36
|
+
'TOP' => '776', 'TPE' => '626', 'TRL' => '792', 'TRY' => '949', 'TTD' => '780',
|
37
|
+
'TWD' => '901', 'TZS' => '834', 'UAH' => '980', 'UGX' => '800', 'USD' => '840',
|
38
|
+
'UYU' => '858', 'UZS' => '860', 'VEB' => '862', 'VND' => '704', 'VUV' => '548',
|
39
|
+
'XAF' => '950', 'XCD' => '951', 'XOF' => '952', 'XPF' => '953', 'YER' => '886',
|
40
|
+
'YUM' => '891', 'ZAR' => '710', 'ZMK' => '894', 'ZWD' => '716'
|
41
41
|
}
|
42
42
|
|
43
43
|
class_attribute :test_url, :live_url, :test_redirect_url, :live_redirect_url, :pem_file, :pem_password
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: active_merchant_first_data
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Edgars Beigarts
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-03-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activemerchant
|
@@ -80,6 +80,20 @@ dependencies:
|
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '1.3'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: activesupport
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '5'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '5'
|
83
97
|
description: First Data Latvia gateway for Active Merchant
|
84
98
|
email:
|
85
99
|
- edgars.beigarts@makit.lv
|
@@ -112,7 +126,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
112
126
|
version: '0'
|
113
127
|
requirements: []
|
114
128
|
rubyforge_project:
|
115
|
-
rubygems_version: 2.
|
129
|
+
rubygems_version: 2.6.14
|
116
130
|
signing_key:
|
117
131
|
specification_version: 4
|
118
132
|
summary: First Data Latvia gateway for Active Merchant
|