active_paypal_adaptive_payment 0.3.6 → 0.3.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -83,6 +83,11 @@ module ActiveMerchant #:nodoc:
83
83
  params['transaction[0].invoiceId']
84
84
  end
85
85
 
86
+ # This is the amount which you passed to paypal
87
+ def amount
88
+ params['transaction[0].amount']
89
+ end
90
+
86
91
  # Was this a test transaction?
87
92
  def test?
88
93
  params['test_ipn'] == '1'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_paypal_adaptive_payment
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.6
4
+ version: 0.3.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-11-23 00:00:00.000000000Z
12
+ date: 2012-01-22 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activemerchant
16
- requirement: &80394670 !ruby/object:Gem::Requirement
16
+ requirement: &85319800 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 1.5.1
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *80394670
24
+ version_requirements: *85319800
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: multi_json
27
- requirement: &80394430 !ruby/object:Gem::Requirement
27
+ requirement: &85319560 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: 1.0.0
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *80394430
35
+ version_requirements: *85319560
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: hashie
38
- requirement: &80394190 !ruby/object:Gem::Requirement
38
+ requirement: &85319310 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: 1.2.0
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *80394190
46
+ version_requirements: *85319310
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: money
49
- requirement: &80393950 !ruby/object:Gem::Requirement
49
+ requirement: &85319050 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ! '>='
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: 3.6.0
55
55
  type: :runtime
56
56
  prerelease: false
57
- version_requirements: *80393950
57
+ version_requirements: *85319050
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: mocha
60
- requirement: &80393710 !ruby/object:Gem::Requirement
60
+ requirement: &85318790 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ! '>='
@@ -65,7 +65,7 @@ dependencies:
65
65
  version: 0.10.0
66
66
  type: :runtime
67
67
  prerelease: false
68
- version_requirements: *80393710
68
+ version_requirements: *85318790
69
69
  description: ! ' This library is meant to interface with PayPal''s Adaptive Payment
70
70
  Gateway.
71
71
 
@@ -76,16 +76,16 @@ executables: []
76
76
  extensions: []
77
77
  extra_rdoc_files: []
78
78
  files:
79
- - lib/active_merchant/billing/integrations/paypal_adaptive_payment/return.rb
80
- - lib/active_merchant/billing/integrations/paypal_adaptive_payment/notification.rb
81
- - lib/active_merchant/billing/integrations/paypal_adaptive_payment/helper.rb
82
- - lib/active_merchant/billing/integrations/paypal_adaptive_payment.rb
83
- - lib/active_merchant/billing/integrations/notification.rb
84
79
  - lib/active_merchant/billing/gateways/paypal_adaptive_payments/exceptions.rb
85
80
  - lib/active_merchant/billing/gateways/paypal_adaptive_payments/ext.rb
86
81
  - lib/active_merchant/billing/gateways/paypal_adaptive_payments/adaptive_payment_response.rb
87
- - lib/active_merchant/billing/gateways/paypal_adaptive_payment_common.rb
88
82
  - lib/active_merchant/billing/gateways/paypal_adaptive_payment.rb
83
+ - lib/active_merchant/billing/gateways/paypal_adaptive_payment_common.rb
84
+ - lib/active_merchant/billing/integrations/paypal_adaptive_payment.rb
85
+ - lib/active_merchant/billing/integrations/paypal_adaptive_payment/notification.rb
86
+ - lib/active_merchant/billing/integrations/paypal_adaptive_payment/return.rb
87
+ - lib/active_merchant/billing/integrations/paypal_adaptive_payment/helper.rb
88
+ - lib/active_merchant/billing/integrations/notification.rb
89
89
  - lib/active_paypal_adaptive_payment.rb
90
90
  - MIT-LICENSE
91
91
  - README.md