paypal-sdk-adaptivepayments 1.110.0 → 1.117.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 953f75117723acba46d59a9694577b33f02e824a
4
- data.tar.gz: 9c4f23fb4a5c4f567a8dfa15983465bd457b1b84
3
+ metadata.gz: bb4cc5c1f9f2c26b25e81e5a9cf2c1458b9f5e88
4
+ data.tar.gz: 7c996e99fddf45594ec5e9f1cfc516dcb624764b
5
5
  SHA512:
6
- metadata.gz: 07f4139e864d78524fc5c31f8ad9dafec02657d586f8b786384635dd40eb6691fc6aa41cc1908f35058670ea0e6931f32a174e56b07a78e32cc9adc10596ec83
7
- data.tar.gz: 2846c28ec7270a576d92d6498f24590e4d63ee8adfb2c446e2166bae00f8c21de69d83d25d26d9f27104ade0f17957469d5dd463e2f21493c79a1305ad5360a9
6
+ metadata.gz: b8205057b810de2d4e5ddfe5f2245fa5907a221c3cb16c4e03a15c9d6f677d6f401fe204ae1cc920665d42598ad74bdc4c73327f1d666db544aca8d06e7b61e2
7
+ data.tar.gz: 4683c34d40ee178e4b61cb4bcf212fc91b70df53d00dc7c4edbd7c2fb37208c38ae0287b354c12218d147e5ada10c6bb8dd97d49fad87ea222cce7c8dde5781a
data/README.md CHANGED
@@ -107,7 +107,7 @@ PayPal::SDK.configure(
107
107
  @response = @api.pay(@pay)
108
108
 
109
109
  # Access response
110
- if @response.success?
110
+ if @response.success? && @response.payment_exec_status != "ERROR"
111
111
  @response.payKey
112
112
  @api.payment_url(@response) # Url to complete payment
113
113
  else
@@ -186,7 +186,7 @@ module PayPal::SDK
186
186
 
187
187
 
188
188
  class Status < EnumType
189
- self.options = { 'RTR' => 'RTR', 'NONRTR' => 'NON_RTR', 'MISSINGRECEIVERCOUNTRYINFORMATION' => 'MISSING_RECEIVER_COUNTRY_INFORMATION', 'MISSINGRECEIVERCOUNTRYFNAMELNAMEINFORMATION' => 'MISSING_RECEIVER_COUNTRY_FNAME_LNAME_INFORMATION' }
189
+ self.options = { 'RTR' => 'RTR', 'NONRTR' => 'NON_RTR', 'MISSINGRECEIVERCOUNTRYINFORMATION' => 'MISSING_RECEIVER_COUNTRY_INFORMATION' }
190
190
  end
191
191
 
192
192
 
@@ -684,12 +684,24 @@ module PayPal::SDK
684
684
 
685
685
 
686
686
 
687
- # Contains information related to Post Payment Disclosure Details This contains 1.Receivers information 2.Funds Avalibility Date
687
+ # Contains information related to State Regulatory Agency Information of the Sender's country for RTR transaction This contains 1.Agency Name 2.Phone Number 3.Website
688
+ class StateRegulatoryAgencyInfo < DataType
689
+ def self.load_members
690
+ object_of :Name, String
691
+ object_of :PhoneNo, String
692
+ object_of :Website, String
693
+ end
694
+ end
695
+
696
+
697
+
698
+ # Contains information related to Post Payment Disclosure Details This contains 1.Receivers information 2.Funds Avalibility Date 3.State Regulatory Agency Information
688
699
  class PostPaymentDisclosure < DataType
689
700
  def self.load_members
690
701
  object_of :accountIdentifier, AccountIdentifier, :required => true
691
702
  object_of :fundsAvailabilityDate, Date
692
703
  object_of :fundsAvailabilityDateDisclaimerText, String
704
+ object_of :stateRegulatoryAgencyInfo, StateRegulatoryAgencyInfo
693
705
  end
694
706
  end
695
707
 
@@ -1187,7 +1199,7 @@ module PayPal::SDK
1187
1199
 
1188
1200
 
1189
1201
 
1190
- # GetPrePaymentDisclosureResponse contains the information related to PrePayment disclosure. status : indicates the status of response. If Status = RTR then it means that this is RTR transaction. If Status = NON_RTR then it means that this is non RTR transaction. If Status = MISSING_RECEIVER_COUNTRY_INFORMATION then it means the Receiver country information is not found in PayPal database. So merchant has to call the API again with same set of parameter along with Receiver country code.This is useful in case of Unilateral scenario. where receiver is not holding paypal account. This is currently a place holder to support backward compatibility since first name and last name are mandated too. If Status = MISSING_RECEIVER_COUNTRY_FNAME_LNAME_INFORMATION then it means the Receiver country, first name and last name information is not found in PayPal database. So merchant has to call the API again with same set of parameter along with Receiver country code.This is useful in case of Unilateral scenario. where receiver is not holding paypal account. feePayer:Indicates who has agreed to Pay a Fee for the RTR transaction. Merchant can use this information to decide who actually has to pay the fee . senderDisclosure : This Variable Holds the disclosure related to sender. receiverDisclosureList : This list contains the disclosure information related to receivers. Merchant can just parse the details what ever is avaliable in the response and display the same to user.
1202
+ # GetPrePaymentDisclosureResponse contains the information related to PrePayment disclosure. status : indicates the status of response. If Status = RTR then it means that this is RTR transaction. If Status = NON_RTR then it means that this is non RTR transaction. If Status = MISSING_RECEIVER_COUNTRY_INFORMATION then it means the Receiver country information is not found in PayPal database. So merchant has to call the API again with same set of parameter along with Receiver country code.This is useful in case of Unilateral scenario. where receiver is not holding paypal account. This is currently a place holder to support backward compatibility since first name and last name are mandated too. feePayer:Indicates who has agreed to Pay a Fee for the RTR transaction. Merchant can use this information to decide who actually has to pay the fee . senderDisclosure : This Variable Holds the disclosure related to sender. receiverDisclosureList : This list contains the disclosure information related to receivers. Merchant can just parse the details what ever is avaliable in the response and display the same to user.
1191
1203
  class GetPrePaymentDisclosureResponse < DataType
1192
1204
  def self.load_members
1193
1205
  include ResponseStatus
@@ -5,7 +5,7 @@ module PayPal::SDK
5
5
  module AdaptivePayments
6
6
 
7
7
  # Service Version
8
- SERVICE_VERSION = "1.8.6"
8
+ SERVICE_VERSION = "1.8.7"
9
9
  # Service Name
10
10
  SERVICE_NAME = "AdaptivePayments"
11
11
 
@@ -1,7 +1,7 @@
1
1
  module PayPal
2
2
  module SDK
3
3
  module AdaptivePayments
4
- VERSION = "1.110.0"
4
+ VERSION = "1.117.0"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,29 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: paypal-sdk-adaptivepayments
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.110.0
4
+ version: 1.117.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - PayPal
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-03-05 00:00:00.000000000 Z
11
+ date: 2014-08-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: paypal-sdk-core
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 0.2.3
19
+ version: 0.3.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 0.2.3
26
+ version: 0.3.0
27
27
  description: The PayPal Adaptive Payments SDK provides Ruby APIs to create, process
28
28
  and manage simple and complex (parallel and chained) payments, and pre-approvals
29
29
  using the Adaptive Payments API.
@@ -33,21 +33,21 @@ executables: []
33
33
  extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
- - spec/adaptive_payments_examples_spec.rb
37
- - spec/config/cert_key.pem
38
- - spec/config/paypal.yml
39
- - spec/convert_currency_spec.rb
40
- - spec/spec_helper.rb
36
+ - Gemfile
37
+ - README.md
38
+ - Rakefile
39
+ - lib/paypal-sdk-adaptivepayments.rb
40
+ - lib/paypal-sdk/adaptive_payments.rb
41
41
  - lib/paypal-sdk/adaptive_payments/api.rb
42
42
  - lib/paypal-sdk/adaptive_payments/data_types.rb
43
43
  - lib/paypal-sdk/adaptive_payments/services.rb
44
44
  - lib/paypal-sdk/adaptive_payments/urls.rb
45
45
  - lib/paypal-sdk/adaptive_payments/version.rb
46
- - lib/paypal-sdk/adaptive_payments.rb
47
- - lib/paypal-sdk-adaptivepayments.rb
48
- - Rakefile
49
- - README.md
50
- - Gemfile
46
+ - spec/adaptive_payments_examples_spec.rb
47
+ - spec/config/cert_key.pem
48
+ - spec/config/paypal.yml
49
+ - spec/convert_currency_spec.rb
50
+ - spec/spec_helper.rb
51
51
  homepage: https://developer.paypal.com
52
52
  licenses: []
53
53
  metadata: {}
@@ -57,17 +57,17 @@ require_paths:
57
57
  - lib
58
58
  required_ruby_version: !ruby/object:Gem::Requirement
59
59
  requirements:
60
- - - '>='
60
+ - - ">="
61
61
  - !ruby/object:Gem::Version
62
62
  version: '0'
63
63
  required_rubygems_version: !ruby/object:Gem::Requirement
64
64
  requirements:
65
- - - '>='
65
+ - - ">="
66
66
  - !ruby/object:Gem::Version
67
67
  version: '0'
68
68
  requirements: []
69
69
  rubyforge_project:
70
- rubygems_version: 2.0.3
70
+ rubygems_version: 2.4.1
71
71
  signing_key:
72
72
  specification_version: 4
73
73
  summary: PayPal Adaptive Payments SDK