paypal-sdk-buttonmanager 1.98.0 → 1.98.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,15 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ MTVkOWUwM2FhNjU0M2JiM2NmYTRhYTgyZDNkNGU3MDc5MzUwYmY5Zg==
5
+ data.tar.gz: !binary |-
6
+ MDdhNjk2Mjc3MzZlZGE5MmI3ZjEwZTVjMGQwYTkyY2ExOWQxMmVhMA==
7
+ !binary "U0hBNTEy":
8
+ metadata.gz: !binary |-
9
+ Y2VjZDgxZjIxNzQ2MDRkN2VkM2M1MGQ1N2JjYjkzODk2MDE1NzNiY2ZlNzNl
10
+ MmYzNzBiYjE1Mzk3NjA1MmRhNDk2ZTE3YWI5ZmU3ZjQ1NzU0MWU2YzM5YzY0
11
+ MjI2MDMxMGY4MzViZjdkMDg4MmUxZGM3MTVhMGIxMGY5ZTlmOTc=
12
+ data.tar.gz: !binary |-
13
+ YWM5NDFiMDQ3NTJlMzlkZTcwN2JlZGRhYWZhNGIxOGU3ZGVhMTc5Y2M0Njhm
14
+ ZGIyNTFmN2NmMTRkYmVmYjQxN2YxMmVkMWExMDQ5MGI3MTI5YTcwOGQwNWJm
15
+ MDBkYzg4ZmQwNDBkMTRjNzg3NmU0N2JlMDBmNWM5YjBhYTAyYTc=
data/Gemfile CHANGED
@@ -4,7 +4,7 @@ gemspec
4
4
 
5
5
  gem 'paypal-sdk-core', :git => "https://github.com/paypal/sdk-core-ruby.git"
6
6
 
7
- if Dir.exist? File.expand_path('../samples', __FILE__)
7
+ if File.exist? File.expand_path('../samples/button_manager_samples.gemspec', __FILE__)
8
8
  gem 'button_manager_samples', :path => 'samples', :require => false
9
9
  group :test do
10
10
  gem 'rspec-rails', :require => false
data/README.md CHANGED
@@ -123,16 +123,21 @@ To get response status:
123
123
 
124
124
  ```ruby
125
125
  require 'paypal-sdk-buttonmanager'
126
- @api = PayPal::SDK::ButtonManager::API.new
126
+ @api = PayPal::SDK::ButtonManager::API.new(
127
+ :mode => "sandbox", # Set "live" for production
128
+ :app_id => "APP-80W284485P519543T",
129
+ :username => "jb-us-seller_api1.paypal.com",
130
+ :password => "WX4WTU3S8MY44S7F",
131
+ :signature => "AFcWxV21C7fd0v3bYYYRCpSSRl31A7yDhhsPUU2XhtMoZXsWHFxu-RWy" )
127
132
 
128
133
  # Build request object
129
- @bm_create_button_request = @api.build_bm_create_button()
130
- @bm_create_button_request.ButtonType = "BUYNOW"
131
- @bm_create_button_request.ButtonCode = "HOSTED"
132
- @bm_create_button_request.ButtonVar = ["item_name=Item","amount=5","return=http//localhost:3000"]
134
+ @bm_create_button = @api.build_bm_create_button({
135
+ :ButtonType => "BUYNOW",
136
+ :ButtonCode => "HOSTED",
137
+ :ButtonVar => ["item_name=Testing","amount=5","return=http://localhost:3000/samples/button_manager/bm_create_button","notify_url=http://localhost:3000/samples/button_manager/ipn_notify"] })
133
138
 
134
139
  # Make API call & get response
135
- @bm_create_button_response = @api.bm_create_button(@bm_create_button_request)
140
+ @bm_create_button_response = @api.bm_create_button(@bm_create_button)
136
141
 
137
142
  # Access Response
138
143
  @bm_create_button_response.Timestamp
@@ -1,7 +1,7 @@
1
1
  module PayPal
2
2
  module SDK
3
3
  module ButtonManager
4
- VERSION = "1.98.0"
4
+ VERSION = "1.98.1"
5
5
  end
6
6
  end
7
7
  end
@@ -5,8 +5,7 @@ test: &default
5
5
  app_id: APP-80W284485P519543T
6
6
  http_timeout: 30
7
7
  mode: sandbox
8
- redirect_url: "https://www.sandbox.paypal.com/webscr&cmd="
9
- dev_central_url: "https://developer.paypal.com"
8
+
10
9
  development:
11
10
  <<: *default
12
11
 
metadata CHANGED
@@ -1,32 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: paypal-sdk-buttonmanager
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.98.0
5
- prerelease:
4
+ version: 1.98.1
6
5
  platform: ruby
7
6
  authors:
8
7
  - PayPal
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-02-06 00:00:00.000000000 Z
11
+ date: 2013-03-12 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: paypal-sdk-core
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
17
  - - ~>
20
18
  - !ruby/object:Gem::Version
21
- version: 0.1.2
19
+ version: 0.2.0
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
24
  - - ~>
28
25
  - !ruby/object:Gem::Version
29
- version: 0.1.2
26
+ version: 0.2.0
30
27
  description: The PayPal Button Manager SDK provides Ruby APIs to create, and manage
31
28
  PayPal Payments Standard buttons programmatically.
32
29
  email:
@@ -48,35 +45,28 @@ files:
48
45
  - Rakefile
49
46
  - README.md
50
47
  - Gemfile
51
- homepage: https://www.x.com/
48
+ homepage: https://developer.paypal.com
52
49
  licenses: []
50
+ metadata: {}
53
51
  post_install_message:
54
52
  rdoc_options: []
55
53
  require_paths:
56
54
  - lib
57
55
  required_ruby_version: !ruby/object:Gem::Requirement
58
- none: false
59
56
  requirements:
60
57
  - - ! '>='
61
58
  - !ruby/object:Gem::Version
62
59
  version: '0'
63
- segments:
64
- - 0
65
- hash: -700232081
66
60
  required_rubygems_version: !ruby/object:Gem::Requirement
67
- none: false
68
61
  requirements:
69
62
  - - ! '>='
70
63
  - !ruby/object:Gem::Version
71
64
  version: '0'
72
- segments:
73
- - 0
74
- hash: -700232081
75
65
  requirements: []
76
66
  rubyforge_project:
77
- rubygems_version: 1.8.24
67
+ rubygems_version: 2.0.0
78
68
  signing_key:
79
- specification_version: 3
69
+ specification_version: 4
80
70
  summary: PayPal Button Manager SDK
81
71
  test_files:
82
72
  - spec/button_manager_spec.rb