transfirst-ruby 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.gitignore +10 -0
- data/Gemfile +8 -0
- data/LICENSE.txt +21 -0
- data/README.md +37 -0
- data/Rakefile +2 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/lib/transfirst.rb +63 -0
- data/lib/transfirst/account_verification.rb +45 -0
- data/lib/transfirst/customer.rb +51 -0
- data/lib/transfirst/response_codes.rb +102 -0
- data/lib/transfirst/ruby/version.rb +5 -0
- data/lib/transfirst/transfirst_error.rb +52 -0
- data/lib/transfirst/wallet.rb +63 -0
- data/lib/transfirst/wallet_refund.rb +42 -0
- data/lib/transfirst/wallet_sale.rb +42 -0
- data/lib/transfirst/wsdl/reports.wsdl +1 -0
- data/lib/transfirst/wsdl/transfirst-v1.wsdl +162 -0
- data/transfirst-ruby.gemspec +24 -0
- metadata +92 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 65e92e5ee18e8defe42badb9c109b1ebcce69734
|
4
|
+
data.tar.gz: 34400287e77cfc82ad4a2172876f0c40a04c3727
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 756d1836d4e166e6b56abca34f6949c4f3090b065c31b3fe820fe3e32d44a29f6af97f33a6ca6a1686e01dde11d9d49b7551609aed0d2b6d69ef307a8d84bd29
|
7
|
+
data.tar.gz: 0ae24e0ddae235840b84ae56ed74ff5169517a5eb935d16c6c33f1bc742023041e3d47e4ec3665d76daacef57e00403f0893d93bb6ea624b48f2a845f99e8ce4
|
data/.gitignore
ADDED
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2016 Sambit Mohanty
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,37 @@
|
|
1
|
+
# transfirst-ruby
|
2
|
+
|
3
|
+
|
4
|
+
## Installation
|
5
|
+
|
6
|
+
Add this line to your application's Gemfile:
|
7
|
+
|
8
|
+
```ruby
|
9
|
+
gem 'transfirst-ruby'
|
10
|
+
```
|
11
|
+
|
12
|
+
And then execute:
|
13
|
+
|
14
|
+
$ bundle
|
15
|
+
|
16
|
+
Or install it yourself as:
|
17
|
+
|
18
|
+
$ gem install transfirst-ruby
|
19
|
+
|
20
|
+
## Usage
|
21
|
+
|
22
|
+
A flexible integration of Transfirst API
|
23
|
+
|
24
|
+
## Development
|
25
|
+
|
26
|
+
After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
27
|
+
|
28
|
+
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
29
|
+
|
30
|
+
## Contributing
|
31
|
+
|
32
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/andola-dev/transfirst-ruby/issues. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
33
|
+
|
34
|
+
|
35
|
+
## License
|
36
|
+
|
37
|
+
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
data/Rakefile
ADDED
data/bin/console
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require 'bundler/setup'
|
4
|
+
require 'transfirst'
|
5
|
+
|
6
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
+
# with your gem easier. You can also use a different console, if you like.
|
8
|
+
|
9
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
+
# require "pry"
|
11
|
+
# Pry.start
|
12
|
+
|
13
|
+
require 'irb'
|
14
|
+
IRB.start
|
data/bin/setup
ADDED
data/lib/transfirst.rb
ADDED
@@ -0,0 +1,63 @@
|
|
1
|
+
require 'transfirst/ruby/version'
|
2
|
+
require 'savon'
|
3
|
+
require 'nokogiri'
|
4
|
+
require 'transfirst/transfirst_error'
|
5
|
+
require 'transfirst/response_codes'
|
6
|
+
|
7
|
+
module Transfirst
|
8
|
+
class API
|
9
|
+
ADD_ENTITY = 0
|
10
|
+
UPDATE_ENTITY = 1
|
11
|
+
STATUS_ACTIVE = 1
|
12
|
+
STATUS_INACTIVE = 0
|
13
|
+
NO_API_ERROR = 'No API object configured'
|
14
|
+
RECURRING = 1
|
15
|
+
VERSION='v1'
|
16
|
+
MERCHANT_WEB_SERVICE = 1
|
17
|
+
MERCHANT_PROD_TYPE = 5 #4 = ACH, 5 = Debit Card/Credit Card
|
18
|
+
XSD_PATH='http://postilion/realtime/merchantframework/xsd/v1/'
|
19
|
+
|
20
|
+
attr_reader :client, :gateway_id, :registration_key
|
21
|
+
|
22
|
+
def initialize(credentials = {})
|
23
|
+
@gateway_id = credentials.fetch(:gateway_id)
|
24
|
+
@registration_key = credentials.fetch(:registration_key)
|
25
|
+
end
|
26
|
+
|
27
|
+
def make_request(opname, body)
|
28
|
+
begin
|
29
|
+
response = soap_client.call(opname, xml: body, soap_action: nil)
|
30
|
+
response.body
|
31
|
+
rescue Savon::SOAPFault => e
|
32
|
+
Transfirst::TransfirstError.new(e).message
|
33
|
+
end
|
34
|
+
end
|
35
|
+
|
36
|
+
|
37
|
+
def register
|
38
|
+
case self.class.name
|
39
|
+
when 'Transfirst::Customer', 'Transfirst::Wallet'
|
40
|
+
@resp = api.make_request(:updt_recurr_prof, @body)
|
41
|
+
when 'Transfirst::WalletSale', 'Transfirst::WalletRefund', 'Transfirst::AccountVerification'
|
42
|
+
@resp = api.make_request(:send_tran, @body)
|
43
|
+
else
|
44
|
+
end
|
45
|
+
@resp
|
46
|
+
end
|
47
|
+
|
48
|
+
private
|
49
|
+
def soap_client
|
50
|
+
document = wsdl_path
|
51
|
+
@client ||= Savon::Client.new do
|
52
|
+
ssl_verify_mode :none
|
53
|
+
log true if ENV['DEBUG']
|
54
|
+
pretty_print_xml true
|
55
|
+
wsdl document
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
def wsdl_path
|
60
|
+
File.expand_path(File.join(__FILE__, '../transfirst/wsdl/transfirst-v1.wsdl'))
|
61
|
+
end
|
62
|
+
end
|
63
|
+
end
|
@@ -0,0 +1,45 @@
|
|
1
|
+
module Transfirst
|
2
|
+
class AccountVerification < API
|
3
|
+
attr_accessor :addrLn1, :zipCode, :pan, :sec, :xprDt, :api
|
4
|
+
|
5
|
+
def initialize(*args)
|
6
|
+
api, attrs = *args
|
7
|
+
@api = api
|
8
|
+
@body = build_request(attrs)
|
9
|
+
end
|
10
|
+
|
11
|
+
private
|
12
|
+
|
13
|
+
def build_request attrs
|
14
|
+
namespaces = {
|
15
|
+
'xmlns:soapenv' => 'http://schemas.xmlsoap.org/soap/envelope/',
|
16
|
+
"xmlns:#{VERSION}" => XSD_PATH
|
17
|
+
}
|
18
|
+
req_builder = Nokogiri::XML::Builder.new do |xml|
|
19
|
+
xml['soapenv'].Envelope(namespaces) do
|
20
|
+
xml['soapenv'].Header
|
21
|
+
xml['soapenv'].Body do
|
22
|
+
xml[VERSION].send('SendTranRequest') do
|
23
|
+
xml[VERSION].merc do
|
24
|
+
xml[VERSION].id @api.gateway_id
|
25
|
+
xml[VERSION].regKey @api.registration_key
|
26
|
+
xml[VERSION].inType MERCHANT_WEB_SERVICE
|
27
|
+
end
|
28
|
+
xml[VERSION].tranCode 9 #Account Verification Only
|
29
|
+
xml[VERSION].card do
|
30
|
+
xml[VERSION].pan attrs[:pan]
|
31
|
+
xml[VERSION].sec attrs[:sec]
|
32
|
+
xml[VERSION].xprDt attrs[:xprDt]
|
33
|
+
end
|
34
|
+
xml[VERSION].contact do
|
35
|
+
xml[VERSION].addrLn1 attrs[:addrLn1]
|
36
|
+
xml[VERSION].zipCode attrs[:zipCode]
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
42
|
+
req_builder.to_xml :save_with => Nokogiri::XML::Node::SaveOptions::NO_DECLARATION
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
@@ -0,0 +1,51 @@
|
|
1
|
+
module Transfirst
|
2
|
+
class Customer < API
|
3
|
+
BUSINESS_PHONE = 3
|
4
|
+
RECURRING_PAYMENT = 1
|
5
|
+
|
6
|
+
FETCH_NODE = 'custCrta'
|
7
|
+
FETCH_ID = 'id'
|
8
|
+
|
9
|
+
attr_accessor :full_name, :phone_number, :address_line1, :address_line2,
|
10
|
+
:city, :state, :zip_code, :country, :email, :tf_id, :api, :status
|
11
|
+
|
12
|
+
def initialize(*args)
|
13
|
+
api, attrs = *args
|
14
|
+
@api = api
|
15
|
+
@body = build_request(attrs)
|
16
|
+
end
|
17
|
+
|
18
|
+
private
|
19
|
+
|
20
|
+
def build_request attrs
|
21
|
+
namespaces = {
|
22
|
+
'xmlns:soapenv' => 'http://schemas.xmlsoap.org/soap/envelope/',
|
23
|
+
"xmlns:#{VERSION}" => XSD_PATH
|
24
|
+
}
|
25
|
+
req_builder = Nokogiri::XML::Builder.new do |xml|
|
26
|
+
xml['soapenv'].Envelope(namespaces) do
|
27
|
+
xml['soapenv'].Header
|
28
|
+
xml['soapenv'].Body do
|
29
|
+
xml[VERSION].send('UpdtRecurrProfRequest') do
|
30
|
+
xml[VERSION].merc do
|
31
|
+
xml[VERSION].id @api.gateway_id
|
32
|
+
xml[VERSION].regKey @api.registration_key
|
33
|
+
xml[VERSION].inType MERCHANT_WEB_SERVICE
|
34
|
+
end
|
35
|
+
xml[VERSION].cust do
|
36
|
+
xml[VERSION].type 0 #0 adding new customer 1 updating customer
|
37
|
+
xml[VERSION].contact do
|
38
|
+
xml[VERSION].fullName attrs[:full_name]
|
39
|
+
xml[VERSION].ctry 'US'
|
40
|
+
xml[VERSION].type 1 #This is an indicator of where the customer profile information is used. 1 = Recurring
|
41
|
+
xml[VERSION].stat 1 #0 = Inactive
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
req_builder.to_xml :save_with => Nokogiri::XML::Node::SaveOptions::NO_DECLARATION
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
@@ -0,0 +1,102 @@
|
|
1
|
+
RESPONSE_CODES = {
|
2
|
+
'00' => 'Approved or completed successfully',
|
3
|
+
'01' => 'Refer to card issuer',
|
4
|
+
'02' => 'Refer to card issuer, special condition',
|
5
|
+
'03' => 'Invalid merchant',
|
6
|
+
'04' => 'Pick-up card',
|
7
|
+
'05' => "The CVV/CID code entered didn't match, please confirm the security code on your card and try again",
|
8
|
+
'06' => 'Error',
|
9
|
+
'07' => 'Pick-up card, special condition',
|
10
|
+
'08' => 'Honor with identification (this is a decline response when a card not present transaction) If you receive an approval in a card not present environment, you will need to void the transaction.',
|
11
|
+
'09' => 'Request in progress',
|
12
|
+
'10' => 'Approved, partial authorization',
|
13
|
+
'11' => 'VIP Approval (this is a decline response for a card not present transaction)',
|
14
|
+
'12' => 'Invalid transaction',
|
15
|
+
'13' => 'Invalid amount',
|
16
|
+
'14' => 'Invalid card number',
|
17
|
+
'15' => 'No such issuer',
|
18
|
+
'16' => 'Approved, update track 3',
|
19
|
+
'17' => 'Customer cancellation',
|
20
|
+
'18' => 'Customer dispute',
|
21
|
+
'19' => 'Re-enter transaction',
|
22
|
+
'20' => 'Invalid response',
|
23
|
+
'21' => 'No action taken',
|
24
|
+
'22' => 'Suspected malfunction',
|
25
|
+
'23' => 'Unacceptable transaction fee',
|
26
|
+
'24' => 'File update not supported',
|
27
|
+
'25' => 'Unable to locate record',
|
28
|
+
'26' => 'Duplicate record',
|
29
|
+
'27' => 'File update field edit error',
|
30
|
+
'28' => 'File update file locked',
|
31
|
+
'29' => 'File update failed',
|
32
|
+
'30' => 'Format error',
|
33
|
+
'31' => 'Bank not supported',
|
34
|
+
'32' => 'Completed partially',
|
35
|
+
'33' => 'Expired card, pick-up',
|
36
|
+
'34' => 'Suspected fraud, pick-up',
|
37
|
+
'35' => 'Contact acquirer, pick-up',
|
38
|
+
'36' => 'Restricted card, pick-up',
|
39
|
+
'37' => 'Call acquirer security, pick-up',
|
40
|
+
'38' => 'PIN tries exceeded, pick-up',
|
41
|
+
'39' => 'No credit account',
|
42
|
+
'40' => 'Function not supported',
|
43
|
+
'41' => 'Lost card, pick-up',
|
44
|
+
'42' => 'No universal account',
|
45
|
+
'43' => 'Stolen card, pick-up',
|
46
|
+
'44' => 'No investment account',
|
47
|
+
'45' => 'Account closed',
|
48
|
+
'46' => 'Identification required',
|
49
|
+
'47' => 'Identification cross-check required',
|
50
|
+
'48' => 'No customer record',
|
51
|
+
'49' => 'Reserved for future Realtime use',
|
52
|
+
'50' => 'Reserved for future Realtime use',
|
53
|
+
'51' => 'Not sufficient funds',
|
54
|
+
'52' => 'No checking account',
|
55
|
+
'53' => 'No savings account',
|
56
|
+
'54' => 'Expired card',
|
57
|
+
'55' => 'Incorrect PIN',
|
58
|
+
'56' => 'No card record',
|
59
|
+
'57' => 'Transaction not permitted to cardholder',
|
60
|
+
'58' => 'Transaction not permitted on terminal',
|
61
|
+
'59' => 'Suspected fraud',
|
62
|
+
'60' => 'Contact acquirer',
|
63
|
+
'61' => 'Exceeds withdrawal limit',
|
64
|
+
'62' => 'Restricted card',
|
65
|
+
'63' => 'Security violation',
|
66
|
+
'64' => 'Original amount incorrect',
|
67
|
+
'65' => 'Exceeds withdrawal frequency',
|
68
|
+
'66' => 'Call acquirer security',
|
69
|
+
'67' => 'Hard capture',
|
70
|
+
'68' => 'Response received too late',
|
71
|
+
'69' => 'Advice received too late (the response from a request was received too late )',
|
72
|
+
'70' => 'Reserved for future use',
|
73
|
+
'71' => 'Reserved for future Realtime use',
|
74
|
+
'72' => 'Reserved for future Realtime use',
|
75
|
+
'73' => 'Reserved for future Realtime use',
|
76
|
+
'74' => 'Reserved for future Realtime use',
|
77
|
+
'75' => 'PIN tries exceeded',
|
78
|
+
'76' => 'Reversal: Unable to locate previous message (no match on Retrieval Reference Number)/ Reserved for future Realtime use',
|
79
|
+
'77' => 'Previous message located for a repeat or reversal, but repeat or reversal data is inconsistent with original message/ Intervene, bank approval required',
|
80
|
+
'78' => 'Invalid/non-existent account - Decline (MasterCard specific)/ Intervene, bank approval required for partial amount',
|
81
|
+
'79' => 'Already reversed (by Switch)/ Reserved for client-specific use (declined)',
|
82
|
+
'80' => 'No financial Impact (Reserved for declined debit)/ Reserved for client-specific use (declined)',
|
83
|
+
'81' => 'PIN cryptographic error found by the Visa security module during PIN decryption/ Reserved for client-specific use (declined)',
|
84
|
+
'82' => 'Incorrect CVV/ Reserved for client-specific use (declined)',
|
85
|
+
'83' => 'Unable to verify PIN/ Reserved for client-specific use (declined)',
|
86
|
+
'84' => 'Invalid Authorization Life Cycle-Decline (MasterCard) or Duplicate Transaction Detected (Visa)/ Reserved for client-specific use (declined)',
|
87
|
+
'85' => 'No reason to decline a request for Account Number Verification or Address Verification/ Reserved for client-specific use (declined)',
|
88
|
+
'86' => 'Cannot verify PIN/ Reserved for client-specific use (declined)',
|
89
|
+
'87' => 'Reserved for client-specific use (declined)',
|
90
|
+
'88' => 'Reserved for client-specific use (declined)',
|
91
|
+
'89' => 'Reserved for client-specific use (declined)',
|
92
|
+
'90' => 'Cut-off in progress',
|
93
|
+
'91' => 'Issuer or switch inoperative',
|
94
|
+
'92' => 'Routing error',
|
95
|
+
'93' => 'Violation of law',
|
96
|
+
'94' => 'Duplicate Transmission (Integrated Debit and MasterCard)',
|
97
|
+
'95' => 'Reconcile error',
|
98
|
+
'96' => 'System malfunction',
|
99
|
+
'97' => 'Reserved for future Realtime use',
|
100
|
+
'98' => 'Exceeds cash limit',
|
101
|
+
'99' => 'Reserved for future Realtime use'
|
102
|
+
}
|
@@ -0,0 +1,52 @@
|
|
1
|
+
module Transfirst
|
2
|
+
class TransfirstError < StandardError
|
3
|
+
CODES = {
|
4
|
+
'50000' => 'Undefined error code. Please check the error message.',
|
5
|
+
'50001' => 'Database exception.',
|
6
|
+
'50002' => 'Unhandled exception.',
|
7
|
+
'50003' => 'This is returned if the following is true: No response was received from the upstream entity (i.e., eSocket Server) for a given amount of time. Default is 30 seconds.',
|
8
|
+
'50004' => 'No record found.',
|
9
|
+
'50005' => 'Too many records found.',
|
10
|
+
'50006' => 'Record already exists.',
|
11
|
+
'50007' => 'Database access failure.',
|
12
|
+
'50008' => 'Authentication failed because of incomplete information (e.g., password not specified). No record updated.',
|
13
|
+
'50009' => 'No record updated.',
|
14
|
+
'50010' => 'Access denied.',
|
15
|
+
'50011' => 'Schema validation error.',
|
16
|
+
'50012' => 'Authentication failed because of wrong information (e.g., wrong password).',
|
17
|
+
'50013' => 'System failure.',
|
18
|
+
'50014' => 'User is active but locked.',
|
19
|
+
'50015' => 'User is inactive.',
|
20
|
+
'50016' => 'User is inactive and locked.',
|
21
|
+
'50017' => 'Password is expired.',
|
22
|
+
'50019' => 'User must change password.',
|
23
|
+
'50020' => 'Old password and new password are the same but not expected.',
|
24
|
+
'50021' => 'Request is expected but not set.',
|
25
|
+
'50022' => 'User is not linked to a merchant or group.',
|
26
|
+
'50023' => 'Password or Registration Key failed WSDL validation.',
|
27
|
+
'50024' => 'Failed to send email.',
|
28
|
+
'50025' => 'User ID and password are set, but Merchant ID is not set.',
|
29
|
+
'50026' => 'Active/Active initialization failed.',
|
30
|
+
'50027' => 'Encryption/decryption failed',
|
31
|
+
'800002' => 'Given Credentials are not authenticated and/or Access Denied'
|
32
|
+
}
|
33
|
+
|
34
|
+
attr_accessor :error_code, :error_string
|
35
|
+
|
36
|
+
def initialize(e)
|
37
|
+
@soap_fault = e
|
38
|
+
@error_code = e.to_hash[:fault][:detail][:system_fault][:error_code]
|
39
|
+
@error_string = CODES[@error_code]
|
40
|
+
end
|
41
|
+
|
42
|
+
def message
|
43
|
+
err_string = 'Service Error'
|
44
|
+
if !error_code.blank? and !error_string.blank?
|
45
|
+
error_details = " -- #{@error_code} - #{@error_string}"
|
46
|
+
err_string += error_details
|
47
|
+
end
|
48
|
+
err_string
|
49
|
+
end
|
50
|
+
end
|
51
|
+
|
52
|
+
end
|
@@ -0,0 +1,63 @@
|
|
1
|
+
module Transfirst
|
2
|
+
class Wallet < API
|
3
|
+
attr_accessor :full_name, :addrLn1, :addrLn2, :city,
|
4
|
+
:city, :state, :zipCode, :pan, :sec, :xprDt, :api
|
5
|
+
|
6
|
+
|
7
|
+
def initialize(*args)
|
8
|
+
api, attrs = *args
|
9
|
+
@api = api
|
10
|
+
@body = build_request(attrs)
|
11
|
+
end
|
12
|
+
|
13
|
+
private
|
14
|
+
|
15
|
+
def build_request(attrs)
|
16
|
+
namespaces = {
|
17
|
+
'xmlns:soapenv' => 'http://schemas.xmlsoap.org/soap/envelope/',
|
18
|
+
"xmlns:#{VERSION}" => XSD_PATH
|
19
|
+
}
|
20
|
+
req_builder = Nokogiri::XML::Builder.new do |xml|
|
21
|
+
xml['soapenv'].Envelope(namespaces) do
|
22
|
+
xml['soapenv'].Header
|
23
|
+
xml['soapenv'].Body do
|
24
|
+
xml[VERSION].send('UpdtRecurrProfRequest') do
|
25
|
+
xml[VERSION].merc do
|
26
|
+
xml[VERSION].id @api.gateway_id
|
27
|
+
xml[VERSION].regKey @api.registration_key
|
28
|
+
xml[VERSION].inType MERCHANT_WEB_SERVICE
|
29
|
+
xml[VERSION].prodType 5 #5 -debit/credit card
|
30
|
+
end
|
31
|
+
xml[VERSION].cust do
|
32
|
+
xml[VERSION].type 0 #adding new customer
|
33
|
+
xml[VERSION].contact do
|
34
|
+
xml[VERSION].fullName attrs[:full_name]
|
35
|
+
xml[VERSION].addrLn1 attrs[:addrLn1]
|
36
|
+
xml[VERSION].addrLn2 attrs[:addrLn2] if attrs[:addrLn2].present?
|
37
|
+
xml[VERSION].city attrs[:city]
|
38
|
+
xml[VERSION].state attrs[:state]
|
39
|
+
xml[VERSION].zipCode attrs[:zipCode]
|
40
|
+
xml[VERSION].type 1 #1 = Recurring
|
41
|
+
xml[VERSION].stat 1 #0 = Inactive
|
42
|
+
end
|
43
|
+
xml[VERSION].pmt do
|
44
|
+
xml[VERSION].type 0 #adding new wallet
|
45
|
+
xml[VERSION].card do
|
46
|
+
#xml[VERSION].type 1
|
47
|
+
xml[VERSION].pan attrs[:pan]
|
48
|
+
xml[VERSION].sec attrs[:sec]
|
49
|
+
xml[VERSION].xprDt attrs[:xprDt]
|
50
|
+
end
|
51
|
+
xml[VERSION].desc 'My Wallet'
|
52
|
+
xml[VERSION].indCode 2
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|
59
|
+
req_builder.to_xml :save_with => Nokogiri::XML::Node::SaveOptions::NO_DECLARATION
|
60
|
+
end
|
61
|
+
|
62
|
+
end
|
63
|
+
end
|
@@ -0,0 +1,42 @@
|
|
1
|
+
module Transfirst
|
2
|
+
class WalletRefund < API
|
3
|
+
attr_accessor :amount, :api, :tran_nr
|
4
|
+
|
5
|
+
def initialize(*args)
|
6
|
+
api, attrs = *args
|
7
|
+
@api = api
|
8
|
+
@body = build_request(attrs)
|
9
|
+
end
|
10
|
+
|
11
|
+
private
|
12
|
+
|
13
|
+
def build_request attrs
|
14
|
+
namespaces = {
|
15
|
+
'xmlns:soapenv' => 'http://schemas.xmlsoap.org/soap/envelope/',
|
16
|
+
"xmlns:#{VERSION}" => XSD_PATH
|
17
|
+
}
|
18
|
+
req_builder = Nokogiri::XML::Builder.new do |xml|
|
19
|
+
xml['soapenv'].Envelope(namespaces) do
|
20
|
+
xml['soapenv'].Header
|
21
|
+
xml['soapenv'].Body do
|
22
|
+
xml[VERSION].send('SendTranRequest') do
|
23
|
+
xml[VERSION].merc do
|
24
|
+
xml[VERSION].id @api.gateway_id
|
25
|
+
xml[VERSION].regKey @api.registration_key
|
26
|
+
xml[VERSION].inType MERCHANT_WEB_SERVICE
|
27
|
+
end
|
28
|
+
xml[VERSION].tranCode 4 #6 void || #4 credit/return
|
29
|
+
xml[VERSION].reqAmt (attrs[:amount]*100).round ## should probably be in cents
|
30
|
+
xml[VERSION].origTranData do
|
31
|
+
xml[VERSION].tranNr attrs[:tran_nr]
|
32
|
+
end
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
36
|
+
end
|
37
|
+
req_builder.to_xml :save_with => Nokogiri::XML::Node::SaveOptions::NO_DECLARATION
|
38
|
+
end
|
39
|
+
|
40
|
+
end
|
41
|
+
end
|
42
|
+
|
@@ -0,0 +1,42 @@
|
|
1
|
+
module Transfirst
|
2
|
+
class WalletSale < API
|
3
|
+
attr_accessor :amount, :api, :wallet_id
|
4
|
+
|
5
|
+
def initialize(*args)
|
6
|
+
api, attrs = *args
|
7
|
+
@api = api
|
8
|
+
@body = build_request(attrs)
|
9
|
+
end
|
10
|
+
|
11
|
+
private
|
12
|
+
|
13
|
+
def build_request attrs
|
14
|
+
namespaces = {
|
15
|
+
'xmlns:soapenv' => 'http://schemas.xmlsoap.org/soap/envelope/',
|
16
|
+
"xmlns:#{VERSION}" => XSD_PATH
|
17
|
+
}
|
18
|
+
req_builder = Nokogiri::XML::Builder.new do |xml|
|
19
|
+
xml['soapenv'].Envelope(namespaces) do
|
20
|
+
xml['soapenv'].Header
|
21
|
+
xml['soapenv'].Body do
|
22
|
+
xml[VERSION].send('SendTranRequest') do
|
23
|
+
xml[VERSION].merc do
|
24
|
+
xml[VERSION].id @api.gateway_id
|
25
|
+
xml[VERSION].regKey @api.registration_key
|
26
|
+
xml[VERSION].inType MERCHANT_WEB_SERVICE
|
27
|
+
xml[VERSION].prodType 7 #MERCHANT_PROD_TYPE
|
28
|
+
end
|
29
|
+
xml[VERSION].tranCode 14 #14 = Recurring(Manual) Auth/Settle, 0 = Auth Only
|
30
|
+
xml[VERSION].reqAmt (attrs[:amount]*100).round ## should probably be in cents
|
31
|
+
xml[VERSION].indCode 2
|
32
|
+
xml[VERSION].recurMan do
|
33
|
+
xml[VERSION].id attrs[:wallet_id]
|
34
|
+
end
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
39
|
+
req_builder.to_xml :save_with => Nokogiri::XML::Node::SaveOptions::NO_DECLARATION
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
@@ -0,0 +1 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?><wsdl:definitions name="eReportsService" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsa10="http://www.w3.org/2005/08/addressing" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/addressing/policy" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:tns="http://tempuri.org/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:i0="http://transfirst.com" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"><wsp:Policy wsu:Id="epBasic_policy"><wsp:ExactlyOne><wsp:All><sp:TransportBinding xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy"><wsp:Policy><sp:TransportToken><wsp:Policy><sp:HttpsToken RequireClientCertificate="false"/></wsp:Policy></sp:TransportToken><sp:AlgorithmSuite><wsp:Policy><sp:Basic256/></wsp:Policy></sp:AlgorithmSuite><sp:Layout><wsp:Policy><sp:Strict/></wsp:Policy></sp:Layout></wsp:Policy></sp:TransportBinding></wsp:All></wsp:ExactlyOne></wsp:Policy><wsp:Policy wsu:Id="epWsPlain_policy"><wsp:ExactlyOne><wsp:All><sp:TransportBinding xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy"><wsp:Policy><sp:TransportToken><wsp:Policy><sp:HttpsToken RequireClientCertificate="false"/></wsp:Policy></sp:TransportToken><sp:AlgorithmSuite><wsp:Policy><sp:Basic256/></wsp:Policy></sp:AlgorithmSuite><sp:Layout><wsp:Policy><sp:Strict/></wsp:Policy></sp:Layout></wsp:Policy></sp:TransportBinding><wsaw:UsingAddressing/></wsp:All></wsp:ExactlyOne></wsp:Policy><wsdl:import namespace="http://transfirst.com" location="https://tfreports.cert.transactionexpress.com/eReports/eReportsService.svc?wsdl=wsdl0"/><wsdl:types/><wsdl:binding name="epBasic" type="i0:IeReportsService"><wsp:PolicyReference URI="#epBasic_policy"/><soap:binding transport="http://schemas.xmlsoap.org/soap/http"/><wsdl:operation name="GetNoticeOfChangeListVT"><soap:operation soapAction="http://transfirst.com/IeReportsService/GetNoticeOfChangeListVT" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output><wsdl:fault name="FaultMessagesColFault"><soap:fault name="FaultMessagesColFault" use="literal"/></wsdl:fault></wsdl:operation><wsdl:operation name="GetTransactionDetailsVT"><soap:operation soapAction="http://transfirst.com/IeReportsService/GetTransactionDetailsVT" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output><wsdl:fault name="FaultMessagesColFault"><soap:fault name="FaultMessagesColFault" use="literal"/></wsdl:fault></wsdl:operation><wsdl:operation name="GetExpiredCards"><soap:operation soapAction="http://transfirst.com/IeReportsService/GetExpiredCards" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output><wsdl:fault name="FaultMessagesColFault"><soap:fault name="FaultMessagesColFault" use="literal"/></wsdl:fault></wsdl:operation><wsdl:operation name="GetRecurringProfiles"><soap:operation soapAction="http://transfirst.com/IeReportsService/GetRecurringProfiles" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output><wsdl:fault name="FaultMessagesColFault"><soap:fault name="FaultMessagesColFault" use="literal"/></wsdl:fault></wsdl:operation><wsdl:operation name="GetRecurringProblemProfiles"><soap:operation soapAction="http://transfirst.com/IeReportsService/GetRecurringProblemProfiles" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output><wsdl:fault name="FaultMessagesColFault"><soap:fault name="FaultMessagesColFault" use="literal"/></wsdl:fault></wsdl:operation><wsdl:operation name="GetTransactionDetails"><soap:operation soapAction="http://transfirst.com/IeReportsService/GetTransactionDetails" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output><wsdl:fault name="FaultMessagesColFault"><soap:fault name="FaultMessagesColFault" use="literal"/></wsdl:fault></wsdl:operation><wsdl:operation name="GetTransaction"><soap:operation soapAction="http://transfirst.com/IeReportsService/GetTransaction" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output><wsdl:fault name="FaultMessagesColFault"><soap:fault name="FaultMessagesColFault" use="literal"/></wsdl:fault></wsdl:operation><wsdl:operation name="GetCardLookUp"><soap:operation soapAction="http://transfirst.com/IeReportsService/GetCardLookUp" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output><wsdl:fault name="FaultMessagesColFault"><soap:fault name="FaultMessagesColFault" use="literal"/></wsdl:fault></wsdl:operation><wsdl:operation name="GetCustomerLookUp"><soap:operation soapAction="http://transfirst.com/IeReportsService/GetCustomerLookUp" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output><wsdl:fault name="FaultMessagesColFault"><soap:fault name="FaultMessagesColFault" use="literal"/></wsdl:fault></wsdl:operation><wsdl:operation name="GetSettleByDate"><soap:operation soapAction="http://transfirst.com/IeReportsService/GetSettleByDate" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output><wsdl:fault name="FaultMessagesColFault"><soap:fault name="FaultMessagesColFault" use="literal"/></wsdl:fault></wsdl:operation><wsdl:operation name="GetCustomReportColumns"><soap:operation soapAction="http://transfirst.com/IeReportsService/GetCustomReportColumns" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output><wsdl:fault name="FaultMessagesColFault"><soap:fault name="FaultMessagesColFault" use="literal"/></wsdl:fault></wsdl:operation><wsdl:operation name="GetCustomReportsForMerchant"><soap:operation soapAction="http://transfirst.com/IeReportsService/GetCustomReportsForMerchant" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output><wsdl:fault name="FaultMessagesColFault"><soap:fault name="FaultMessagesColFault" use="literal"/></wsdl:fault></wsdl:operation><wsdl:operation name="DeleteCustomReport"><soap:operation soapAction="http://transfirst.com/IeReportsService/DeleteCustomReport" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output><wsdl:fault name="FaultMessagesColFault"><soap:fault name="FaultMessagesColFault" use="literal"/></wsdl:fault></wsdl:operation><wsdl:operation name="GetCustomReport"><soap:operation soapAction="http://transfirst.com/IeReportsService/GetCustomReport" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output><wsdl:fault name="FaultMessagesColFault"><soap:fault name="FaultMessagesColFault" use="literal"/></wsdl:fault></wsdl:operation><wsdl:operation name="CreateCustomReport"><soap:operation soapAction="http://transfirst.com/IeReportsService/CreateCustomReport" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output><wsdl:fault name="FaultMessagesColFault"><soap:fault name="FaultMessagesColFault" use="literal"/></wsdl:fault></wsdl:operation><wsdl:operation name="EditCustomReport"><soap:operation soapAction="http://transfirst.com/IeReportsService/EditCustomReport" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output><wsdl:fault name="FaultMessagesColFault"><soap:fault name="FaultMessagesColFault" use="literal"/></wsdl:fault></wsdl:operation><wsdl:operation name="GetAuthorizationSummary"><soap:operation soapAction="http://transfirst.com/IeReportsService/GetAuthorizationSummary" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output><wsdl:fault name="FaultMessagesColFault"><soap:fault name="FaultMessagesColFault" use="literal"/></wsdl:fault></wsdl:operation><wsdl:operation name="GetSettlementSummary"><soap:operation soapAction="http://transfirst.com/IeReportsService/GetSettlementSummary" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output><wsdl:fault name="FaultMessagesColFault"><soap:fault name="FaultMessagesColFault" use="literal"/></wsdl:fault></wsdl:operation><wsdl:operation name="GetDeclineSummary"><soap:operation soapAction="http://transfirst.com/IeReportsService/GetDeclineSummary" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output><wsdl:fault name="FaultMessagesColFault"><soap:fault name="FaultMessagesColFault" use="literal"/></wsdl:fault></wsdl:operation><wsdl:operation name="GetDeclineResponseCodeSummary"><soap:operation soapAction="http://transfirst.com/IeReportsService/GetDeclineResponseCodeSummary" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output><wsdl:fault name="FaultMessagesColFault"><soap:fault name="FaultMessagesColFault" use="literal"/></wsdl:fault></wsdl:operation><wsdl:operation name="GetVerificationDeclineCodeSummary"><soap:operation soapAction="http://transfirst.com/IeReportsService/GetVerificationDeclineCodeSummary" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output><wsdl:fault name="FaultMessagesColFault"><soap:fault name="FaultMessagesColFault" use="literal"/></wsdl:fault></wsdl:operation><wsdl:operation name="GetSummaryTransactions"><soap:operation soapAction="http://transfirst.com/IeReportsService/GetSummaryTransactions" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output><wsdl:fault name="FaultMessagesColFault"><soap:fault name="FaultMessagesColFault" use="literal"/></wsdl:fault></wsdl:operation><wsdl:operation name="GetInvoiceReport"><soap:operation soapAction="http://transfirst.com/IeReportsService/GetInvoiceReport" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output><wsdl:fault name="FaultMessagesColFault"><soap:fault name="FaultMessagesColFault" use="literal"/></wsdl:fault></wsdl:operation><wsdl:operation name="GetCustomReportStructure"><soap:operation soapAction="http://transfirst.com/IeReportsService/GetCustomReportStructure" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output><wsdl:fault name="FaultMessagesColFault"><soap:fault name="FaultMessagesColFault" use="literal"/></wsdl:fault></wsdl:operation><wsdl:operation name="GetEnumMembers"><soap:operation soapAction="http://transfirst.com/IeReportsService/GetEnumMembers" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output><wsdl:fault name="FaultMessagesColFault"><soap:fault name="FaultMessagesColFault" use="literal"/></wsdl:fault></wsdl:operation><wsdl:operation name="GetDailySettlementSummary"><soap:operation soapAction="http://transfirst.com/IeReportsService/GetDailySettlementSummary" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output><wsdl:fault name="FaultMessagesColFault"><soap:fault name="FaultMessagesColFault" use="literal"/></wsdl:fault></wsdl:operation><wsdl:operation name="GetDailyTransactionSummary"><soap:operation soapAction="http://transfirst.com/IeReportsService/GetDailyTransactionSummary" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output><wsdl:fault name="FaultMessagesColFault"><soap:fault name="FaultMessagesColFault" use="literal"/></wsdl:fault></wsdl:operation><wsdl:operation name="GetDailyCloseSummary"><soap:operation soapAction="http://transfirst.com/IeReportsService/GetDailyCloseSummary" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output><wsdl:fault name="FaultMessagesColFault"><soap:fault name="FaultMessagesColFault" use="literal"/></wsdl:fault></wsdl:operation><wsdl:operation name="GetNoticeOfChangeList"><soap:operation soapAction="http://transfirst.com/IeReportsService/GetNoticeOfChangeList" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output><wsdl:fault name="FaultMessagesColFault"><soap:fault name="FaultMessagesColFault" use="literal"/></wsdl:fault></wsdl:operation><wsdl:operation name="GetACHReturns"><soap:operation soapAction="http://transfirst.com/IeReportsService/GetACHReturns" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output><wsdl:fault name="FaultMessagesColFault"><soap:fault name="FaultMessagesColFault" use="literal"/></wsdl:fault></wsdl:operation><wsdl:operation name="GetACHDailyAccountStatement"><soap:operation soapAction="http://transfirst.com/IeReportsService/GetACHDailyAccountStatement" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output><wsdl:fault name="FaultMessagesColFault"><soap:fault name="FaultMessagesColFault" use="literal"/></wsdl:fault></wsdl:operation><wsdl:operation name="GetACHDailyRemittance"><soap:operation soapAction="http://transfirst.com/IeReportsService/GetACHDailyRemittance" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output><wsdl:fault name="FaultMessagesColFault"><soap:fault name="FaultMessagesColFault" use="literal"/></wsdl:fault></wsdl:operation><wsdl:operation name="GetACHRunningBalance"><soap:operation soapAction="http://transfirst.com/IeReportsService/GetACHRunningBalance" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output><wsdl:fault name="FaultMessagesColFault"><soap:fault name="FaultMessagesColFault" use="literal"/></wsdl:fault></wsdl:operation><wsdl:operation name="GetACHReservesDetails"><soap:operation soapAction="http://transfirst.com/IeReportsService/GetACHReservesDetails" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output><wsdl:fault name="FaultMessagesColFault"><soap:fault name="FaultMessagesColFault" use="literal"/></wsdl:fault></wsdl:operation><wsdl:operation name="GetACHMonthlyStatement"><soap:operation soapAction="http://transfirst.com/IeReportsService/GetACHMonthlyStatement" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output><wsdl:fault name="FaultMessagesColFault"><soap:fault name="FaultMessagesColFault" use="literal"/></wsdl:fault></wsdl:operation><wsdl:operation name="GetACHSettlements"><soap:operation soapAction="http://transfirst.com/IeReportsService/GetACHSettlements" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output><wsdl:fault name="FaultMessagesColFault"><soap:fault name="FaultMessagesColFault" use="literal"/></wsdl:fault></wsdl:operation><wsdl:operation name="SaveSignature"><soap:operation soapAction="http://transfirst.com/IeReportsService/SaveSignature" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output><wsdl:fault name="FaultMessagesColFault"><soap:fault name="FaultMessagesColFault" use="literal"/></wsdl:fault></wsdl:operation><wsdl:operation name="GetUserDetails"><soap:operation soapAction="http://transfirst.com/IeReportsService/GetUserDetails" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output><wsdl:fault name="FaultMessagesColFault"><soap:fault name="FaultMessagesColFault" use="literal"/></wsdl:fault></wsdl:operation></wsdl:binding><wsdl:binding name="epWsPlain" type="i0:IeReportsService"><wsp:PolicyReference URI="#epWsPlain_policy"/><soap12:binding transport="http://schemas.xmlsoap.org/soap/http"/><wsdl:operation name="GetNoticeOfChangeListVT"><soap12:operation soapAction="http://transfirst.com/IeReportsService/GetNoticeOfChangeListVT" style="document"/><wsdl:input><soap12:body use="literal"/></wsdl:input><wsdl:output><soap12:body use="literal"/></wsdl:output><wsdl:fault name="FaultMessagesColFault"><soap12:fault name="FaultMessagesColFault" use="literal"/></wsdl:fault></wsdl:operation><wsdl:operation name="GetTransactionDetailsVT"><soap12:operation soapAction="http://transfirst.com/IeReportsService/GetTransactionDetailsVT" style="document"/><wsdl:input><soap12:body use="literal"/></wsdl:input><wsdl:output><soap12:body use="literal"/></wsdl:output><wsdl:fault name="FaultMessagesColFault"><soap12:fault name="FaultMessagesColFault" use="literal"/></wsdl:fault></wsdl:operation><wsdl:operation name="GetExpiredCards"><soap12:operation soapAction="http://transfirst.com/IeReportsService/GetExpiredCards" style="document"/><wsdl:input><soap12:body use="literal"/></wsdl:input><wsdl:output><soap12:body use="literal"/></wsdl:output><wsdl:fault name="FaultMessagesColFault"><soap12:fault name="FaultMessagesColFault" use="literal"/></wsdl:fault></wsdl:operation><wsdl:operation name="GetRecurringProfiles"><soap12:operation soapAction="http://transfirst.com/IeReportsService/GetRecurringProfiles" style="document"/><wsdl:input><soap12:body use="literal"/></wsdl:input><wsdl:output><soap12:body use="literal"/></wsdl:output><wsdl:fault name="FaultMessagesColFault"><soap12:fault name="FaultMessagesColFault" use="literal"/></wsdl:fault></wsdl:operation><wsdl:operation name="GetRecurringProblemProfiles"><soap12:operation soapAction="http://transfirst.com/IeReportsService/GetRecurringProblemProfiles" style="document"/><wsdl:input><soap12:body use="literal"/></wsdl:input><wsdl:output><soap12:body use="literal"/></wsdl:output><wsdl:fault name="FaultMessagesColFault"><soap12:fault name="FaultMessagesColFault" use="literal"/></wsdl:fault></wsdl:operation><wsdl:operation name="GetTransactionDetails"><soap12:operation soapAction="http://transfirst.com/IeReportsService/GetTransactionDetails" style="document"/><wsdl:input><soap12:body use="literal"/></wsdl:input><wsdl:output><soap12:body use="literal"/></wsdl:output><wsdl:fault name="FaultMessagesColFault"><soap12:fault name="FaultMessagesColFault" use="literal"/></wsdl:fault></wsdl:operation><wsdl:operation name="GetTransaction"><soap12:operation soapAction="http://transfirst.com/IeReportsService/GetTransaction" style="document"/><wsdl:input><soap12:body use="literal"/></wsdl:input><wsdl:output><soap12:body use="literal"/></wsdl:output><wsdl:fault name="FaultMessagesColFault"><soap12:fault name="FaultMessagesColFault" use="literal"/></wsdl:fault></wsdl:operation><wsdl:operation name="GetCardLookUp"><soap12:operation soapAction="http://transfirst.com/IeReportsService/GetCardLookUp" style="document"/><wsdl:input><soap12:body use="literal"/></wsdl:input><wsdl:output><soap12:body use="literal"/></wsdl:output><wsdl:fault name="FaultMessagesColFault"><soap12:fault name="FaultMessagesColFault" use="literal"/></wsdl:fault></wsdl:operation><wsdl:operation name="GetCustomerLookUp"><soap12:operation soapAction="http://transfirst.com/IeReportsService/GetCustomerLookUp" style="document"/><wsdl:input><soap12:body use="literal"/></wsdl:input><wsdl:output><soap12:body use="literal"/></wsdl:output><wsdl:fault name="FaultMessagesColFault"><soap12:fault name="FaultMessagesColFault" use="literal"/></wsdl:fault></wsdl:operation><wsdl:operation name="GetSettleByDate"><soap12:operation soapAction="http://transfirst.com/IeReportsService/GetSettleByDate" style="document"/><wsdl:input><soap12:body use="literal"/></wsdl:input><wsdl:output><soap12:body use="literal"/></wsdl:output><wsdl:fault name="FaultMessagesColFault"><soap12:fault name="FaultMessagesColFault" use="literal"/></wsdl:fault></wsdl:operation><wsdl:operation name="GetCustomReportColumns"><soap12:operation soapAction="http://transfirst.com/IeReportsService/GetCustomReportColumns" style="document"/><wsdl:input><soap12:body use="literal"/></wsdl:input><wsdl:output><soap12:body use="literal"/></wsdl:output><wsdl:fault name="FaultMessagesColFault"><soap12:fault name="FaultMessagesColFault" use="literal"/></wsdl:fault></wsdl:operation><wsdl:operation name="GetCustomReportsForMerchant"><soap12:operation soapAction="http://transfirst.com/IeReportsService/GetCustomReportsForMerchant" style="document"/><wsdl:input><soap12:body use="literal"/></wsdl:input><wsdl:output><soap12:body use="literal"/></wsdl:output><wsdl:fault name="FaultMessagesColFault"><soap12:fault name="FaultMessagesColFault" use="literal"/></wsdl:fault></wsdl:operation><wsdl:operation name="DeleteCustomReport"><soap12:operation soapAction="http://transfirst.com/IeReportsService/DeleteCustomReport" style="document"/><wsdl:input><soap12:body use="literal"/></wsdl:input><wsdl:output><soap12:body use="literal"/></wsdl:output><wsdl:fault name="FaultMessagesColFault"><soap12:fault name="FaultMessagesColFault" use="literal"/></wsdl:fault></wsdl:operation><wsdl:operation name="GetCustomReport"><soap12:operation soapAction="http://transfirst.com/IeReportsService/GetCustomReport" style="document"/><wsdl:input><soap12:body use="literal"/></wsdl:input><wsdl:output><soap12:body use="literal"/></wsdl:output><wsdl:fault name="FaultMessagesColFault"><soap12:fault name="FaultMessagesColFault" use="literal"/></wsdl:fault></wsdl:operation><wsdl:operation name="CreateCustomReport"><soap12:operation soapAction="http://transfirst.com/IeReportsService/CreateCustomReport" style="document"/><wsdl:input><soap12:body use="literal"/></wsdl:input><wsdl:output><soap12:body use="literal"/></wsdl:output><wsdl:fault name="FaultMessagesColFault"><soap12:fault name="FaultMessagesColFault" use="literal"/></wsdl:fault></wsdl:operation><wsdl:operation name="EditCustomReport"><soap12:operation soapAction="http://transfirst.com/IeReportsService/EditCustomReport" style="document"/><wsdl:input><soap12:body use="literal"/></wsdl:input><wsdl:output><soap12:body use="literal"/></wsdl:output><wsdl:fault name="FaultMessagesColFault"><soap12:fault name="FaultMessagesColFault" use="literal"/></wsdl:fault></wsdl:operation><wsdl:operation name="GetAuthorizationSummary"><soap12:operation soapAction="http://transfirst.com/IeReportsService/GetAuthorizationSummary" style="document"/><wsdl:input><soap12:body use="literal"/></wsdl:input><wsdl:output><soap12:body use="literal"/></wsdl:output><wsdl:fault name="FaultMessagesColFault"><soap12:fault name="FaultMessagesColFault" use="literal"/></wsdl:fault></wsdl:operation><wsdl:operation name="GetSettlementSummary"><soap12:operation soapAction="http://transfirst.com/IeReportsService/GetSettlementSummary" style="document"/><wsdl:input><soap12:body use="literal"/></wsdl:input><wsdl:output><soap12:body use="literal"/></wsdl:output><wsdl:fault name="FaultMessagesColFault"><soap12:fault name="FaultMessagesColFault" use="literal"/></wsdl:fault></wsdl:operation><wsdl:operation name="GetDeclineSummary"><soap12:operation soapAction="http://transfirst.com/IeReportsService/GetDeclineSummary" style="document"/><wsdl:input><soap12:body use="literal"/></wsdl:input><wsdl:output><soap12:body use="literal"/></wsdl:output><wsdl:fault name="FaultMessagesColFault"><soap12:fault name="FaultMessagesColFault" use="literal"/></wsdl:fault></wsdl:operation><wsdl:operation name="GetDeclineResponseCodeSummary"><soap12:operation soapAction="http://transfirst.com/IeReportsService/GetDeclineResponseCodeSummary" style="document"/><wsdl:input><soap12:body use="literal"/></wsdl:input><wsdl:output><soap12:body use="literal"/></wsdl:output><wsdl:fault name="FaultMessagesColFault"><soap12:fault name="FaultMessagesColFault" use="literal"/></wsdl:fault></wsdl:operation><wsdl:operation name="GetVerificationDeclineCodeSummary"><soap12:operation soapAction="http://transfirst.com/IeReportsService/GetVerificationDeclineCodeSummary" style="document"/><wsdl:input><soap12:body use="literal"/></wsdl:input><wsdl:output><soap12:body use="literal"/></wsdl:output><wsdl:fault name="FaultMessagesColFault"><soap12:fault name="FaultMessagesColFault" use="literal"/></wsdl:fault></wsdl:operation><wsdl:operation name="GetSummaryTransactions"><soap12:operation soapAction="http://transfirst.com/IeReportsService/GetSummaryTransactions" style="document"/><wsdl:input><soap12:body use="literal"/></wsdl:input><wsdl:output><soap12:body use="literal"/></wsdl:output><wsdl:fault name="FaultMessagesColFault"><soap12:fault name="FaultMessagesColFault" use="literal"/></wsdl:fault></wsdl:operation><wsdl:operation name="GetInvoiceReport"><soap12:operation soapAction="http://transfirst.com/IeReportsService/GetInvoiceReport" style="document"/><wsdl:input><soap12:body use="literal"/></wsdl:input><wsdl:output><soap12:body use="literal"/></wsdl:output><wsdl:fault name="FaultMessagesColFault"><soap12:fault name="FaultMessagesColFault" use="literal"/></wsdl:fault></wsdl:operation><wsdl:operation name="GetCustomReportStructure"><soap12:operation soapAction="http://transfirst.com/IeReportsService/GetCustomReportStructure" style="document"/><wsdl:input><soap12:body use="literal"/></wsdl:input><wsdl:output><soap12:body use="literal"/></wsdl:output><wsdl:fault name="FaultMessagesColFault"><soap12:fault name="FaultMessagesColFault" use="literal"/></wsdl:fault></wsdl:operation><wsdl:operation name="GetEnumMembers"><soap12:operation soapAction="http://transfirst.com/IeReportsService/GetEnumMembers" style="document"/><wsdl:input><soap12:body use="literal"/></wsdl:input><wsdl:output><soap12:body use="literal"/></wsdl:output><wsdl:fault name="FaultMessagesColFault"><soap12:fault name="FaultMessagesColFault" use="literal"/></wsdl:fault></wsdl:operation><wsdl:operation name="GetDailySettlementSummary"><soap12:operation soapAction="http://transfirst.com/IeReportsService/GetDailySettlementSummary" style="document"/><wsdl:input><soap12:body use="literal"/></wsdl:input><wsdl:output><soap12:body use="literal"/></wsdl:output><wsdl:fault name="FaultMessagesColFault"><soap12:fault name="FaultMessagesColFault" use="literal"/></wsdl:fault></wsdl:operation><wsdl:operation name="GetDailyTransactionSummary"><soap12:operation soapAction="http://transfirst.com/IeReportsService/GetDailyTransactionSummary" style="document"/><wsdl:input><soap12:body use="literal"/></wsdl:input><wsdl:output><soap12:body use="literal"/></wsdl:output><wsdl:fault name="FaultMessagesColFault"><soap12:fault name="FaultMessagesColFault" use="literal"/></wsdl:fault></wsdl:operation><wsdl:operation name="GetDailyCloseSummary"><soap12:operation soapAction="http://transfirst.com/IeReportsService/GetDailyCloseSummary" style="document"/><wsdl:input><soap12:body use="literal"/></wsdl:input><wsdl:output><soap12:body use="literal"/></wsdl:output><wsdl:fault name="FaultMessagesColFault"><soap12:fault name="FaultMessagesColFault" use="literal"/></wsdl:fault></wsdl:operation><wsdl:operation name="GetNoticeOfChangeList"><soap12:operation soapAction="http://transfirst.com/IeReportsService/GetNoticeOfChangeList" style="document"/><wsdl:input><soap12:body use="literal"/></wsdl:input><wsdl:output><soap12:body use="literal"/></wsdl:output><wsdl:fault name="FaultMessagesColFault"><soap12:fault name="FaultMessagesColFault" use="literal"/></wsdl:fault></wsdl:operation><wsdl:operation name="GetACHReturns"><soap12:operation soapAction="http://transfirst.com/IeReportsService/GetACHReturns" style="document"/><wsdl:input><soap12:body use="literal"/></wsdl:input><wsdl:output><soap12:body use="literal"/></wsdl:output><wsdl:fault name="FaultMessagesColFault"><soap12:fault name="FaultMessagesColFault" use="literal"/></wsdl:fault></wsdl:operation><wsdl:operation name="GetACHDailyAccountStatement"><soap12:operation soapAction="http://transfirst.com/IeReportsService/GetACHDailyAccountStatement" style="document"/><wsdl:input><soap12:body use="literal"/></wsdl:input><wsdl:output><soap12:body use="literal"/></wsdl:output><wsdl:fault name="FaultMessagesColFault"><soap12:fault name="FaultMessagesColFault" use="literal"/></wsdl:fault></wsdl:operation><wsdl:operation name="GetACHDailyRemittance"><soap12:operation soapAction="http://transfirst.com/IeReportsService/GetACHDailyRemittance" style="document"/><wsdl:input><soap12:body use="literal"/></wsdl:input><wsdl:output><soap12:body use="literal"/></wsdl:output><wsdl:fault name="FaultMessagesColFault"><soap12:fault name="FaultMessagesColFault" use="literal"/></wsdl:fault></wsdl:operation><wsdl:operation name="GetACHRunningBalance"><soap12:operation soapAction="http://transfirst.com/IeReportsService/GetACHRunningBalance" style="document"/><wsdl:input><soap12:body use="literal"/></wsdl:input><wsdl:output><soap12:body use="literal"/></wsdl:output><wsdl:fault name="FaultMessagesColFault"><soap12:fault name="FaultMessagesColFault" use="literal"/></wsdl:fault></wsdl:operation><wsdl:operation name="GetACHReservesDetails"><soap12:operation soapAction="http://transfirst.com/IeReportsService/GetACHReservesDetails" style="document"/><wsdl:input><soap12:body use="literal"/></wsdl:input><wsdl:output><soap12:body use="literal"/></wsdl:output><wsdl:fault name="FaultMessagesColFault"><soap12:fault name="FaultMessagesColFault" use="literal"/></wsdl:fault></wsdl:operation><wsdl:operation name="GetACHMonthlyStatement"><soap12:operation soapAction="http://transfirst.com/IeReportsService/GetACHMonthlyStatement" style="document"/><wsdl:input><soap12:body use="literal"/></wsdl:input><wsdl:output><soap12:body use="literal"/></wsdl:output><wsdl:fault name="FaultMessagesColFault"><soap12:fault name="FaultMessagesColFault" use="literal"/></wsdl:fault></wsdl:operation><wsdl:operation name="GetACHSettlements"><soap12:operation soapAction="http://transfirst.com/IeReportsService/GetACHSettlements" style="document"/><wsdl:input><soap12:body use="literal"/></wsdl:input><wsdl:output><soap12:body use="literal"/></wsdl:output><wsdl:fault name="FaultMessagesColFault"><soap12:fault name="FaultMessagesColFault" use="literal"/></wsdl:fault></wsdl:operation><wsdl:operation name="SaveSignature"><soap12:operation soapAction="http://transfirst.com/IeReportsService/SaveSignature" style="document"/><wsdl:input><soap12:body use="literal"/></wsdl:input><wsdl:output><soap12:body use="literal"/></wsdl:output><wsdl:fault name="FaultMessagesColFault"><soap12:fault name="FaultMessagesColFault" use="literal"/></wsdl:fault></wsdl:operation><wsdl:operation name="GetUserDetails"><soap12:operation soapAction="http://transfirst.com/IeReportsService/GetUserDetails" style="document"/><wsdl:input><soap12:body use="literal"/></wsdl:input><wsdl:output><soap12:body use="literal"/></wsdl:output><wsdl:fault name="FaultMessagesColFault"><soap12:fault name="FaultMessagesColFault" use="literal"/></wsdl:fault></wsdl:operation></wsdl:binding><wsdl:service name="eReportsService"><wsdl:port name="epBasic" binding="tns:epBasic"><soap:address location="https://tfreports.cert.transactionexpress.com/eReports/eReportsService.svc"/></wsdl:port><wsdl:port name="epWsPlain" binding="tns:epWsPlain"><soap12:address location="https://tfreports.cert.transactionexpress.com/eReports/eReportsService.svc/wsPlain"/><wsa10:EndpointReference><wsa10:Address>https://tfreports.cert.transactionexpress.com/eReports/eReportsService.svc/wsPlain</wsa10:Address></wsa10:EndpointReference></wsdl:port></wsdl:service></wsdl:definitions>
|
@@ -0,0 +1,162 @@
|
|
1
|
+
<?xml version='1.0' encoding='UTF-8'?><!-- Published by JAX-WS RI at http://jax-ws.dev.java.net. RI's version is JAX-WS RI 2.1.5-hudson-$BUILD_NUMBER-. --><wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsdlns="http://postilion/realtime/merchantframework/wsdl/v1/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:faults="http://postilion/realtime/portal/soa/xsd/Faults/2009/01" xmlns:xsdns="http://postilion/realtime/merchantframework/xsd/v1/" targetNamespace="http://postilion/realtime/merchantframework/wsdl/v1/" name="UserWebServices-v1">
|
2
|
+
|
3
|
+
<!-- Types -->
|
4
|
+
|
5
|
+
<wsdl:types>
|
6
|
+
<xsd:schema elementFormDefault="qualified" attributeFormDefault="qualified">
|
7
|
+
<xsd:import namespace="http://postilion/realtime/portal/soa/xsd/Faults/2009/01" schemaLocation="https://ws.cert.transactionexpress.com:443/portal/merchantframework/MerchantWebServices-v1?xsd=2" />
|
8
|
+
</xsd:schema>
|
9
|
+
<xsd:schema elementFormDefault="qualified" attributeFormDefault="qualified">
|
10
|
+
<xsd:import namespace="http://postilion/realtime/merchantframework/xsd/v1/" schemaLocation="https://ws.cert.transactionexpress.com:443/portal/merchantframework/MerchantWebServices-v1?xsd=3" />
|
11
|
+
</xsd:schema>
|
12
|
+
</wsdl:types>
|
13
|
+
|
14
|
+
<!-- Message -->
|
15
|
+
|
16
|
+
<wsdl:message name="SendTranRequest">
|
17
|
+
<wsdl:part name="parameters" element="xsdns:SendTranRequest" />
|
18
|
+
</wsdl:message>
|
19
|
+
<wsdl:message name="SendTranResponse">
|
20
|
+
<wsdl:part name="parameters" element="xsdns:SendTranResponse" />
|
21
|
+
</wsdl:message>
|
22
|
+
<wsdl:message name="SettleTranRequest">
|
23
|
+
<wsdl:part name="parameters" element="xsdns:SettleTranRequest" />
|
24
|
+
</wsdl:message>
|
25
|
+
<wsdl:message name="SettleTranResponse">
|
26
|
+
<wsdl:part name="parameters" element="xsdns:SettleTranResponse" />
|
27
|
+
</wsdl:message>
|
28
|
+
<wsdl:message name="ServiceFault">
|
29
|
+
<wsdl:part name="ServiceFault" element="faults:ServiceFault" />
|
30
|
+
</wsdl:message>
|
31
|
+
<wsdl:message name="SystemFault">
|
32
|
+
<wsdl:part name="SystemFault" element="faults:SystemFault" />
|
33
|
+
</wsdl:message>
|
34
|
+
<wsdl:message name="UpdtRecurrProfRequest">
|
35
|
+
<wsdl:part name="parameters" element="xsdns:UpdtRecurrProfRequest" />
|
36
|
+
</wsdl:message>
|
37
|
+
<wsdl:message name="UpdtRecurrProfResponse">
|
38
|
+
<wsdl:part name="parameters" element="xsdns:UpdtRecurrProfResponse" />
|
39
|
+
</wsdl:message>
|
40
|
+
<wsdl:message name="FndRecurrProfRequest">
|
41
|
+
<wsdl:part name="parameters" element="xsdns:FndRecurrProfRequest" />
|
42
|
+
</wsdl:message>
|
43
|
+
<wsdl:message name="FndRecurrProfResponse">
|
44
|
+
<wsdl:part name="parameters" element="xsdns:FndRecurrProfResponse" />
|
45
|
+
</wsdl:message>
|
46
|
+
|
47
|
+
<!-- Port type -->
|
48
|
+
|
49
|
+
<wsdl:portType name="MerchantWebServicesPortType">
|
50
|
+
<wsdl:operation name="SendTran">
|
51
|
+
<wsdl:input message="wsdlns:SendTranRequest" />
|
52
|
+
<wsdl:output message="wsdlns:SendTranResponse" />
|
53
|
+
<wsdl:fault name="ServiceFault" message="wsdlns:ServiceFault" />
|
54
|
+
<wsdl:fault name="SystemFault" message="wsdlns:SystemFault" />
|
55
|
+
</wsdl:operation>
|
56
|
+
<wsdl:operation name="SettleTran">
|
57
|
+
<wsdl:input message="wsdlns:SettleTranRequest" />
|
58
|
+
<wsdl:output message="wsdlns:SettleTranResponse" />
|
59
|
+
<wsdl:fault name="ServiceFault" message="wsdlns:ServiceFault" />
|
60
|
+
<wsdl:fault name="SystemFault" message="wsdlns:SystemFault" />
|
61
|
+
</wsdl:operation>
|
62
|
+
<wsdl:operation name="UpdtRecurrProf">
|
63
|
+
<wsdl:input message="wsdlns:UpdtRecurrProfRequest" />
|
64
|
+
<wsdl:output message="wsdlns:UpdtRecurrProfResponse" />
|
65
|
+
<wsdl:fault name="ServiceFault" message="wsdlns:ServiceFault" />
|
66
|
+
<wsdl:fault name="SystemFault" message="wsdlns:SystemFault" />
|
67
|
+
</wsdl:operation>
|
68
|
+
<wsdl:operation name="FndRecurrProf">
|
69
|
+
<wsdl:input message="wsdlns:FndRecurrProfRequest" />
|
70
|
+
<wsdl:output message="wsdlns:FndRecurrProfResponse" />
|
71
|
+
<wsdl:fault name="ServiceFault" message="wsdlns:ServiceFault" />
|
72
|
+
<wsdl:fault name="SystemFault" message="wsdlns:SystemFault" />
|
73
|
+
</wsdl:operation>
|
74
|
+
</wsdl:portType>
|
75
|
+
|
76
|
+
<!-- Binding -->
|
77
|
+
|
78
|
+
<wsdl:binding name="MerchantWebServicesSOAP11Binding" type="wsdlns:MerchantWebServicesPortType">
|
79
|
+
|
80
|
+
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
|
81
|
+
<wsdl:operation name="SendTran">
|
82
|
+
<soap:operation soapAction="" />
|
83
|
+
<wsdl:input>
|
84
|
+
<soap:body use="literal" />
|
85
|
+
|
86
|
+
</wsdl:input>
|
87
|
+
<wsdl:output>
|
88
|
+
<soap:body use="literal" />
|
89
|
+
|
90
|
+
</wsdl:output>
|
91
|
+
<wsdl:fault name="ServiceFault">
|
92
|
+
<soap:fault name="ServiceFault" use="literal" />
|
93
|
+
</wsdl:fault>
|
94
|
+
<wsdl:fault name="SystemFault">
|
95
|
+
<soap:fault name="SystemFault" use="literal" />
|
96
|
+
</wsdl:fault>
|
97
|
+
</wsdl:operation>
|
98
|
+
|
99
|
+
<wsdl:operation name="SettleTran">
|
100
|
+
<soap:operation soapAction="" />
|
101
|
+
<wsdl:input>
|
102
|
+
<soap:body use="literal" />
|
103
|
+
|
104
|
+
</wsdl:input>
|
105
|
+
<wsdl:output>
|
106
|
+
<soap:body use="literal" />
|
107
|
+
|
108
|
+
</wsdl:output>
|
109
|
+
<wsdl:fault name="ServiceFault">
|
110
|
+
<soap:fault name="ServiceFault" use="literal" />
|
111
|
+
</wsdl:fault>
|
112
|
+
<wsdl:fault name="SystemFault">
|
113
|
+
<soap:fault name="SystemFault" use="literal" />
|
114
|
+
</wsdl:fault>
|
115
|
+
</wsdl:operation>
|
116
|
+
|
117
|
+
<wsdl:operation name="UpdtRecurrProf">
|
118
|
+
<soap:operation soapAction="" />
|
119
|
+
<wsdl:input>
|
120
|
+
<soap:body use="literal" />
|
121
|
+
|
122
|
+
</wsdl:input>
|
123
|
+
<wsdl:output>
|
124
|
+
<soap:body use="literal" />
|
125
|
+
|
126
|
+
</wsdl:output>
|
127
|
+
<wsdl:fault name="ServiceFault">
|
128
|
+
<soap:fault name="ServiceFault" use="literal" />
|
129
|
+
</wsdl:fault>
|
130
|
+
<wsdl:fault name="SystemFault">
|
131
|
+
<soap:fault name="SystemFault" use="literal" />
|
132
|
+
</wsdl:fault>
|
133
|
+
</wsdl:operation>
|
134
|
+
|
135
|
+
<wsdl:operation name="FndRecurrProf">
|
136
|
+
<soap:operation soapAction="" />
|
137
|
+
<wsdl:input>
|
138
|
+
<soap:body use="literal" />
|
139
|
+
|
140
|
+
</wsdl:input>
|
141
|
+
<wsdl:output>
|
142
|
+
<soap:body use="literal" />
|
143
|
+
|
144
|
+
</wsdl:output>
|
145
|
+
<wsdl:fault name="ServiceFault">
|
146
|
+
<soap:fault name="ServiceFault" use="literal" />
|
147
|
+
</wsdl:fault>
|
148
|
+
<wsdl:fault name="SystemFault">
|
149
|
+
<soap:fault name="SystemFault" use="literal" />
|
150
|
+
</wsdl:fault>
|
151
|
+
</wsdl:operation>
|
152
|
+
</wsdl:binding>
|
153
|
+
|
154
|
+
<!-- Service -->
|
155
|
+
|
156
|
+
<wsdl:service name="MerchantWebServices">
|
157
|
+
<wsdl:port binding="wsdlns:MerchantWebServicesSOAP11Binding" name="SOAPOverHTTP">
|
158
|
+
<soap:address location="https://ws.cert.transactionexpress.com:443/portal/merchantframework/MerchantWebServices-v1" />
|
159
|
+
</wsdl:port>
|
160
|
+
</wsdl:service>
|
161
|
+
|
162
|
+
</wsdl:definitions>
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'transfirst/ruby/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = 'transfirst-ruby'
|
8
|
+
spec.version = Transfirst::Ruby::VERSION
|
9
|
+
spec.platform = Gem::Platform::RUBY
|
10
|
+
spec.authors = ['Andolasoft']
|
11
|
+
spec.email = ['anurag.pattnaik@andolasoft.com']
|
12
|
+
|
13
|
+
spec.summary = %q{Transfirst API integration}
|
14
|
+
spec.homepage = 'https://github.com/andola-dev/transfirst-ruby'
|
15
|
+
spec.license = 'MIT'
|
16
|
+
|
17
|
+
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
18
|
+
spec.bindir = 'exe'
|
19
|
+
spec.require_paths = ['lib']
|
20
|
+
spec.required_ruby_version = '>= 1.9.3'
|
21
|
+
|
22
|
+
spec.add_development_dependency 'bundler', '~> 1.12'
|
23
|
+
spec.add_development_dependency 'rake', '~> 10.0'
|
24
|
+
end
|
metadata
ADDED
@@ -0,0 +1,92 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: transfirst-ruby
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Andolasoft
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2016-08-04 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.12'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.12'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '10.0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '10.0'
|
41
|
+
description:
|
42
|
+
email:
|
43
|
+
- anurag.pattnaik@andolasoft.com
|
44
|
+
executables: []
|
45
|
+
extensions: []
|
46
|
+
extra_rdoc_files: []
|
47
|
+
files:
|
48
|
+
- ".gitignore"
|
49
|
+
- Gemfile
|
50
|
+
- LICENSE.txt
|
51
|
+
- README.md
|
52
|
+
- Rakefile
|
53
|
+
- bin/console
|
54
|
+
- bin/setup
|
55
|
+
- lib/transfirst.rb
|
56
|
+
- lib/transfirst/account_verification.rb
|
57
|
+
- lib/transfirst/customer.rb
|
58
|
+
- lib/transfirst/response_codes.rb
|
59
|
+
- lib/transfirst/ruby/version.rb
|
60
|
+
- lib/transfirst/transfirst_error.rb
|
61
|
+
- lib/transfirst/wallet.rb
|
62
|
+
- lib/transfirst/wallet_refund.rb
|
63
|
+
- lib/transfirst/wallet_sale.rb
|
64
|
+
- lib/transfirst/wsdl/reports.wsdl
|
65
|
+
- lib/transfirst/wsdl/transfirst-v1.wsdl
|
66
|
+
- transfirst-ruby.gemspec
|
67
|
+
homepage: https://github.com/andola-dev/transfirst-ruby
|
68
|
+
licenses:
|
69
|
+
- MIT
|
70
|
+
metadata: {}
|
71
|
+
post_install_message:
|
72
|
+
rdoc_options: []
|
73
|
+
require_paths:
|
74
|
+
- lib
|
75
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
76
|
+
requirements:
|
77
|
+
- - ">="
|
78
|
+
- !ruby/object:Gem::Version
|
79
|
+
version: 1.9.3
|
80
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
81
|
+
requirements:
|
82
|
+
- - ">="
|
83
|
+
- !ruby/object:Gem::Version
|
84
|
+
version: '0'
|
85
|
+
requirements: []
|
86
|
+
rubyforge_project:
|
87
|
+
rubygems_version: 2.4.8
|
88
|
+
signing_key:
|
89
|
+
specification_version: 4
|
90
|
+
summary: Transfirst API integration
|
91
|
+
test_files: []
|
92
|
+
has_rdoc:
|