propay 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.
Files changed (38) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +9 -0
  3. data/Gemfile +4 -0
  4. data/LICENSE.txt +21 -0
  5. data/README.md +41 -0
  6. data/Rakefile +2 -0
  7. data/bin/console +14 -0
  8. data/bin/setup +8 -0
  9. data/lib/generators/propay/install_generator.rb +14 -0
  10. data/lib/generators/templates/propay_initializer.rb +6 -0
  11. data/lib/modules/fib.rb +9 -0
  12. data/lib/propay.rb +101 -0
  13. data/lib/propay/version.rb +3 -0
  14. data/lib/soap_actions/AuthorizeAndProcessEncryptedTrackData.erb +32 -0
  15. data/lib/soap_actions/AuthorizePaymentMethodTransaction.erb +35 -0
  16. data/lib/soap_actions/CapturePayment.erb +20 -0
  17. data/lib/soap_actions/CreateMerchantProfile.erb +28 -0
  18. data/lib/soap_actions/CreatePayerWithData.erb +16 -0
  19. data/lib/soap_actions/CreatePaymentMethod.erb +27 -0
  20. data/lib/soap_actions/CreatePaymentMethodFromEncryptedTrackData.erb +21 -0
  21. data/lib/soap_actions/CreditPayment.erb +36 -0
  22. data/lib/soap_actions/DeletePayer.erb +11 -0
  23. data/lib/soap_actions/DeletePaymentMethod.erb +12 -0
  24. data/lib/soap_actions/EditPayerV2.erb +20 -0
  25. data/lib/soap_actions/EditPaymentMethod.erb +27 -0
  26. data/lib/soap_actions/GetAllPayerPaymentMethods.erb +11 -0
  27. data/lib/soap_actions/GetPayers.erb +16 -0
  28. data/lib/soap_actions/GetTempToken.erb +18 -0
  29. data/lib/soap_actions/ProcessPaymentMethodTransaction.erb +36 -0
  30. data/lib/soap_actions/ProcessSplitPayTransaction.erb +43 -0
  31. data/lib/soap_actions/ProcessSplitPayTransactionWithEncryptedTrackData.erb +36 -0
  32. data/lib/soap_actions/RefundPaymentV2.erb +16 -0
  33. data/lib/soap_actions/ReverseSplitPayTransaction.erb +18 -0
  34. data/lib/soap_actions/SignUp.xml.erb +24 -0
  35. data/lib/soap_actions/VoidPaymentV2.erb +14 -0
  36. data/lib/soap_actions/_auth.erb +7 -0
  37. data/propay.gemspec +27 -0
  38. metadata +122 -0
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 8118dfe2d24c29d67b840e73dfd809023d678ef5
4
+ data.tar.gz: 5158e3cef129fe538467349461e8cbfc987635ce
5
+ SHA512:
6
+ metadata.gz: e7f96101052bc82c206bd2a532b24c58bb8dae37b1d4c885b3831c4ff91e4b81ec1e2f3cc98f08b7d65b4de3591b7ace2dee2c232526e0d1e80fd40742886e13
7
+ data.tar.gz: 91a93833bf1467832b70682826d0b5e6d733602e79ee7e05fae97ddd8f57a4419bab99d8ad66f8a92f84638eb931d0f771a6d7cfbcc35075ae294a90a662e761
@@ -0,0 +1,9 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in propay.gemspec
4
+ gemspec
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2016 Isaac Sloan
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.
@@ -0,0 +1,41 @@
1
+ # Propay
2
+
3
+ Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/propay`. To experiment with that code, run `bin/console` for an interactive prompt.
4
+
5
+ TODO: Delete this and the text above, and describe your gem
6
+
7
+ ## Installation
8
+
9
+ Add this line to your application's Gemfile:
10
+
11
+ ```ruby
12
+ gem 'propay'
13
+ ```
14
+
15
+ And then execute:
16
+
17
+ $ bundle
18
+
19
+ Or install it yourself as:
20
+
21
+ $ gem install propay
22
+
23
+ ## Usage
24
+
25
+ TODO: Write usage instructions here
26
+
27
+ ## Development
28
+
29
+ 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.
30
+
31
+ 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).
32
+
33
+ ## Contributing
34
+
35
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/propay.
36
+
37
+
38
+ ## License
39
+
40
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
41
+
@@ -0,0 +1,2 @@
1
+ require "bundler/gem_tasks"
2
+ task :default => :spec
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "propay"
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
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,14 @@
1
+ module Propay
2
+ module Generators
3
+ class InstallGenerator < Rails::Generators::Base
4
+ source_root File.expand_path("../../templates", __FILE__)
5
+ desc "Creates initializer for tools."
6
+
7
+ def copy_initializer
8
+ template "propay_initializer.rb", "config/initializers/propay.rb"
9
+
10
+ puts "Install complete!"
11
+ end
12
+ end
13
+ end
14
+ end
@@ -0,0 +1,6 @@
1
+ Propay.configure do |config|
2
+ config.authentication_token = ""
3
+ config.biller_account_id = ""
4
+ config.test_authentication_token = ""
5
+ config.test_biller_account_id = ""
6
+ end
@@ -0,0 +1,9 @@
1
+ module Propay
2
+ module Fixnum
3
+ def fibo
4
+ self.times.each_with_object([0,1]) { |num, obj| obj << obj[-2] + obj[-1] }
5
+ end
6
+ end
7
+ ::Fixnum.send(:include, Propay::Fixnum) if configuration.fib
8
+ end
9
+
@@ -0,0 +1,101 @@
1
+ require "propay/version"
2
+ require 'builder'
3
+ require 'ostruct'
4
+
5
+ module Propay
6
+ class ResponseError < RuntimeError;
7
+ end
8
+
9
+ CARD_TYPES = %w(Visa MasterCard AMEX Discover DinersClub JCB)
10
+
11
+ class << self
12
+ attr_accessor :configuration
13
+
14
+ def configure
15
+ self.configuration ||= OpenStruct.new
16
+ yield(configuration)
17
+ current_path = File.expand_path(File.dirname(__FILE__))
18
+ Dir["#{current_path}/modules/*.rb"].each {|file| require file }
19
+ end
20
+
21
+ def create_merchant_profile(options = {})
22
+ soap_action("CreateMerchantProfile", options)
23
+ end
24
+
25
+ def find_or_create_payer(options = {})
26
+ payer_id = soap_action("GetPayers", options)["GetPayersResponse"]["GetPayersResult"]["Payers"]["PayerInfo"].first["payerAccountId"] rescue false
27
+ payer_id = soap_action("CreatePayerWithData", options)["CreatePayerWithDataResponse"]["CreatePayerWithDataResult"]["ExternalAccountID"] unless payer_id
28
+ return payer_id
29
+ end
30
+
31
+ def create_payer(options = {})
32
+ payer_id = soap_action("CreatePayerWithData", options)["CreatePayerWithDataResponse"]["CreatePayerWithDataResult"]["ExternalAccountID"] unless payer_id
33
+ end
34
+
35
+ # :name :card_number :address :address2 :country :state :zip :description :expiration :payer_id :card_type
36
+ def add_payment_method(options = {})
37
+ soap_action("CreatePaymentMethod", options.merge(:payer_id => (options[:payer_id] || find_or_create_payer(options))))
38
+ end
39
+
40
+ # :payment_method_id :user_id || :payer_id
41
+ def delete_payment_method(options = {})
42
+ soap_action("DeletePaymentMethod", options.merge(:payer_id => (options[:payer_id] || find_or_create_payer(options))))
43
+ end
44
+
45
+ # :user_id || payer_id
46
+ def list_payment_methods(options = {})
47
+ response = soap_action("GetAllPayerPaymentMethods", options.merge(:payer_id => (options[:payer_id] || find_or_create_payer(options))))["GetAllPayerPaymentMethodsResponse"]["GetAllPayerPaymentMethodsResult"]["PaymentMethods"]["PaymentMethodInformation"] rescue nil
48
+ return response.class == Hash ? [response] : response
49
+ end
50
+
51
+ # :payment_method_id :amount :comment :comment2 :merchant_profile_id :payer_id || :user_id
52
+ def process_payment(options = {})
53
+ soap_action("ProcessPaymentMethodTransaction", options.merge(:payer_id => (options[:payer_id] || find_or_create_payer(options))))["ProcessPaymentMethodTransactionResponse"]["ProcessPaymentMethodTransactionResult"]
54
+ end
55
+
56
+ # :payment_method_id :amount :comment :comment2 :merchant_profile_id :payer_id || :user_id
57
+ def authorize_payment(options = {})
58
+ soap_action("AuthorizePaymentMethodTransaction", options.merge(:payer_id => (options[:payer_id] || find_or_create_payer(options))))["AuthorizePaymentMethodTransactionResponse"]["AuthorizePaymentMethodTransactionResult"]
59
+ end
60
+
61
+ # :amount :comment :comment2 :merchant_profile_id :transaction_id :payer_id || :user_id
62
+ def capture_payment(options = {})
63
+ soap_action("CapturePayment", options.merge(:payer_id => (options[:payer_id] || find_or_create_payer(options))))["CapturePaymentResponse"]["CapturePaymentResult"]
64
+ end
65
+
66
+ # :transaction_id, :merchant_profile_id
67
+ def void_payment(options = {})
68
+ soap_action("VoidPaymentV2", options)["VoidPaymentV2Response"]["VoidPaymentV2Result"]
69
+ end
70
+
71
+ # :amount, :transaction_id, :merchant_profile_id
72
+ def refund_payment(options = {})
73
+ soap_action("RefundPaymentV2", options)["RefundPaymentV2Response"]["RefundPaymentV2Result"]
74
+ end
75
+
76
+ def get_temp_token(options = {})
77
+ result = soap_action('GetTempToken', options)
78
+ raise result["GetTempTokenResponse"]["GetTempTokenResult"]["RequestResult"]["ResultMessage"] if result["GetTempTokenResponse"]["GetTempTokenResult"]["RequestResult"]["ResultValue"] == "FAILURE"
79
+ result
80
+ end
81
+
82
+ private
83
+
84
+ def soap_action(action, options = {})
85
+ @options = options
86
+ @partial = ERB.new(File.new("#{File.dirname(__FILE__)}/soap_actions/_auth.erb").read, nil, true).result(binding)
87
+ xml = ERB.new(File.new("#{File.dirname(__FILE__)}/soap_actions/#{action}.erb").read, nil, true).result(binding)
88
+ response = post_soap(xml, action)
89
+ puts xml, ">>\n", response.inspect if options[:show_xml]
90
+ return response
91
+ end
92
+
93
+ def post_soap(xml, action)
94
+ Rails.logger.info "SENT: #{xml}"
95
+ host = (Rails.env == 'production' ? "protectpay.propay.com" : "protectpaytest.propay.com")
96
+ resp = Typhoeus::Request.post("https://#{host}/api/sps.svc", :body => xml, :headers => {'Host' => host, 'Content-Type' => "text/xml; charset=utf-8", "SOAPAction" => "http://propay.com/SPS/contracts/SPSService/#{action}"})
97
+ Rails.logger.info "RECEIVED: #{resp.body}"
98
+ return Hash.from_xml(resp.body)["Envelope"]["Body"]
99
+ end
100
+ end
101
+ end
@@ -0,0 +1,3 @@
1
+ module Propay
2
+ VERSION = "0.1.0"
3
+ end
@@ -0,0 +1,32 @@
1
+ <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:con="http://propay.com/SPS/contracts" xmlns:typ="http://propay.com/SPS/types"
2
+ xmlns:prop="http://schemas.datacontract.org/2004/07/Propay.Contracts.SPS.External" xmlns:prop1="http://schemas.datacontract.org/2004/07/Propay.Contracts.Common.Structures">
3
+ <soapenv:Header/>
4
+ <soapenv:Body>
5
+ <con:AuthorizeAndProcessEncryptedTrackData>
6
+ <con:id>
7
+ <%= @partial %>
8
+ </con:id>
9
+ <con:request>
10
+ <prop:CreatePaymentMethodDuplicateAction>SaveNew</prop:CreatePaymentMethodDuplicateAction>
11
+ <prop:EncryptedTracks>
12
+ <prop1:DeviceType>MagTekM20</prop1:DeviceType>
13
+ <prop1:EncryptedTrack2Data>acUx7zcRE8AhyJKZIaOVAxFDQbvO4LRfW/qBjvUzZ3unR0HWgu6LKQ==</prop1:EncryptedTrack2Data>
14
+ <prop1:EncryptedTrackData>7W0pjXRuLlZxEE6ZrHJKHZjK9Xyxfi3Gf56qZxwYCjCU5isNKya/TKiyNcchQP6Ak24rZw9z2loPo05vE2XLag==</prop1:EncryptedTrackData>
15
+ <prop1:KeySerialNumber>kBAkCwBgHQAAXA==</prop1:KeySerialNumber>
16
+ </prop:EncryptedTracks>
17
+ <prop:ShouldCapture>true</prop:ShouldCapture>
18
+ <prop:ShouldCreatePaymentMethod>true</prop:ShouldCreatePaymentMethod>
19
+ <prop:StorageInformation>
20
+ <prop:AccountName>test 03042011</prop:AccountName>
21
+ <prop:Description>test 03042011</prop:Description>
22
+ </prop:StorageInformation>
23
+ <prop:Transaction>
24
+ <typ:Amount>100</typ:Amount>
25
+ <typ:CurrencyCode>USD</typ:CurrencyCode>
26
+ <typ:Invoice>test03072011d</typ:Invoice>
27
+ <typ:PayerAccountId>5439755540195690</typ:PayerAccountId>
28
+ </prop:Transaction>
29
+ </con:request>
30
+ </con:AuthorizeAndProcessEncryptedTrackData>
31
+ </soapenv:Body>
32
+ </soapenv:Envelope>
@@ -0,0 +1,35 @@
1
+ <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:con="http://propay.com/SPS/contracts" xmlns:typ="http://propay.com/SPS/types"
2
+ xmlns:prop="http://schemas.datacontract.org/2004/07/Propay.Contracts.SPS.External">
3
+ <soapenv:Header/>
4
+ <soapenv:Body>
5
+ <con:AuthorizePaymentMethodTransaction>
6
+ <con:id>
7
+ <%= @partial %>
8
+ </con:id>
9
+ <con:transaction>
10
+ <typ:Amount><%= @options[:amount] %></typ:Amount>
11
+ <typ:Comment1><%= @options[:comment] %></typ:Comment1>
12
+ <typ:CurrencyCode>USD</typ:CurrencyCode>
13
+ <typ:Invoice></typ:Invoice>
14
+ <typ:MerchantProfileId><%= @options[:merchant_profile_id] %></typ:MerchantProfileId>
15
+ <typ:PayerAccountId><%= @options[:payer_id] %></typ:PayerAccountId>
16
+ </con:transaction>
17
+ <con:paymentMethodID><%= @options[:payment_method_id] %></con:paymentMethodID>
18
+ <con:optionalPaymentInfoOverrides>
19
+ <prop:CreditCard>
20
+ <prop:Billing>
21
+ <typ:Address1></typ:Address1>
22
+ <typ:Address2></typ:Address2>
23
+ <typ:Address3></typ:Address3>
24
+ <typ:City></typ:City>
25
+ <typ:Country></typ:Country>
26
+ <typ:State></typ:State>
27
+ <typ:ZipCode></typ:ZipCode>
28
+ </prop:Billing>
29
+ <prop:ExpirationDate></prop:ExpirationDate>
30
+ <prop:FullName></prop:FullName>
31
+ </prop:CreditCard>
32
+ </con:optionalPaymentInfoOverrides>
33
+ </con:AuthorizePaymentMethodTransaction>
34
+ </soapenv:Body>
35
+ </soapenv:Envelope>
@@ -0,0 +1,20 @@
1
+ <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:con="http://propay.com/SPS/contracts" xmlns:typ="http://propay.com/SPS/types">
2
+ <soapenv:Header/>
3
+ <soapenv:Body>
4
+ <con:CapturePayment>
5
+ <con:id>
6
+ <%= @partial %>
7
+ </con:id>
8
+ <con:transaction>
9
+ <typ:Amount><%= @options[:amount] %></typ:Amount>
10
+ <typ:Comment1><%= @options[:comment] %></typ:Comment1>
11
+ <typ:Comment2><%= @options[:comment2] %></typ:Comment2>
12
+ <typ:CurrencyCode>USD</typ:CurrencyCode>
13
+ <typ:Invoice></typ:Invoice>
14
+ <typ:MerchantProfileId><%= @options[:merchant_profile_id] %></typ:MerchantProfileId>
15
+ <typ:PayerAccountId><%= @options[:payer_id] %></typ:PayerAccountId>
16
+ </con:transaction>
17
+ <con:originalTransactionID><%= @options[:transaction_id] %></con:originalTransactionID>
18
+ </con:CapturePayment>
19
+ </soapenv:Body>
20
+ </soapenv:Envelope>
@@ -0,0 +1,28 @@
1
+ <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:con="http://propay.com/SPS/contracts" xmlns:typ="http://propay.com/SPS/types" xmlns:prop="http://schemas.datacontract.org/2004/07/Propay.Contracts.SPS.External">
2
+ <soapenv:Header/>
3
+ <soapenv:Body>
4
+ <con:CreateMerchantProfile>
5
+ <con:identification>
6
+ <%= @partial %>
7
+ </con:identification>
8
+ <con:merchantProfile>
9
+ <prop:PaymentProcessor>LegacyProPay</prop:PaymentProcessor>
10
+ <prop:ProcessorData>
11
+ <prop:ProcessorDatum>
12
+ <prop:ProcessorField>certStr</prop:ProcessorField>
13
+ <prop:Value>4986d9d70264d409133e87bb7f31b0</prop:Value>
14
+ </prop:ProcessorDatum>
15
+ <prop:ProcessorDatum>
16
+ <prop:ProcessorField>termId</prop:ProcessorField>
17
+ <prop:Value>b7f31b0</prop:Value>
18
+ </prop:ProcessorDatum>
19
+ <prop:ProcessorDatum>
20
+ <prop:ProcessorField>accountNum</prop:ProcessorField>
21
+ <prop:Value><%= @options[:account_number] %></prop:Value>
22
+ </prop:ProcessorDatum>
23
+ </prop:ProcessorData>
24
+ <prop:ProfileName><%= @options[:name] %></prop:ProfileName>
25
+ </con:merchantProfile>
26
+ </con:CreateMerchantProfile>
27
+ </soapenv:Body>
28
+ </soapenv:Envelope>
@@ -0,0 +1,16 @@
1
+ <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:con="http://propay.com/SPS/contracts" xmlns:typ="http://propay.com/SPS/types">
2
+ <soapenv:Header/>
3
+ <soapenv:Body>
4
+ <con:CreatePayerWithData>
5
+ <con:identification>
6
+ <%= @partial %>
7
+ </con:identification>
8
+ <con:data>
9
+ <typ:EmailAddress><%= @options[:email] %></typ:EmailAddress>
10
+ <typ:ExternalId1><%= @options[:type] %></typ:ExternalId1>
11
+ <typ:ExternalId2><%= @options[:id] %></typ:ExternalId2>
12
+ <typ:Name><%= @options[:name] %></typ:Name>
13
+ </con:data>
14
+ </con:CreatePayerWithData>
15
+ </soapenv:Body>
16
+ </soapenv:Envelope>
@@ -0,0 +1,27 @@
1
+ <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:con="http://propay.com/SPS/contracts" xmlns:typ="http://propay.com/SPS/types">
2
+ <soapenv:Header/>
3
+ <soapenv:Body>
4
+ <con:CreatePaymentMethod>
5
+ <con:identification>
6
+ <%= @partial %>
7
+ </con:identification>
8
+ <con:pmAdd>
9
+ <typ:AccountCountryCode><%= @options[:country_code] %></typ:AccountCountryCode>
10
+ <typ:AccountName><%= @options[:name] %></typ:AccountName>
11
+ <typ:AccountNumber><%= @options[:card_number] %></typ:AccountNumber>
12
+ <typ:BillingInformation>
13
+ <typ:Address1><%= @options[:address] %></typ:Address1>
14
+ <typ:City><%= @options[:address2] %></typ:City>
15
+ <typ:Country><%= @options[:country] %></typ:Country>
16
+ <typ:State><%= @options[:state] %></typ:State>
17
+ <typ:ZipCode><%= @options[:zip] %></typ:ZipCode>
18
+ </typ:BillingInformation>
19
+ <typ:Description><%= @options[:description] %></typ:Description>
20
+ <typ:ExpirationDate><%= @options[:expiration].gsub(/\D/,"") rescue "" %></typ:ExpirationDate>
21
+ <typ:PayerAccountId><%= @options[:payer_id] %></typ:PayerAccountId>
22
+ <typ:PaymentMethodType><%= @options[:card_type] %></typ:PaymentMethodType>
23
+ <typ:DuplicateAction>RETURNDUP</typ:DuplicateAction>
24
+ </con:pmAdd>
25
+ </con:CreatePaymentMethod>
26
+ </soapenv:Body>
27
+ </soapenv:Envelope>
@@ -0,0 +1,21 @@
1
+ <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:con="http://propay.com/SPS/contracts" xmlns:typ="http://propay.com/SPS/types"
2
+ xmlns:prop="http://schemas.datacontract.org/2004/07/Propay.Contracts.SPS.External" xmlns:prop1="http://schemas.datacontract.org/2004/07/Propay.Contracts.Common.Structures">
3
+ <soapenv:Header/>
4
+ <soapenv:Body>
5
+ <con:CreatePaymentMethodFromEncryptedTrackData>
6
+ <con:identification>
7
+ <%= @partial %>
8
+ </con:identification>
9
+ <con:request>
10
+ <prop:Description>test 03042011</prop:Description>
11
+ <prop:EncryptedTrackData>
12
+ <prop1:DeviceType>MagTekM20</prop1:DeviceType>
13
+ <prop1:EncryptedTrack2Data>acUx7zcRE8AhyJKZIaOVAxFDQbvO4LRfW/qBjvUzZ3unR0HWgu6LKQ==</prop1:EncryptedTrack2Data>
14
+ <prop1:EncryptedTrackData>7W0pjXRuLlZxEE6ZrHJKHZjK9Xyxfi3Gf56qZxwYCjCU5isNKya/TKiyNcchQP6Ak24rZw9z2loPo05vE2XLag==</prop1:EncryptedTrackData>
15
+ <prop1:KeySerialNumber>kBAkCwBgHQAAXA==</prop1:KeySerialNumber>
16
+ </prop:EncryptedTrackData>
17
+ <prop:PayerAccountId>2251089291610520</prop:PayerAccountId>
18
+ </con:request>
19
+ </con:CreatePaymentMethodFromEncryptedTrackData>
20
+ </soapenv:Body>
21
+ </soapenv:Envelope>
@@ -0,0 +1,36 @@
1
+ <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:con="http://propay.com/SPS/contracts" xmlns:typ="http://propay.com/SPS/types"
2
+ xmlns:prop="http://schemas.datacontract.org/2004/07/Propay.Contracts.SPS.External">
3
+ <soapenv:Header/>
4
+ <soapenv:Body>
5
+ <con:CreditPayment>
6
+ <con:id>
7
+ <%= @partial %>
8
+ </con:id>
9
+ <con:transaction>
10
+ <typ:Amount>?</typ:Amount>
11
+ <typ:Comment1>?</typ:Comment1>
12
+ <typ:Comment2>?</typ:Comment2>
13
+ <typ:CurrencyCode>?</typ:CurrencyCode>
14
+ <typ:Invoice>?</typ:Invoice>
15
+ <typ:MerchantProfileId>?</typ:MerchantProfileId>
16
+ <typ:PayerAccountId>?</typ:PayerAccountId>
17
+ </con:transaction>
18
+ <con:paymentMethodID>?</con:paymentMethodID>
19
+ <con:paymentInfoOverrides>
20
+ <prop:CreditCard>
21
+ <prop:Billing>
22
+ <typ:Address1>?</typ:Address1>
23
+ <typ:Address2>?</typ:Address2>
24
+ <typ:Address3>?</typ:Address3>
25
+ <typ:City>?</typ:City>
26
+ <typ:Country>?</typ:Country>
27
+ <typ:State>?</typ:State>
28
+ <typ:ZipCode>?</typ:ZipCode>
29
+ </prop:Billing>
30
+ <prop:ExpirationDate>?</prop:ExpirationDate>
31
+ <prop:FullName>?</prop:FullName>
32
+ </prop:CreditCard>
33
+ </con:paymentInfoOverrides>
34
+ </con:CreditPayment>
35
+ </soapenv:Body>
36
+ </soapenv:Envelope>
@@ -0,0 +1,11 @@
1
+ <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:con="http://propay.com/SPS/contracts" xmlns:typ="http://propay.com/SPS/types">
2
+ <soapenv:Header/>
3
+ <soapenv:Body>
4
+ <con:DeletePayer>
5
+ <con:identification>
6
+ <%= @partial %>
7
+ </con:identification>
8
+ <con:payerAccountId>?</con:payerAccountId>
9
+ </con:DeletePayer>
10
+ </soapenv:Body>
11
+ </soapenv:Envelope>
@@ -0,0 +1,12 @@
1
+ <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:con="http://propay.com/SPS/contracts" xmlns:typ="http://propay.com/SPS/types">
2
+ <soapenv:Header/>
3
+ <soapenv:Body>
4
+ <con:DeletePaymentMethod>
5
+ <con:identification>
6
+ <%= @partial %>
7
+ </con:identification>
8
+ <con:payerAccountId><%= @options[:payer_id] %></con:payerAccountId>
9
+ <con:paymentID><%= @options[:payment_method_id] %></con:paymentID>
10
+ </con:DeletePaymentMethod>
11
+ </soapenv:Body>
12
+ </soapenv:Envelope>
@@ -0,0 +1,20 @@
1
+ <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:con="http://propay.com/SPS/contracts" xmlns:typ="http://propay.com/SPS/types"
2
+ xmlns:prop="http://schemas.datacontract.org/2004/07/Propay.Contracts.SPS.External">
3
+ <soapenv:Header/>
4
+ <soapenv:Body>
5
+ <con:EditPayerV2>
6
+ <con:identification>
7
+ <%= @partial %>
8
+ </con:identification>
9
+ <con:request>
10
+ <prop:PayerAccountId>?</prop:PayerAccountId>
11
+ <prop:UpdatedData>
12
+ <typ:EmailAddress>?</typ:EmailAddress>
13
+ <typ:ExternalId1>?</typ:ExternalId1>
14
+ <typ:ExternalId2>?</typ:ExternalId2>
15
+ <typ:Name>?</typ:Name>
16
+ </prop:UpdatedData>
17
+ </con:request>
18
+ </con:EditPayerV2>
19
+ </soapenv:Body>
20
+ </soapenv:Envelope>
@@ -0,0 +1,27 @@
1
+ <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:con="http://propay.com/SPS/contracts" xmlns:typ="http://propay.com/SPS/types">
2
+ <soapenv:Header/>
3
+ <soapenv:Body>
4
+ <con:EditPaymentMethod>
5
+ <con:identification>
6
+ <%= @partial %>
7
+ </con:identification>
8
+ <con:pmu>
9
+ <typ:AccountName>?</typ:AccountName>
10
+ <typ:BankAccountType>?</typ:BankAccountType>
11
+ <typ:BillingInformation>
12
+ <typ:Address1>?</typ:Address1>
13
+ <typ:Address2>?</typ:Address2>
14
+ <typ:Address3>?</typ:Address3>
15
+ <typ:City>?</typ:City>
16
+ <typ:Country>?</typ:Country>
17
+ <typ:State>?</typ:State>
18
+ <typ:ZipCode>?</typ:ZipCode>
19
+ </typ:BillingInformation>
20
+ <typ:Description>?</typ:Description>
21
+ <typ:ExpirationDate>?</typ:ExpirationDate>
22
+ <typ:PayerAccountId>?</typ:PayerAccountId>
23
+ <typ:PaymentMethodID>?</typ:PaymentMethodID>
24
+ </con:pmu>
25
+ </con:EditPaymentMethod>
26
+ </soapenv:Body>
27
+ </soapenv:Envelope>
@@ -0,0 +1,11 @@
1
+ <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:con="http://propay.com/SPS/contracts" xmlns:typ="http://propay.com/SPS/types">
2
+ <soapenv:Header/>
3
+ <soapenv:Body>
4
+ <con:GetAllPayerPaymentMethods>
5
+ <con:billerIdentification>
6
+ <%= @partial %>
7
+ </con:billerIdentification>
8
+ <con:payerAccountId><%= @options[:payer_id] %></con:payerAccountId>
9
+ </con:GetAllPayerPaymentMethods>
10
+ </soapenv:Body>
11
+ </soapenv:Envelope>
@@ -0,0 +1,16 @@
1
+ <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:con="http://propay.com/SPS/contracts" xmlns:typ="http://propay.com/SPS/types">
2
+ <soapenv:Header/>
3
+ <soapenv:Body>
4
+ <con:GetPayers>
5
+ <con:billerId>
6
+ <%= @partial %>
7
+ </con:billerId>
8
+ <con:criteria>
9
+ <typ:EmailAddress><%= @options[:email] %></typ:EmailAddress>
10
+ <typ:ExternalId1><%= @options[:type] %></typ:ExternalId1>
11
+ <typ:ExternalId2><%= @options[:id] %></typ:ExternalId2>
12
+ <typ:Name><%= @options[:name] %></typ:Name>
13
+ </con:criteria>
14
+ </con:GetPayers>
15
+ </soapenv:Body>
16
+ </soapenv:Envelope>
@@ -0,0 +1,18 @@
1
+ <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:con="http://propay.com/SPS/contracts" xmlns:typ="http://propay.com/SPS/types">
2
+ <soapenv:Header/>
3
+ <soapenv:Body>
4
+ <con:GetTempToken>
5
+ <con:tempTokenRequest>
6
+ <typ:Identification>
7
+ <%= @partial %>
8
+ </typ:Identification>
9
+ <typ:PayerInfo>
10
+ <typ:Id><%= options[:payer_id] %></typ:Id>
11
+ </typ:PayerInfo>
12
+ <typ:TokenProperties>
13
+ <typ:DurationSeconds><%= options[:duration] %></typ:DurationSeconds>
14
+ </typ:TokenProperties>
15
+ </con:tempTokenRequest>
16
+ </con:GetTempToken>
17
+ </soapenv:Body>
18
+ </soapenv:Envelope>
@@ -0,0 +1,36 @@
1
+ <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:con="http://propay.com/SPS/contracts" xmlns:typ="http://propay.com/SPS/types"
2
+ xmlns:prop="http://schemas.datacontract.org/2004/07/Propay.Contracts.SPS.External">
3
+ <soapenv:Header/>
4
+ <soapenv:Body>
5
+ <con:ProcessPaymentMethodTransaction>
6
+ <con:id>
7
+ <%= @partial %>
8
+ </con:id>
9
+ <con:transaction>
10
+ <typ:Amount><%= @options[:amount] %></typ:Amount>
11
+ <typ:Comment1><%= @options[:comment] %></typ:Comment1>
12
+ <typ:Comment2><%= @options[:comment2] %></typ:Comment2>
13
+ <typ:CurrencyCode>USD</typ:CurrencyCode>
14
+ <typ:Invoice></typ:Invoice>
15
+ <typ:MerchantProfileId><%= @options[:merchant_profile_id] %></typ:MerchantProfileId>
16
+ <typ:PayerAccountId><%= @options[:payer_id] %></typ:PayerAccountId>
17
+ </con:transaction>
18
+ <con:paymentMethodID><%= @options[:payment_method_id] %></con:paymentMethodID>
19
+ <con:optionalPaymentInfoOverrides>
20
+ <prop:CreditCard>
21
+ <prop:Billing>
22
+ <typ:Address1></typ:Address1>
23
+ <typ:Address2></typ:Address2>
24
+ <typ:Address3></typ:Address3>
25
+ <typ:City></typ:City>
26
+ <typ:Country></typ:Country>
27
+ <typ:State></typ:State>
28
+ <typ:ZipCode></typ:ZipCode>
29
+ </prop:Billing>
30
+ <prop:ExpirationDate></prop:ExpirationDate>
31
+ <prop:FullName></prop:FullName>
32
+ </prop:CreditCard>
33
+ </con:optionalPaymentInfoOverrides>
34
+ </con:ProcessPaymentMethodTransaction>
35
+ </soapenv:Body>
36
+ </soapenv:Envelope>
@@ -0,0 +1,43 @@
1
+ <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:con="http://propay.com/SPS/contracts" xmlns:typ="http://propay.com/SPS/types"
2
+ xmlns:prop="http://schemas.datacontract.org/2004/07/Propay.Contracts.SPS.External">
3
+ <soapenv:Header/>
4
+ <soapenv:Body>
5
+ <con:ProcessSplitPayTransaction>
6
+ <con:id>
7
+ <%= @partial %>
8
+ </con:id>
9
+ <con:request>
10
+ <typ:InitialTransaction>
11
+ <typ:Amount>?</typ:Amount>
12
+ <typ:Comment1>?</typ:Comment1>
13
+ <typ:Comment2>?</typ:Comment2>
14
+ <typ:CurrencyCode>?</typ:CurrencyCode>
15
+ <typ:Invoice>?</typ:Invoice>
16
+ <typ:OptionalOverrides>
17
+ <prop:CreditCard>
18
+ <prop:Billing>
19
+ <typ:Address1>?</typ:Address1>
20
+ <typ:Address2>?</typ:Address2>
21
+ <typ:Address3>?</typ:Address3>
22
+ <typ:City>?</typ:City>
23
+ <typ:Country>?</typ:Country>
24
+ <typ:State>?</typ:State>
25
+ <typ:ZipCode>?</typ:ZipCode>
26
+ </prop:Billing>
27
+ <prop:CVV>?</prop:CVV>
28
+ <prop:ExpirationDate>?</prop:ExpirationDate>
29
+ <prop:FullName>?</prop:FullName>
30
+ </prop:CreditCard>
31
+ </typ:OptionalOverrides>
32
+ <typ:PayerAccountId>?</typ:PayerAccountId>
33
+ <typ:PaymentMethodId>?</typ:PaymentMethodId>
34
+ </typ:InitialTransaction>
35
+ <typ:SecondaryTransaction>
36
+ <prop:Amount>?</prop:Amount>
37
+ <prop:OriginatingAccountId>?</prop:OriginatingAccountId>
38
+ <prop:ReceivingAccountId>?</prop:ReceivingAccountId>
39
+ </typ:SecondaryTransaction>
40
+ </con:request>
41
+ </con:ProcessSplitPayTransaction>
42
+ </soapenv:Body>
43
+ </soapenv:Envelope>
@@ -0,0 +1,36 @@
1
+ <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:con="http://propay.com/SPS/contracts" xmlns:typ="http://propay.com/SPS/types"
2
+ xmlns:prop="http://schemas.datacontract.org/2004/07/Propay.Contracts.SPS.External" xmlns:prop1="http://schemas.datacontract.org/2004/07/Propay.Contracts.Common.Structures">
3
+ <soapenv:Header/>
4
+ <soapenv:Body>
5
+ <con:ProcessSplitPayTransactionWithEncryptedTrackData>
6
+ <con:id>
7
+ <%= @partial %>
8
+ </con:id>
9
+ <con:request>
10
+ <prop:CreatePaymentMethodDuplicateAction>SaveNew</prop:CreatePaymentMethodDuplicateAction>
11
+ <prop:EncryptedTrackData>
12
+ <prop1:DeviceType>MagTekM20</prop1:DeviceType>
13
+ <prop1:EncryptedTrack2Data>acUx7zcRE8AhyJKZIaOVAxFDQbvO4LRfW/qBjvUzZ3unR0HWgu6LKQ==</prop1:EncryptedTrack2Data>
14
+ <prop1:EncryptedTrackData>7W0pjXRuLlZxEE6ZrHJKHZjK9Xyxfi3Gf56qZxwYCjCU5isNKya/TKiyNcchQP6Ak24rZw9z2loPo05vE2XLag==</prop1:EncryptedTrackData>
15
+ <prop1:KeySerialNumber>kBAkCwBgHQAAXA==</prop1:KeySerialNumber>
16
+ </prop:EncryptedTrackData>
17
+ <prop:SecondaryTransaction>
18
+ <prop:Amount>100</prop:Amount>
19
+ <prop:OriginatingAccountId>3110311</prop:OriginatingAccountId>
20
+ <prop:ReceivingAccountId>3110312</prop:ReceivingAccountId>
21
+ </prop:SecondaryTransaction>
22
+ <prop:ShouldCreatePaymentMethod>true</prop:ShouldCreatePaymentMethod>
23
+ <prop:StorageInformation>
24
+ <prop:AccountName>test 03042011</prop:AccountName>
25
+ <prop:Description>test 03042011</prop:Description>
26
+ </prop:StorageInformation>
27
+ <prop:Transaction>
28
+ <typ:Amount>1000</typ:Amount>
29
+ <typ:CurrencyCode>USD</typ:CurrencyCode>
30
+ <typ:Invoice>test03072011a</typ:Invoice>
31
+ <typ:PayerAccountId>5439755540195690</typ:PayerAccountId>
32
+ </prop:Transaction>
33
+ </con:request>
34
+ </con:ProcessSplitPayTransactionWithEncryptedTrackData>
35
+ </soapenv:Body>
36
+ </soapenv:Envelope>
@@ -0,0 +1,16 @@
1
+ <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:con="http://propay.com/SPS/contracts" xmlns:typ="http://propay.com/SPS/types"
2
+ xmlns:prop="http://schemas.datacontract.org/2004/07/Propay.Contracts.SPS.External">
3
+ <soapenv:Header/>
4
+ <soapenv:Body>
5
+ <con:RefundPaymentV2>
6
+ <con:id>
7
+ <%= @partial %>
8
+ </con:id>
9
+ <con:request>
10
+ <prop:Amount><%= @options[:amount] %></prop:Amount>
11
+ <prop:MerchantProfileId><%= @options[:merchant_profile_id] %></prop:MerchantProfileId>
12
+ <prop:OriginalTransactionId><%= @options[:transaction_id] %></prop:OriginalTransactionId>
13
+ </con:request>
14
+ </con:RefundPaymentV2>
15
+ </soapenv:Body>
16
+ </soapenv:Envelope>
@@ -0,0 +1,18 @@
1
+ <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:con="http://propay.com/SPS/contracts" xmlns:typ="http://propay.com/SPS/types"
2
+ xmlns:prop="http://schemas.datacontract.org/2004/07/Propay.Contracts.SPS.External">
3
+ <soapenv:Header/>
4
+ <soapenv:Body>
5
+ <con:ReverseSplitPayTransaction>
6
+ <con:id>
7
+ <%= @partial %>
8
+ </con:id>
9
+ <con:request>
10
+ <prop:CreditCardReversalAmount>?</prop:CreditCardReversalAmount>
11
+ <prop:PropayToPropayAccountId>?</prop:PropayToPropayAccountId>
12
+ <prop:PropayToPropayReversalAmount>?</prop:PropayToPropayReversalAmount>
13
+ <prop:RequireCreditCardRefund>true</prop:RequireCreditCardRefund>
14
+ <prop:TransactionId>4</prop:TransactionId>
15
+ </con:request>
16
+ </con:ReverseSplitPayTransaction>
17
+ </soapenv:Body>
18
+ </soapenv:Envelope>
@@ -0,0 +1,24 @@
1
+ <?xml version='1.0'?>
2
+ <!DOCTYPE Request.dtd>
3
+ <XMLRequest>
4
+ <certStr>mycertStr000000000000001</certStr>
5
+ <class>partner</class>
6
+ <XMLTrans>
7
+ <transType>01</transType>
8
+ <sourceEmail>anyone@anywhere.com</sourceEmail>
9
+ <firstName>John</firstName>
10
+ <lastName>Doe</lastName>
11
+ <addr>200 West Main Street</addr>
12
+ <city>Anytown</city>
13
+ <state>UT</state>
14
+ <zip>84057</zip>
15
+ <dayPhone>4464464464</dayPhone>
16
+ <externalid>222157</externalid>
17
+ <evenPhone>4464464464</evenPhone>
18
+ <ssn>000000000</ssn>
19
+ <dob>12-15-1961</dob>
20
+ <phonePin>1234</phonePin>
21
+ <tier>Premium</tier>
22
+ </XMLTrans>
23
+ </XMLRequest>
24
+
@@ -0,0 +1,14 @@
1
+ <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:con="http://propay.com/SPS/contracts" xmlns:typ="http://propay.com/SPS/types" xmlns:prop="http://schemas.datacontract.org/2004/07/Propay.Contracts.SPS.External">
2
+ <soapenv:Header/>
3
+ <soapenv:Body>
4
+ <con:VoidPaymentV2>
5
+ <con:id>
6
+ <%= @partial %>
7
+ </con:id>
8
+ <con:request>
9
+ <prop:MerchantProfileId><%= @options[:merchant_profile_id] %></prop:MerchantProfileId>
10
+ <prop:OriginalTransactionId><%= @options[:transaction_id] %></prop:OriginalTransactionId>
11
+ </con:request>
12
+ </con:VoidPaymentV2>
13
+ </soapenv:Body>
14
+ </soapenv:Envelope>
@@ -0,0 +1,7 @@
1
+ <% if Rails && Rails.env.production? %>
2
+ <typ:AuthenticationToken><%= @configuration.authentication_token %></typ:AuthenticationToken>
3
+ <typ:BillerAccountId><%= @configuration.biller_account_id %></typ:BillerAccountId>
4
+ <% else %>
5
+ <typ:AuthenticationToken><%= @configuration.test_authentication_token %></typ:AuthenticationToken>
6
+ <typ:BillerAccountId><%= @configuration.test_biller_account_id %></typ:BillerAccountId>
7
+ <% end %>
@@ -0,0 +1,27 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'propay/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "propay"
8
+ spec.version = Propay::VERSION
9
+ spec.authors = ["Isaac Sloan"]
10
+ spec.email = ["isaac@isaacsloan.com"]
11
+ spec.homepage = "http://rubygems.org/gems/propay"
12
+ spec.license = "MIT"
13
+ spec.summary = %q{propay}
14
+ spec.description = %q{propay}
15
+ spec.add_dependency 'typhoeus'
16
+
17
+ # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
18
+ # to allow pushing to a single host or delete this section to allow pushing to any host.
19
+
20
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
21
+ spec.bindir = "exe"
22
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
23
+ spec.require_paths = ["lib"]
24
+
25
+ spec.add_development_dependency "bundler", "~> 1.12"
26
+ spec.add_development_dependency "rake", "~> 10.0"
27
+ end
metadata ADDED
@@ -0,0 +1,122 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: propay
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Isaac Sloan
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2016-08-24 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: typhoeus
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: bundler
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '1.12'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '1.12'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rake
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '10.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '10.0'
55
+ description: propay
56
+ email:
57
+ - isaac@isaacsloan.com
58
+ executables: []
59
+ extensions: []
60
+ extra_rdoc_files: []
61
+ files:
62
+ - ".gitignore"
63
+ - Gemfile
64
+ - LICENSE.txt
65
+ - README.md
66
+ - Rakefile
67
+ - bin/console
68
+ - bin/setup
69
+ - lib/generators/propay/install_generator.rb
70
+ - lib/generators/templates/propay_initializer.rb
71
+ - lib/modules/fib.rb
72
+ - lib/propay.rb
73
+ - lib/propay/version.rb
74
+ - lib/soap_actions/AuthorizeAndProcessEncryptedTrackData.erb
75
+ - lib/soap_actions/AuthorizePaymentMethodTransaction.erb
76
+ - lib/soap_actions/CapturePayment.erb
77
+ - lib/soap_actions/CreateMerchantProfile.erb
78
+ - lib/soap_actions/CreatePayerWithData.erb
79
+ - lib/soap_actions/CreatePaymentMethod.erb
80
+ - lib/soap_actions/CreatePaymentMethodFromEncryptedTrackData.erb
81
+ - lib/soap_actions/CreditPayment.erb
82
+ - lib/soap_actions/DeletePayer.erb
83
+ - lib/soap_actions/DeletePaymentMethod.erb
84
+ - lib/soap_actions/EditPayerV2.erb
85
+ - lib/soap_actions/EditPaymentMethod.erb
86
+ - lib/soap_actions/GetAllPayerPaymentMethods.erb
87
+ - lib/soap_actions/GetPayers.erb
88
+ - lib/soap_actions/GetTempToken.erb
89
+ - lib/soap_actions/ProcessPaymentMethodTransaction.erb
90
+ - lib/soap_actions/ProcessSplitPayTransaction.erb
91
+ - lib/soap_actions/ProcessSplitPayTransactionWithEncryptedTrackData.erb
92
+ - lib/soap_actions/RefundPaymentV2.erb
93
+ - lib/soap_actions/ReverseSplitPayTransaction.erb
94
+ - lib/soap_actions/SignUp.xml.erb
95
+ - lib/soap_actions/VoidPaymentV2.erb
96
+ - lib/soap_actions/_auth.erb
97
+ - propay.gemspec
98
+ homepage: http://rubygems.org/gems/propay
99
+ licenses:
100
+ - MIT
101
+ metadata: {}
102
+ post_install_message:
103
+ rdoc_options: []
104
+ require_paths:
105
+ - lib
106
+ required_ruby_version: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ required_rubygems_version: !ruby/object:Gem::Requirement
112
+ requirements:
113
+ - - ">="
114
+ - !ruby/object:Gem::Version
115
+ version: '0'
116
+ requirements: []
117
+ rubyforge_project:
118
+ rubygems_version: 2.4.5.1
119
+ signing_key:
120
+ specification_version: 4
121
+ summary: propay
122
+ test_files: []